Giving description to all targets
authorJaroslav Tulach <jtulach@netbeans.org>
Sat, 14 Feb 2009 17:37:55 +0100
changeset 322c12a563d36a4
parent 321 06bf3a32eaa0
child 323 4e59b6b0e907
Giving description to all targets
samples/build.xml
     1.1 --- a/samples/build.xml	Sat Feb 14 17:30:06 2009 +0100
     1.2 +++ b/samples/build.xml	Sat Feb 14 17:37:55 2009 +0100
     1.3 @@ -9,21 +9,21 @@
     1.4      </dirset>
     1.5      
     1.6      
     1.7 -    <target name="clean">
     1.8 +    <target name="clean" description="Cleans all build products">
     1.9          <delete dir="${samples.dir}/build"/>
    1.10          <subant target="clean" antfile="../build.xml">
    1.11              <dirset refid="examples"/>
    1.12          </subant>
    1.13      </target>
    1.14  
    1.15 -    <target name="build">
    1.16 +    <target name="build" description="Compiles all samples" >
    1.17          <ant dir="${samples.dir}/libs"/>
    1.18          <subant target="compile" antfile="../build.xml">
    1.19              <dirset refid="examples"/>
    1.20          </subant>
    1.21      </target>
    1.22  
    1.23 -    <target name="test" depends="build">
    1.24 +    <target name="test" depends="build" description="Executes tests for all samples">
    1.25          <subant target="test" antfile="../build.xml" failonerror="true">
    1.26              <dirset refid="examples"/>
    1.27              <property name="test-sys-prop.no.failures" value="true"/>
    1.28 @@ -41,7 +41,7 @@
    1.29          </exec>
    1.30      </target>
    1.31  
    1.32 -    <target name="sources" depends="-version,clean">
    1.33 +    <target name="sources" depends="-version,clean" description="Creates source distribution of the samples">
    1.34          <fail unless="version"/>
    1.35          
    1.36          <loadfile srcfile="${samples.dir}/../.hgignore" property="hgignore"/>
    1.37 @@ -56,7 +56,7 @@
    1.38          </zip>
    1.39      </target>
    1.40  
    1.41 -    <target name="snippets" depends="-revision">
    1.42 +    <target name="snippets" depends="-revision" description="Extracts code snippets">
    1.43          <fail unless="revision"/>
    1.44  
    1.45          <property name="snippets.dir" location="build/snippets"/>