ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: How to figure out what is in my class path?
Date Thu, 27 Nov 2008 07:18:41 GMT
dave.alvarado wrote:
> Hi David, 
> 
>   <target name="check-junit" unless="isJUnitAvailable">
> <fail>DEBUG: project.class.path.property =
> "${project.class.path}"</fail>
>     <fail message="Failed: JUnit not in classpath"/>
>   </target>
> 
> I followed your suggestion, only I put the FAIL statement in the target being executed
...
> 
> but what is printed out on the screen is
> 
> /export/third-party/etsbea/staging/wls_9.2.2/CedarPoint_Service/ant-common-checks.xml:41:
DEBUG: project.class.path.property =
> "${project.class.path}"
> 
> Am I using the right syntax for printing this out?  Why isn't evaluating what is in the
{}'s?
> 
> Thanks, - Dave

Hi Dave, in the other reply, David has shown techniques to print paths.

Here is another way:
<echo message="project.class.path=${toString:project.class.path}"/>

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message