I don't have a solution to your problem. But I had similar problems.
I played a bit with property settings recently. All my duplications in
my projects are in properties files. I couldn't find a way to load
properties from a master project.properties file.
I tried to load the properties in maven.xml:

<project default="site"
  xmlns:ant="jelly:ant">
  <ant:property file="${basedir}/../../master/project.properties"/>
</project>

However, this project didn't recognize the properties from my master
file. I'd be happy, if someone has a solution for that.


Dominik


On Wed, 2003-09-17 at 15:15, khote wrote:
> I understant an important difference in the way maven and ant handle
> property settings is first-set vs last-set.
> when I'm in a child project that wants to inherit from the parent in this
> manner:
> 
>   <property file="../project.properties"/>
>   <property file="../build.properties"/>
> 
> It's not always convenient to use the parent reactor to execute in child
> projects, so I can't always count on those settings existing, particularly
> directory settings in the build.properties for local system information.
> 
> Which way is it being done, maven or ant?  If ant, is there a way to get it
> done last-set?
> 
> -----------------------------------------------------------
> "Trying is the first step towards failure." -- Homer Simpson
> 
> kevinHagel
> http://hagelnx.com
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to