DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34462>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34462

           Summary: Move optional jar files to a separate directory.
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Having worked with ant for several years and versions, and reading the FAQs it 
seems that the optional.jar as well as its broken out form have caused a 
number of problems. Wouldn't it simply life for everyone if the optional tasks 
were simply distributed in a different directory and therefore not loaded with 
the system classloader at ANT startup? It is a real pain to work with ANT on a 
development system where mere developers aren't allowed to monkey 
with "system" software. In an attempt to create some ANT scripts for a 
project, I had to get the admins to modify the global profile information so 
that I could use JDepend and JUnit. It shouldn't be that hard to use such 
fundamental tools with ANT.

If the optional jars were in a separate directory, then it would be a simple 
matter of an antlib taskdef that would load the task information and the 
dependent jar at the same time. This solves several problems that have 
required a number of email messages on the mailing list and a FAQ question or 
two.
* Optional jars aren't loaded unless they are needed.
* Instructions are consistent for the optional jars and 3rd party ANT tasks 
making it far simpler to understand.
* Class loader problems are eliminated because the task code is not loaded at 
ANT startup.
* It doesn't require system administrator privileges to use JUnit and JDepend 
type tasks in a shared development environment.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to