Re: Trouble with ant dependencies
Douglas Oliveira Mendes <[email protected]>
| Newsgroups | gmane.comp.web.httpunit.devel |
|---|---|
| Message-ID | <[email protected]> |
Russell Gold <[email protected]> escreveu: On May 29, 2006, at 7:07 AM, Douglas de Oliveira Mendes wrote: > Hi! I'm having trouble using the ant task "dependencies" you > guys wrote. The thing is, I set the "ant.dependencies.cache" > property but it stills use the default location. Is there any trick > here? Can you send me a small sample of how you have defined your dependencies and the property? Something that I can try myself? I created a file "repository.properties" with this content (I tried with \\ instead of / too): ant.dependencies.cache=D:/maven/maven-2.0.4/repository At the build.xml file I have this: <property file="repository.properties" /> And this: <typedef resource="dependencies.properties" /> <dependencies pathId="build.classpath" verbose="true" > <dependency group="servletapi" version="2.4" /> <dependency group="junit" version="3.8.1" /> </dependencies> --------------------------------- Abra sua conta no Yahoo! Mail - 1GB de espaço, alertas de e-mail no celular e anti-spam realmente eficaz.