You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by "Clinton, Doug" <dc...@tanning.com> on 2000/11/15 11:45:02 UTC

[Patch] Exclude taskdefs/optional/FTP.java from build if oroinc n ot present



Index: build.xml
===================================================================
RCS file: /home/cvspublic/jakarta-ant/build.xml,v
retrieving revision 1.96
diff -p -r1.96 build.xml
*** build.xml	2000/11/08 17:00:07	1.96
--- build.xml	2000/11/15 09:40:37
***************
*** 72,77 ****
--- 72,78 ----
      <available property="starteam.present"
classname="com.starbase.util.Platform" />
      <available property="antlr.present" classname="antlr.Tool" />
      <available property="vaj.present"
classname="com.ibm.ivj.util.base.Workspace" />
+     <available property="oroinc.present"
classname="com.oroinc.net.ftp.FTPClient" />
    </target>
  
    <!-- ===================================================================
-->
***************
*** 110,115 ****
--- 111,117 ----
        <exclude name="**/AntStarTeam*.java" unless="starteam.present" />
        <exclude name="**/ANTLR.java" unless="antlr.present" />
        <exclude name="**/ide/VAJ*.java" unless="vaj.present" />
+       <exclude name="**/optional/FTP.java" unless="oroinc.present" />
      </javac>
   
      <copy todir="${build.classes}">

Re: [Patch] Exclude taskdefs/optional/FTP.java from build if oroinc n ot present

Posted by Stefan Bodewig <bo...@bost.de>.
Doug,

the FTP task is now in **/optional/net/FTP.java, the one in optional
has been removed from CVS. And it will already be left out unless you
have NetComponents installed on your machine.

Stefan