ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gerhard" <AGerh...@E-SyncNet.Com>
Subject RE: include confusion...
Date Wed, 01 Nov 2000 22:47:46 GMT
doc's outdated ??

try this 
 <include name="1234.java 5678.java" />

instead of
 <include name="1234.java,5678.java" />


noticed myself (antv1.1) that the spaces work better than the commas :-)

  -----Original Message-----
  From: james@livemedia.com [mailto:james@livemedia.com]
  Sent: Wednesday, November 01, 2000 5:29 PM
  To: ant-user@jakarta.apache.org
  Subject: include confusion...


  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