Guys thanx for your help. so I wrote a .sh script to generate build.properties with my depency list. Every line looks like
somedep.jar=/source/to/jar/somedep.jar unfortuneately when I run maven ant, it still sets src to http://www.ibiblio.org/maven/springf ramework/jars/spring-1.1.5.jar (this is in the section with all the get dest statements. remember, im using linux, with the latest stable version of maven and the latest ant plugin. --- Arnaud HERITIER <[EMAIL PROTECTED]> wrote: > > > > 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] > > ______________________________________________________ Click here to donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]