ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@livemedia.com
Subject include confusion...
Date Wed, 01 Nov 2000 22:29:12 GMT
in the docs, there is an example for javac that looks like:

    <javac destdir="${build}"
         classpath="xyz.jar"
         debug="on">
    <src path="${src}" />
    <src path="${src2}" />
    <include name="mypackage/p1/**,mypackage/p2/**" />
    <exclude name="mypackage/p1/testpackage/**" />
  </javac>

So why would this work:

<javac srcdir="${SRC}/${TESTS}/TestLifecycle" destdir="${test123}" >
   <include name="1234.java" />
   <include name="5678.java" />
   <classpath>
    <pathelement path="${SRC}" />
    <pathelement path="${test123}" />
    <pathelement location="${J2EE.JAR}" />
    <pathelement location="${JUNIT.JAR}" />
   </classpath>
  </javac>


ant not this?:

<javac srcdir="${SRC}/${TESTS}/TestLifecycle" destdir="${test123}" >
   <include name="1234.java,5678.java" />
   <classpath>
    <pathelement path="${SRC}" />
    <pathelement path="${test123}" />
    <pathelement location="${J2EE.JAR}" />
    <pathelement location="${JUNIT.JAR}" />
   </classpath>
  </javac>





thanks,
james@livemedia.com



Mime
View raw message