ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Problem with classpath
Date Thu, 09 Nov 2000 09:04:30 GMT
Diane Holt <> wrote:

> but, doesn't <path> check for the files' existence and only include
> those files that do exist?

Good point, so one would probably need to do something like this

<path id="myclasspath">
       <pathelement path="${Source.libdir}"/>
       <pathelement location="xerces-1.1.3.jar"/>
       <pathelement location="xalan_1_1_D01.jar"/>
       <pathelement location="castor.jar"/>
       <pathelement location="jaxp.jar"/>

<patternset id="jars">
   <include name="**/*.jar"/> <!-- assuming this is what Stefan intended -->

    <classpath refid="myclasspath" />
      <fileset dir="${Source.libdir}">
        <patternset refid="jars" />

I start to see that forcing filesets and paths to be defined outside
of targets might be a problem.


View raw message