You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2002/09/11 22:03:20 UTC

cvs commit: xml-axis/java/samples/attachments build.xml

dims        2002/09/11 13:03:20

  Modified:    java/samples/attachments build.xml
  Log:
  include/exclude with same files confuses ant.
  
  Revision  Changes    Path
  1.5       +0 -1      xml-axis/java/samples/attachments/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/attachments/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml	10 Sep 2002 16:06:50 -0000	1.4
  +++ build.xml	11 Sep 2002 20:03:20 -0000	1.5
  @@ -55,7 +55,6 @@
       <include name="samples/attachments/**/*.java"/>
       <exclude name="samples/**/*SMTP*.java" unless="smtp.present" />
       <exclude name="**/old/**/*.java" />
  -    <exclude name="samples/attachments/**/*.java" unless="attachments.present"/>
     </javac>
   </target>
   
  
  
  

Re: cvs commit: xml-axis/java/samples/attachments build.xml

Posted by Matt Seibert <ms...@us.ibm.com>.
Shouldn't the include be suffixed with a

if="attachments.present"

so that the logic of the unless is preserved?

Matt Seibert                                           mseibert@us.ibm.com
IBM        External:    (512) 838-3656      Internal:   678-3656

dims        2002/09/11 13:03:20

  Modified:    java/samples/attachments build.xml
  Log:
  include/exclude with same files confuses ant.

  Revision  Changes    Path
  1.5       +0 -1      xml-axis/java/samples/attachments/build.xml

  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/samples/attachments/build.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.xml          10 Sep 2002 16:06:50 -0000          1.4
  +++ build.xml          11 Sep 2002 20:03:20 -0000          1.5
  @@ -55,7 +55,6 @@
       <include name="samples/attachments/**/*.java"/>
       <exclude name="samples/**/*SMTP*.java" unless="smtp.present" />
       <exclude name="**/old/**/*.java" />
  -    <exclude name="samples/attachments/**/*.java"
unless="attachments.present"/>
     </javac>
   </target>