> <import-classpath dir="../lib"/>
> 
> And then run javac like:
> 
> <javac classpath="${CLASSPATH}
> 
> The ImportClasspath taskdef would read all .jar files form 
> the given directory
> and add them to the classpath.


Why not do this (classpath example taken straight from the Ant Manual)?:

  <classpath>
    <fileset dir="lib">
      <includes name="**/*.jar" />
    </filest>
  </classpath>


Wrap a javac task around that, and away you go.

Robert.

-- 
                 "Software is too expensive to build cheaply"
  Robert Watkins           Software Engineer           QSI Payments Inc.
  [EMAIL PROTECTED]                 [EMAIL PROTECTED]
 

Reply via email to