Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
How to exclude a reference classpath included jar in classpath?

How to exclude a reference classpath included jar in classpath?

2005-06-01       - By Leon Pu

Hi all,

I want to exclude foo.jar in the classpath. But foo.jar is also included in run
.class.path. Is it possible to exclude foo jar?

Following build script doesn't work, just a reference?

<classpath>
<fileset excludesfile"../../lib/foo.jar" />
<path refid="run.class.path" />
</classpath>

Thanks!

Best regards,
Leon
   
---------------------------------
Discover Yahoo!
Get on-the-go sports scores, stock quotes, news & more. Check it out!

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.