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 Message-----
From: Joel Cordonnier [mailto:[EMAIL PROTECTED]]
Sent: 14 November 2001 14:24
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: central definition of classpath, please HELP !!!


Hi !

I really need help.

I have and Ant script called build.xml (main script),
that call other scripts **.xml.

In the main script are Ant's PATH defined, and then,
in my compile, javadoc...and other tasks, i refer to
the PATHs with the statement <classpath
refid="......"/>

I HAVE THE FOLLOWING PROBLEM:

the 'other' script that build.xml call CAN'T refer to
the PATHs defined in build.xml !! WHY ????

Thanks for the help.
/Joel

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Courrier : http://courrier.yahoo.fr

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


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

Reply via email to