ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jose Alberto Fernandez <JFernan...@viquity.com>
Subject RE: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdef s/optional/perforce P4sync.java
Date Tue, 28 Nov 2000 21:54:56 GMT
Ok, can someone explain what does it mean to be optional?
I though that being optional meant that you needed to
do a <taskdef> in your project to use such task.

If we are putting the tast in the default list, why is it optional?

We need to get to 2.0 soon to stop the madness ;-)

Jose Alberto

> -----Original Message-----
> From: bodewig@locus.apache.org [mailto:bodewig@locus.apache.org]
> Sent: Tuesday, November 28, 2000 8:46 AM
> To: jakarta-ant-cvs@apache.org
> Subject: cvs commit:
> jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/perforce
> P4sync.java
> 
> 
> bodewig     00/11/28 08:45:40
> 
>   Modified:    .        build.xml
>                src/main/org/apache/tools/ant/taskdefs 
> defaults.properties
>   Removed:     
> src/main/org/apache/tools/ant/taskdefs/optional/perforce
>                         P4sync.java
>   Log:
>   New Perforce tasks.
>   
>   Submitted by:	Les Hughes <leslie.hughes@rubus.com>
>   
>   Revision  Changes    Path
>   1.102     +1 -0      jakarta-ant/build.xml
>   
>   Index: build.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-ant/build.xml,v
>   retrieving revision 1.101
>   retrieving revision 1.102
>   diff -u -r1.101 -r1.102
>   --- build.xml	2000/11/28 16:01:11	1.101
>   +++ build.xml	2000/11/28 16:45:38	1.102
>   @@ -117,6 +117,7 @@
>          <exclude name="**/ide/VAJ*.java" unless="vaj.present" />
>          <exclude name="**/JakartaRegexpMatcher.java" 
> unless="jakarta.regexp.present" />
>          <exclude name="**/JakartaOroMatcher.java" 
> unless="jakarta.oro.present" />
>   +      <exclude name="**/perforce/*.java" 
> unless="jakarta.oro.present" />
>        </javac>
>     
>        <copy todir="${build.classes}">
>   
>   
>   
>   1.56      +6 -1      
> jakarta-ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties
>   
>   Index: defaults.properties
>   ===================================================================
>   RCS file: 
> /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/d
> efaults.properties,v
>   retrieving revision 1.55
>   retrieving revision 1.56
>   diff -u -r1.55 -r1.56
>   --- defaults.properties	2000/11/24 02:38:42	1.55
>   +++ defaults.properties	2000/11/28 16:45:39	1.56
>   @@ -64,7 +64,6 @@
>    wljspc=org.apache.tools.ant.taskdefs.optional.jsp.WLJspc
>    jlink=org.apache.tools.ant.taskdefs.optional.jlink.JlinkTask
>    native2ascii=org.apache.tools.ant.taskdefs.optional.Native2Ascii
>   -perforce=org.apache.tools.ant.taskdefs.optional.perforce.P4sync
>    propertyfile=org.apache.tools.ant.taskdefs.optional.PropertyFile
>    depend=org.apache.tools.ant.taskdefs.optional.depend.Depend
>    antlr=org.apache.tools.ant.taskdefs.optional.ANTLR
>   @@ -76,6 +75,12 @@
>    ilasm=org.apache.tools.ant.taskdefs.optional.dotnet.Ilasm
>    stylebook=org.apache.tools.ant.taskdefs.optional.StyleBook
>    test=org.apache.tools.ant.taskdefs.optional.Test
>   +p4change=org.apache.tools.ant.taskdefs.optional.perforce.P4Change
>   +p4label=org.apache.tools.ant.taskdefs.optional.perforce.P4Label
>   +p4have=org.apache.tools.ant.taskdefs.optional.perforce.P4Have
>   +p4sync=org.apache.tools.ant.taskdefs.optional.perforce.P4Sync
>   +p4edit=org.apache.tools.ant.taskdefs.optional.perforce.P4Edit
>   +p4submit=org.apache.tools.ant.taskdefs.optional.perforce.P4Submit
>    
>    # deprecated ant tasks (kept for back compatibility)
>    javadoc2=org.apache.tools.ant.taskdefs.Javadoc
>   
>   
>   
> 

Mime
View raw message