Hi Alexander,
I have the same problems with Torque.properties, log4j.properties and spy.properties.
I keep a folder for each set of configuration files for each build mode. To determine
the build mode I pass a 'maven.build.mode' for building all project but I'm not using
the reactor (yet)
Cheers,
Siegfried Goeschl
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Montag, 28. Juni 2004 14:09
To: [EMAIL PROTECTED]
Subject: config files dependencies
Hi!
I need some advice. I need to copy config file from one subproect to another. I know
one way to solve this problem. I can spesify this cofig files as resourses in one
subproject and spesify the second subproject as being dependent from the first one.
But I have two problems:
1. This config files have to be unjared. (P6SpyDriver wants its config file -
spy.properties - not to be in jar)
2. To test the second subprojct I need to use testing version of the config files from
the first one.
I'm going to copy config files and their testing versions from the first subproject to
the second one:
<maven:reactor
basedir="${basedir}/.."
includes="firstProject/project.xml"
goals="test:test-resources"
postProcessing="true"
/>
<ant:copy todir="${maven.test.dest}">
<fileset dir="${reactorProjects.get(0).context.getVariable('maven.test.dest')}">
<include name=spy.properties"/>
<include name="OJB*.*"/>
</fileset>
<ant:copy>
<>Would it be the right desision?
--
Maksimenko Alexander
Softwarium, www.softwarium.net