On Mon, 2002-08-19 at 20:11, James CE Johnson wrote:
> Hey all...
> 
> First, it looks like ~/build.properties doesn't override 
> project.properties any more even though I have
> 
>   <!-- Allow any user specific values to override the defaults -->
>   <property file="${user.home}/build.properties" />
>   <!-- Allow user defaults for this project -->
>   <property file="build.properties" />
>   <!-- Set default values for the build -->
>   <property file="default.properties" />

Currently we process properties like this:

$PROJECT/build.properties
$HOME/build.properties
$PROJECT/project.properties
--system properties--

And the last definition wins.

But it will be changed to:
 
$PROJECT/project.properties
$PROJECT/build.properties
$HOME/build.properties

So the project can set defaults, then you can override the those with a
local build.properties, and those in turn can be overridden by values in
your ~/build.properties. So your ~/build.properties will get the final
say and you will not need to explicitly import any properties using Ant.

I will add this to the beta-6 release I'm working on now as this is how
the properties should be processed.

> in my maven.xml file.
> 
> 
> Second, what happened to maven.dependency.set? We have a post-compile 
> action (converting it to a goal thingy now) that sets up an exploded 
> warfile in /tmp/webapps/myapp.war for jetty to play with. We need to 
> copy the list of jars on which the app is dependent and were using 
> maven.dependency.set for that. Is there a better way now?

<deploy:copy-deps todir="/path"/>

Will do the trick for you.

Note, you have to add the xmlns:deploy="deploy" namespace thingy to your
maven.xml file.

> Thanks,
> J
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- 
jvz.

Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org

In short, man creates for himself a new religion of a rational
and technical order to justify his work and to be justified in it.
  
  -- Jacques Ellul, The Technological Society


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

Reply via email to