ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msew <m...@ev1.net>
Subject Re: echo me this
Date Fri, 02 Feb 2001 03:07:36 GMT
At 09:20 02/01/2001 -0500, Glenn McAllister wrote:
>msew wrote:
>
> > 2) echo out any variable?   <echo message = "$(foo)" />   always seems to
> > just echo out the (foo) and not the actual variable    (I am probably doing
> > something incorrect but I have no idea what)
>
><echo message="${foo}" />
>
>Different brackets.
>
>Glenn McAllister

so
I have:

<!-- this file will list out all of the various classpaths for .jars and 
.class -->

     <path id="baseClasspath">

       <pathelement path="${classpath}" />
       <pathelement location="\dev\ms\classes\" />

<!-- this will include ALL of the .jar files in the lib dir -->
       <fileset dir="c:\dev\ms\lib">
         <include name="**/*.jar" />
       </fileset>

<!-- this will include ALL of the .jar files in the deploy dir -->
       <fileset dir="c:\dev\ms\deploy">
         <include name="**/*.jar" />
       </fileset>

<!-- this will include ALL of the .dar files in the deploy dir -->
       <fileset dir="c:\dev\ms\deploy">
         <include name="**/*.dar" />
       </fileset>

     </path>



what do I need to do to print out that classpath? :-)


i tried various combinations of:


               <echo message="${classpath}" />
               <echo message="${baseClasspath}" />


none seem to get the variable  and the variable is being set as the javac

   <javac srcdir="${src}" destdir="${classes}" classpathref="baseClasspath">


is working fine



Mime
View raw message