ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Omry Yadan" <>
Subject Classpath issues
Date Tue, 30 Nov 2004 12:53:04 GMT
I can specify the classpath of user tasks when I define them.
This makes the build more portable, because I can include the required
jars with it, and have a relative classpath in the taskdef.
Can I somehow do the same for system tasks with external dependencies?
Suppose I want to use the mail task which depends on mail.jar etc.
I do not want to put mail.jar in the ant lib path, because it means
anyone else who would want to use my build need to do the same.
I would rather add it to a lib directory under the build.xml directory,
and have the build.xml reference it, like it does with my user tasks.
Can it be done?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message