I do:
<ivy:retrieve
pattern="${basedir}/dependencies/[module]/[type]/[artifact].[ext]"
ivypattern="${basedir}/dependencies/[module]/[type]/[artifact].[ext]"/>
---
Shawn Castrianni
-----Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Ylan Segal
Sent: Tuesday, March 04, 2008 12:20 PM
To: [EMAIL PROTECTED]
Subject: Newbie -- how to set ivy.lib.dir
Hi everyone,
I am just starting out with ivy, and tried searching in the archive and
docs, but can't find a solution to my seemingly simple problem.
I want to direct the copying of jars from <ivy:retrieve> to a specific
directory, instead of the default ivy.lib.dir. For example:
<ivy:retrieve sync="true"
pattern="${ivy.lib.dir}/[artifact]-[revision].[ext]"/>
copies the jars into the lib directory as expected. However using:
<ivy:retrieve sync="true" pattern="test/[artifact]-[revision].[ext]"/>
does not copy the jars, even thought the output from ivy says it did. It
seems that the pattern *has* to start with ${ivy.lib.dir} for it to
work. Is this the case?
Also, I tried setting ivy.lib.dir in the build.xml file (first thing in
the file) to a different value. Doing that results in no files being
copied either.
What am I missing? I just want <ivy:retrive> to copy the files to a
specific directory!
Thanks,
--
Ylan.
----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and
privileged information for the sole use of the intended recipient. Any review,
use, distribution, or disclosure by others is strictly prohibited. If you are
not the intended recipient (or authorized to receive information for the
intended recipient), please contact the sender by reply e-mail and delete all
copies of this message.