cool idea, never heard that before ...

But only the "windows syntax" with '/' would work as Ant strips off all '-' 
parameters from command line. (For that you could specify '-'targets as 
internal.)


Jan 

>-----Ursprüngliche Nachricht-----
>Von: Gilles Scokart [mailto:[EMAIL PROTECTED] 
>Gesendet: Montag, 6. August 2007 17:04
>An: [email protected]
>Betreff: Re: svn commit: r563150 - /incubator/ivy/core/trunk/build.xml
>
>It is the first time that I try this kind of syntax.  That sounds to
>me as a good idea, but if you think not...
>
>Gilles
>
>
>2007/8/6, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> Author: gscokart
>> Date: Mon Aug  6 07:25:32 2007
>> New Revision: 563150
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=563150
>> Log:
>> identify the task that are flags changing the behavior of 
>the next target by using a /
>>
>> Modified:
>>     incubator/ivy/core/trunk/build.xml
>>
>> Modified: incubator/ivy/core/trunk/build.xml
>> URL: 
>http://svn.apache.org/viewvc/incubator/ivy/core/trunk/build.xml
>?view=diff&rev=563150&r1=563149&r2=563150
>> 
>===============================================================
>===============
>> --- incubator/ivy/core/trunk/build.xml (original)
>> +++ incubator/ivy/core/trunk/build.xml Mon Aug  6 07:25:32 2007
>> @@ -115,23 +115,23 @@
>>
>>         <target name="clean-all" depends="clean, clean-lib, 
>clean-examples" />
>>
>> -       <target name="noresolve" description="use to skip 
>dependency resolution">
>> +       <target name="/noresolve" description="use to skip 
>dependency resolution">
>>                 <property name="no.resolve" value="true" />
>>         </target>
>>
>> -       <target name="notest" description="use to skip tests">
>> +       <target name="/notest" description="use to skip tests">
>>                 <property name="skip.test" value="true" />
>>         </target>
>>
>> -       <target name="nojavadoc" description="use to skip javadoc">
>> +       <target name="/nojavadoc" description="use to skip javadoc">
>>                 <property name="skip.javadoc" value="true" />
>>         </target>
>>
>> -       <target name="localivy" description="use a local ivy home">
>> +       <target name="/localivy" description="use a local ivy home">
>>                 <property name="ivy.use.local.home" value="true" />
>>         </target>
>>
>> -       <target name="offline" depends="noresolve" 
>description="use to indicate no internet connection is available">
>> +       <target name="/offline" depends="/noresolve" 
>description="use to indicate no internet connection is available">
>>                 <property name="offline" value="true" />
>>         </target>
>>
>> @@ -288,7 +288,7 @@
>>         <!-- 
>=================================================================
>>              PUBLISH LOCAL
>>              
>================================================================= -->
>> -       <target name="publish-local" depends="jar" 
>description="--> publishes Ivy to Ivy local repository">
>> +       <target name="publish-local" depends="jar" 
>description="publishes Ivy to Ivy local repository">
>>                 <ivy:publish resolver="local" 
>pubrevision="${build.version}"
>>                         
>artifactsPattern="${artifacts.build.dir}/[artifact].[ext]"
>>                         forcedeliver="true" />
>> @@ -505,13 +505,13 @@
>>
>>         <target name="eclipse-default" depends="resolve, 
>check-eclipse-classpath-overwrite"
>>                         unless="eclipse.classpath.abort"
>> -                       description="--> creates a default 
>.classpath for eclipse, using jars resolved by this ant build">
>> +                       description="creates a default 
>.classpath for eclipse, using jars resolved by this ant build">
>>                 <copy file="${basedir}/.classpath.default" 
>tofile="${basedir}/.classpath" overwrite="true" />
>>         </target>
>>
>>         <target name="eclipse-ivyde" 
>depends="check-eclipse-classpath-overwrite"
>>                         unless="eclipse.classpath.abort"
>> -                       description="--> creates a 
>.classpath for eclipse using Apache IvyDE version">
>> +                       description="creates a .classpath 
>for eclipse using Apache IvyDE version">
>>                 <copy file="${basedir}/.classpath.ivyde" 
>tofile="${basedir}/.classpath" overwrite="true" />
>>         </target>
>>  </project>
>>
>>
>>
>
>
>-- 
>Gilles SCOKART
>

Reply via email to