Hi,

In my project, I use Jar that aren't on ibiblio. That's why I create a private repository in the project directory. I tried to generate ant build.xml, and I get :
[...]
<target name="get-deps" depends="test-offline" description="Download all dependencies" unless="maven.mode.offline">
   <mkdir dir="${maven.repo.local}"/>
<get src="file:D:\jhenry\myProject/private-repository/htmlunit/htmlunit/1.9-prerelease/htmlunit-1.9-prerelease.jar" dest="${maven.repo.local}/htmlunit/htmlunit/1.9-prerelease/htmlunit-1.9-prerelease.jar" usetimestamp="true" ignoreerrors="true"/> <get src="http://repo1.maven.org/maven2/htmlunit/htmlunit/1.9-prerelease/htmlunit-1.9-prerelease.jar"; dest="${maven.repo.local}/htmlunit/htmlunit/1.9-prerelease/htmlunit-1.9-prerelease.jar" usetimestamp="true" ignoreerrors="true"/>
[...]

I think that paths should be relative and not absolute. Because D:\jhenry\myProject will not stay the same if someone else download my project.

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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

Reply via email to