Closed GoogleCodeExporter closed 9 years ago
I should add that leaving the -Ddownload-xalan=true off the command and ensuring
xalan is on my classpath means it works, so the problem is only in the download
of xalan.
Original comment by roger.parkinson35
on 27 Feb 2010 at 8:30
I cannot repeat this problem.
I think somehow your ivy cache got poisoned with an untransformed ivy.xml. All
ivy.xml files under repo/modules have version attributes; only the ones under
src/modules don't, and these latter files are not used during the xalan
download step.
Try this: rm -rf ~/.ivy2/cache and then see if you can repeat the problem.
Original comment by archie.c...@gmail.com
on 1 Mar 2010 at 5:42
I retried this after clearing the cache (deleted both cache and packager
directories
in ~/.ivy2). I still get an error but it is a different one. The log is
attached.
Thanks
R
Original comment by roger.parkinson35
on 2 Mar 2010 at 9:03
Attachments:
Something else is wrong now. Your log shows a SHA1 checksum failure.
I downloaded
http://archive.apache.org/dist/xml/xalan-j/xalan-j_2_7_1-bin-2jars.tar.gz
manually
and verified that the checksum in packager.xml is correct:
cb9c988b1a93c008e924551cbe144b2bc62c3f2e.
What checksum do you get for the file
/home/roger/.ivy2/packager/cache/xalan-j_2_7_1-bin-2jars.tar.gz ? If it's
different,
then your download was corrupted somehow (you will have to investigate why).
Original comment by archie.c...@gmail.com
on 2 Mar 2010 at 9:11
I think we should call this a local problem at my end.
If you don't reproduce it and I don't need the feature we probably have better
things
to do.
Thanks for looking at it. I'm happy to close it.
R
Original comment by roger.parkinson35
on 3 Mar 2010 at 6:06
Sounds good. Feel free to reopen the bug if you discover a legit problem.
Original comment by archie.c...@gmail.com
on 3 Mar 2010 at 4:41
The first problem (original bug description) can be consistently reproduced as
follows:
checkout the current version:
svn checkout http://ivyroundup.googlecode.com/svn/trunk/ ivyroundup-read-only
try to generate the repo without xalan in the classpath:
cd ivyroundup-read-only/
ant -Divy.jar=..... repo
After failing because of the missing xalan JAR, try to use the downloaded JAR:
ant -Divy.jar=..... get-xalan repo
This command fails with the error message described in the bug report.
The problem can be fixed via deleting the repo dir and updating it again from
subversion:
rm -r repo
svn update
Original comment by oliverbr...@googlemail.com
on 17 Aug 2010 at 6:20
Thanks, found the problem.
Fixed in r1283.
Original comment by archie.c...@gmail.com
on 17 Aug 2010 at 8:50
Original issue reported on code.google.com by
roger.parkinson35
on 27 Feb 2010 at 1:43