> Thanx for the quick reply.  Yes, I am using 1.0.2.  I shoudl 
> be able to specify maven.ant.use.properties int the 
> project.properties file, correct?
yes

> 
> Also, the doc on the website says this is supposed to be the 
> default behavior.  Furthermore,that commandline doesnt 
> produce the desired result.
:-(

> 
> We have a picky client who doesnt want deps downloaded.  
> Otherwise we wouldnt be modifying the properties. ;)

you can try to define a property for each dependency
For example if you depends on commons-collections you can store the jar in a 
lib directory in your project and in your
build.properties you set the following property (if it works :-( ) :
commons-collection.jar=${basedir}/lib/commons-collections-3.0.jar

But it will not resolve the problem with the libdir property :-(

Arnaud

It's the time to go to bed : I'll not be able to help you more tonight.

> 
> mike
> 
> 
> 
> --- Arnaud HERITIER <[EMAIL PROTECTED]> wrote:
> 
> > You are using maven 1.0.2 ?
> > 
> > "maven ant -Dmaven.ant.use.properties=true" should create the 
> > build.xml in your project's root directory.
> > 
> > Then in your build.properties (stored in your project's 
> root dir or in 
> > your user's home dir) you should set the properties for the 
> script :-(
> > 
> > Arnaud
> > 
> > > 
> > > Hi all
> > > 
> > > Im trying to produce an ant build.xml that works. 
> > I put a
> > > build.properties file in my project base dir that
> > specifies
> > > 
> > > libdir=somedir
> > > 
> > > but when I do maven ant, the libdir is not set to
> > my
> > > specification.   I have tried moving the
> > > build.properties file to my home dir, and I have
> > tried
> > > setting the maven.ant.use.properties=true (even
> > though this
> > > is the default).
> > > 
> > > When I run with the -X option, the output
> > indicates that the
> > > file is being used, however this is not backed up
> > by what I
> > > see in the resulting build.xml.
> > > 
> > > Please advise.
> > > 
> > > Thank you.
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> > protection
> > > around http://mail.yahoo.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]
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection 
> around http://mail.yahoo.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