ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tjeerd Verhagen" <>
Subject question about: Ivy option 'main'
Date Tue, 26 Jun 2007 14:55:50 GMT
When I would like to make use of Ivy as a classloader for an application
FooMain, which also depends on commons-lang,
it is nessesary that the class, is loaded through the
Ivy process? Or simpler said, that the class needs to ne in a 'jar' which is
loaded through the Ivy process?

java  org.apache.ivy.Main  -dependency apache commons-lang 2.1  -main


java  org.apache.ivy.Main  -main
with a ivy.xml (which contains the reference to apache commons-lang 2.1)

This class '', must be on the classpath loaded through

And not on the normal java classapth like:
java  -cp foo.jar  org.apache.ivy.Main  -dependency apache commons-lang 2.1

Regards, Tjeerd

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message