ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: Ivy copying javadoc file to lib dir rather than actual java file
Date Sat, 04 Oct 2008 21:05:40 GMT
Hi Sean,

thank you for your feedback.
I've committed a fix into SVN trunk which will solve your problem.

So you could one of the following:
- build a new ivy.jar from SVN trunk (or donload snapshot version from http://teamcity.jetbrains.com/viewLog.html?&buildTypeId=bt125&buildId=lastSuccessful)
- change <ivy:retrieve /> to <ivy:retrieve pattern="${ivy.lib.dir}/[artifact]-[revision](-[classifier]).[ext]"
/> in your build.xml

Maarten





----- Original Message ----
From: seanblaes <sean.blaes@hifiit.com>
To: ivy-user@ant.apache.org
Sent: Saturday, October 4, 2008 7:46:07 AM
Subject: Ivy copying javadoc file to lib dir rather than actual java file


I'm running 2.0.0 RC1.

I'm attempting to go through the hello-ivy tuturial, but am getting an error
that the cli clases cannot be found.  I saw the jar was in my lib folder, so
I cracked it open.  It appears that the javadoc jar is getting copied into
my lib directory instead of the REAL jar file with the java classes in it. 
Following is some output from the verbose log setting that seems to confirm
my suspicion:


[ivy:retrieve]  retrieving
/Users/sblaes/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.0.jar
[ivy:retrieve]          to
/Users/sblaes/projects/ivyplay/apache-ivy-2.0.0-rc1/src/example/hello-ivy/lib/commons-logging-1.0.jar
[ivy:retrieve]  retrieving
/Users/sblaes/.ivy2/cache/commons-cli/commons-cli/javadocs/commons-cli-1.0-javadoc.jar
[ivy:retrieve]          to
/Users/sblaes/projects/ivyplay/apache-ivy-2.0.0-rc1/src/example/hello-ivy/lib/commons-cli-1.0.jar
[ivy:retrieve]  retrieving
/Users/sblaes/.ivy2/cache/commons-lang/commons-lang/javadocs/commons-lang-2.0-javadoc.jar
[ivy:retrieve]          to
/Users/sblaes/projects/ivyplay/apache-ivy-2.0.0-rc1/src/example/hello-ivy/lib/commons-lang-2.0.jar
-- 
View this message in context: http://www.nabble.com/Ivy-copying-javadoc-file-to-lib-dir-rather-than-actual-java-file-tp19809286p19809286.html
Sent from the ivy-user mailing list archive at Nabble.com.


      

Mime
View raw message