ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8722] New: - allow setting class path for optional tasks via build file
Date Thu, 02 May 2002 02:42:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8722>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8722

allow setting class path for optional tasks via build file

           Summary: allow setting class path for optional tasks via build
                    file
           Product: Ant
           Version: 1.4.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: dsb@smart.net


According to the Library Dependencies section of the Installing
Ant page of the Ant User Manual, there are two options for
providing external library Jar files to Ant:

- copying the Jar file to Ant's lib directory

- adding the Jar file's pathname to the system CLASSPATH environment
  variable before running Ant's wrapper script

(Apparently, one can also use $HOME/.antrc to set the CLASSPATH
environment for the wrapper script.)

None of these methods allow the user to define the class paths
for external libraries in or via the Ant build file.

Given that users can use properties to specify where to find Jar
files for libraries used by their applications, and can set
property values to select different versions of those libraries,
users might also want to use properties to specify the location
of libraries needed by optional tasks.

Maybe there should be some kind of task that lets the user
specify a class path that is used to look for classes needed
by optional tasks.

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message