[Patchanim-commit] SF.net SVN: patchanim: [116] trunk/patchanim/build.xml
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-02-09 06:33:30
|
Revision: 116 http://patchanim.svn.sourceforge.net/patchanim/?rev=116&view=rev Author: dbrosius Date: 2008-02-08 22:33:33 -0800 (Fri, 08 Feb 2008) Log Message: ----------- sign the other jars Modified Paths: -------------- trunk/patchanim/build.xml Modified: trunk/patchanim/build.xml =================================================================== --- trunk/patchanim/build.xml 2008-02-09 06:15:15 UTC (rev 115) +++ trunk/patchanim/build.xml 2008-02-09 06:33:33 UTC (rev 116) @@ -27,6 +27,7 @@ <property name="classes.dir" value="${basedir}/classes"/> <property name="lib.dir" value="${basedir}/lib"/> <property name="htdocs.dir" value="${basedir}/htdocs"/> + <property name="jnlp.dir" value="${htdocs.dir}/jnlp"/> <property name="javadoc.dir" value="${htdocs.dir}/javadoc"/> <property name="javac.source" value="1.5"/> <property name="javac.target" value="1.5"/> @@ -38,8 +39,8 @@ <target name="clean" description="removes all generated collateral"> <delete dir="${classes.dir}"/> <delete dir="${javadoc.dir}"/> - <delete file="${basedir}/patchanim-${patchanim.version}.jar"/> - <delete file="${basedir}/patchanim-src-${patchanim.version}.zip"/> + <delete file="${jnlp.dir}/patchanim-${patchanim.version}.jar"/> + <delete file="${jnlp.dir}/patchanim-src-${patchanim.version}.zip"/> </target> <target name="-init" description="prepares repository for a build"> @@ -76,7 +77,7 @@ </target> <target name="jar" depends="compile, resources" description="produces the patchanim jar file"> - <jar destfile="${basedir}/patchanim-${patchanim.version}.jar"> + <jar destfile="${jnlp.dir}/patchanim-${patchanim.version}.jar"> <fileset dir="${classes.dir}"> <include name="**/*.class"/> <include name="**/*.properties"/> @@ -92,14 +93,7 @@ <attribute name="Main-Class" value="com.mebigfatguy.patchanim.main.PatchMain"/> <attribute name="Class-Path" value="xml-apis.jar xalan.jar xercesImpl.jar serializer.jar"/> </manifest> - </jar> - <input message="Enter keystore password" addproperty="pass"/> - <signjar jar="${basedir}/patchanim-${patchanim.version}.jar" - keystore="patchanim.store" - alias="patchanim" - keypass="${pass}" - storepass="${pass}"/> - + </jar> </target> <target name="srczip" description="builds the source distribution zip file"> @@ -148,6 +142,26 @@ <target name="build" depends="clean, -init, compile, resources, test, jar" description="builds the patchanim jar"/> - <target name="release" depends="build, srczip, javadoc" description="prepares everything for a release"/> + <target name="jnlp" description="copy jars to jnlp directory"> + <copy todir="${jnlp.dir}"> + <fileset dir="${lib.dir}"> + <include name="*.jar"/> + </fileset> + <fileset dir="${basedir}"> + <include name="*.jar"/> + </fileset> + </copy> + <input message="Enter keystore password" addproperty="pass"/> + <signjar keystore="patchanim.store" + alias="patchanim" + keypass="${pass}" + storepass="${pass}"> + <fileset dir="${jnlp.dir}"> + <include name="*.jar"/> + </fileset> + </signjar> + </target> + + <target name="release" depends="build, jnlp, srczip, javadoc" description="prepares everything for a release"/> </project> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |