I believe you need to use a property to do this.
classpath refid's will not be passed (as they are XML IDs and it is a
different XML file).
Not as powerful, but it will be passed to other scripts...
Maybe (big maybe) you could xml include other scripts using an ENTITY???
Alan.
-Original
hi!
maybe that helps!
path id=project.class.path
!-- for cruisecontrol junit tests --
fileset dir=./lib
include name=**/*.jar/
/fileset
/path
target name=compile
javac srcdir=./src
destdir=./classes
debug=on
verbose=off
Hi
OK ! BUT BUT suppose that your 'project.class.path' is
defined in a file A.xml, and that you have the target
'compile' defined in a file B.xml
And then, a target in A call the 'compile' target in
B.xml with the statement
target name= depends=
ant antfile=./B.xml dir=.
inherited and not path elements).
See the ant built in task for details.
Zak.
-Original Message-
From: Joel Cordonnier [mailto:[EMAIL PROTECTED]]
Sent: 14 November 2001 14:56
To: Ant Users List
Subject: Re: central definition of classpath, please HELP !!!
Hi
OK ! BUT BUT suppose
: Joel Cordonnier [mailto:[EMAIL PROTECTED]]
Sent: 14 November 2001 14:56
To: Ant Users List
Subject: Re: central definition of classpath, please HELP !!!
Hi
OK ! BUT BUT suppose that your 'project.class.path' is
defined in a file A.xml, and that you have the target
'compile' defined in a file
On Wed, 14 Nov 2001, Zak Saurin [EMAIL PROTECTED]
wrote:
I presume that the path elements do as well?
No they don't - nor do filesets, patternsets, mappers, filters or any
other data types.
This has been identified as a limitation, but fixing it would
probably break quite a few build