You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/07/13 11:34:51 UTC
[Bug 2611] New: - Automatic modification of standard classpath
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2611
*** shadow/2611 Fri Jul 13 02:34:50 2001
--- shadow/2611.tmp.1194 Fri Jul 13 02:34:50 2001
***************
*** 0 ****
--- 1,33 ----
+ +============================================================================+
+ | Automatic modification of standard classpath |
+ +----------------------------------------------------------------------------+
+ | Bug #: 2611 Product: Ant |
+ | Status: NEW Version: 1.3 |
+ | Resolution: Platform: Other |
+ | Severity: Enhancement OS/Version: Other |
+ | Priority: Other Component: Core |
+ +----------------------------------------------------------------------------+
+ | Assigned To: ant-dev@jakarta.apache.org |
+ | Reported By: boris@i3.informatik.rwth-aachen.de |
+ | CC list: Cc: |
+ +----------------------------------------------------------------------------+
+ | URL: |
+ +============================================================================+
+ | DESCRIPTION |
+ I tended to define only a minimal classpath in my shell and let the Ant build file
+ find the rest of the libraries. This done by the following construct:
+
+ <path id="classpath">
+ <pathelement path="${java.class.path}" />
+ <fileset dir="lib">
+ <patternset refid="required.libraries" />
+ </fileset>
+ </path>
+
+ As a consequence I have to specify the classpath in every task that requires
+ one this not also very annoying but also makes it easier to make errors in the
+ build file.
+
+ Would it possible to define a task which automatically modifies the classpath
+ for all other tasks or to modify the standard classpath automatically if a path
+ with a certain id is modified?
Re: [Bug 2611] New: - Automatic modification of standard classpath
Posted by Matthew Watson <ma...@i3sp.com>.
> + Would it possible to define a task which automatically modifies the classpath
> + for all other tasks or to modify the standard classpath automatically if a path
> + with a certain id is modified?
>
I have a task which does this as a subset of it's capabilities which I
will hopefully submit the doco for comment to this list later today (If
it gets accepted I have to put in a fair amount of work to set up the
test harnesses).
Matt