You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/01/18 18:51:30 UTC

DO NOT REPLY [Bug 47003] Add to ant lib classpath from within project file

https://issues.apache.org/bugzilla/show_bug.cgi?id=47003

--- Comment #3 from Jesse Glick <jg...@netbeans.org> 2010-01-18 09:51:27 UTC ---
My preference would be for fixes to particular tasks (such as bug #47002) to
ensure that any necessary libraries can be supplied using a regular <classpath>
element. Injecting JARs into the main Ant classpath has at least two
disadvantages:

1. It breaks modularity for large builds, parts of which may have different
expectations about library versions and so on.

2. It will likely not work when Ant is run in an embedded environment. In
particular, Main is not used at all when run from NetBeans and possibly other
containers.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.