ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Schewe <>
Subject convert classpath to variable?
Date Tue, 07 May 2002 19:57:19 GMT
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 I've
got an application, jtest, that doesn't have a task definition for it, so I'm
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 ant
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: <>

View raw message