[ohla-devel] SF.net SVN: ohla: [18] trunk/build/build.xml
Status: Beta
Brought to you by:
mnewcomb
From: <mne...@us...> - 2006-11-11 18:22:13
|
Revision: 18 http://svn.sourceforge.net/ohla/?rev=18&view=rev Author: mnewcomb Date: 2006-11-11 10:22:07 -0800 (Sat, 11 Nov 2006) Log Message: ----------- added distribution target Modified Paths: -------------- trunk/build/build.xml Modified: trunk/build/build.xml =================================================================== --- trunk/build/build.xml 2006-11-11 03:56:13 UTC (rev 17) +++ trunk/build/build.xml 2006-11-11 18:22:07 UTC (rev 18) @@ -2,7 +2,8 @@ <project name="Open HLA (OHLA)" basedir="." default="default"> - <property name="ohla.version" value="0.3"/> + <property name="ohla.version" value="0.4-SNAPSHOT"/> + <property name="dist.name" value="ohla-${ohla.version}"/> <!-- ================================================================== --> <!-- Configuration --> @@ -379,16 +380,25 @@ <!-- Distribution --> <!-- ================================================================== --> - <!--<target name="dist" depends="jar-ohla-ieee1516, jar-ohla-hla13">--> - <!--<mkdir dir="${output.dist}"/>--> - <!--<tar destfile="${output.dist}/${dist.name}.tar.gz" compression="gzip">--> - <!--<tarfileset prefix="${dist.name}" dir="${output.lib}"/>--> - <!--<tarfileset prefix="${dist.name}" dir="${apache.log4j.lib}"/>--> - <!--<tarfileset prefix="${dist.name}" dir="${project.resources.properties}"/>--> - <!--</tar>--> - <!--</target>--> + <target name="dist" depends="jar-ieee-1516, jar-hla-1.3, jar-ohla, docs"> + <mkdir dir="${output.dist}"/> + <tar destfile="${output.dist}/${dist.name}.tar.gz" compression="gzip"> + <tarfileset prefix="${dist.name}" dir="${project.root}" + excludes="build/output/**"/> + <tarfileset prefix="${dist.name}" dir="${output}" includes="docs/**"/> + <tarfileset prefix="${dist.name}" dir="${output.lib}"/> + </tar> + <zip destfile="${output.dist}/${dist.name}.zip"> + <zipfileset prefix="${dist.name}" dir="${project.root}" + excludes="build/output/**"/> + <zipfileset prefix="${dist.name}" dir="${output}" includes="docs/**"/> + <zipfileset prefix="${dist.name}" dir="${output.lib}"/> + </zip> + </target> + + <!-- ================================================================== --> <!-- Programs --> <!-- ================================================================== --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |