Hi, I'm an Ant newbie and I'm having problems creating
a path correctly to use for the classpath with javac.
the src/Lib directory contains several jar and zip
files that i'm trying to add with <fileset>.  however
when I check the value of lib.path with using <echo>,
it only contains the basedir and src/Lib/a.jar.  What
am I doing wrong?  By the way, I'm running this on a
Linux machine but I couldn't get it to work on Win2000
either.  Here's my sample code:

   <path id="lib.path">
      <pathelement path="."/>
       <fileset dir="src/Lib">
           <include name="*.jar,*.zip, "/>
       </fileset>
       pathelement location="src/Lib/a.jar"/>
   </path>

   <target name="compile" depends="download">
      <javac srcdir="${src}" destdir="${build}">
           <classpath refid="lib.path"/>
      </javac>
  </target>


Thanks for any help!

AR

__________________________________________________
Do You Yahoo!?
Yahoo! Greetings - Send FREE e-cards for every occasion!
http://greetings.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to