ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: convert classpath to variable?
Date Tue, 07 May 2002 20:02:20 GMT
See <property refid="base.classpath" />, or <pathconvert> special cases.

-----Original Message-----
From: Jon Schewe [] 
Sent: Tuesday, May 07, 2002 2:57 PM
Subject: convert classpath to variable?

I've got my classpath built up inside ant with a <path id="base.classpath">
statement.  This works great for javadoc, junit and java tasks.  However
got an application, jtest, that doesn't have a task definition for it, so
using the exec task and I need to pass a classpath to it, but want to avoid
coding the classpath in two places in the build file.  Is it possible for
to do this conversion for me, or do I need to write a task definition?

PS.  Yes I know that JTest ships with a task for ant, however it doesn't
expose all of the commandline options and doesn't do anything more than just
execing jtest from the commandline.
Jon Schewe |
For I am convinced that neither death nor life, neither angels 
nor demons, neither the present nor the future, nor any 
powers, neither height nor depth, nor anything else in all 
creation, will be able to separate us from the love of God that 
is in Christ Jesus our Lord. - Romans 8:38-39

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message