ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: How to print out a <path > structure
Date Mon, 10 Nov 2003 07:54:55 GMT
> 	I'd like to know which jar files are available for my 
> ant tasks. This is a snippet of the script
> 
>     <path id="project.class.path">
>         <pathelement path="${env.CLASSPATH}"/>
>         <fileset dir="${lib}">
>             <include name="**/*.jar"/>
>             <include name="**/*.zip"/>
>         </fileset>
>         <fileset dir="${env.ANT_HOME}/lib">
>             <include name="**/*.jar"/>
>             <include name="**/*.zip"/>
>         </fileset>
>         <pathelement location="src"/>
>     </path>
> 
> 	I want to know which jar & zip files I can reach within 
> an ant task, bcoz I want to implement a new task and I drop 
> the jar file in $ANT_HOME/lib, but it seems I cannot 
> implement a task within the jar file.


You can print out a path with <pathconvert> and <echo>.

Have you <taskdef>ed your new task?
Maybe the tutorial in the Manual will help you
http://ant.apache.org/manual-1.6beta/tutorial-writing-tasks.html


Jan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message