gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
jar task for m2
authorDoni Pracner <quinnuendo@gmail.com>
Thu, 13 Mar 2014 21:18:41 +0000 (22:18 +0100)
committerDoni Pracner <quinnuendo@gmail.com>
Thu, 13 Mar 2014 21:18:41 +0000 (22:18 +0100)
build.xml

index a61918c510a4039ec91d8bef625f73668d4f30d4..4e3a24c2601fdacc2040719711b6e3c02fc73f90 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,6 +1,7 @@
 <project name="ant-tasks" default='build'>
        <property name="bin.dir" value="bin"/>
        <property name="src.dir" value="."/>
+       <property name="dist.dir" value='dist'/>
 
        <target name='init'>
                <mkdir dir="${bin.dir}"/>
                <javac srcdir="${src.dir}" destdir="${bin.dir}"
                includeAntRuntime="yes" />
        </target>
+       
+       <target name='jar' depends="build">
+               <jar destfile="${dist.dir}/ant-m2.jar" basedir="${bin.dir}/"
+               includes="com/quemaster/ant/m2/**" >
+                   <manifest>
+                     <!-- Who is building this jar? -->
+                     <attribute name="Built-By" value="${user.name}"/>
+                     <!-- Information about the program itself -->
+                     <attribute name="Implementation-Vendor" 
+                     value="Doni Pracner"/>
+                     <attribute name="Implementation-Title"
+                      value="Ant Tasks for Modula 2"/>
+                     <attribute name="Implementation-Version" value="1.0.0"/>
+                   </manifest>  
+               </jar>
+       </target>
 
 </project>
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner