[Fb-contrib-commit] SF.net SVN: fb-contrib: [910] trunk/fb-contrib/build.xml
Brought to you by:
dbrosius
|
From: <dbr...@us...> - 2007-09-19 01:12:13
|
Revision: 910
http://fb-contrib.svn.sourceforge.net/fb-contrib/?rev=910&view=rev
Author: dbrosius
Date: 2007-09-18 18:12:09 -0700 (Tue, 18 Sep 2007)
Log Message:
-----------
add version number to jar file name
Modified Paths:
--------------
trunk/fb-contrib/build.xml
Modified: trunk/fb-contrib/build.xml
===================================================================
--- trunk/fb-contrib/build.xml 2007-09-17 20:15:44 UTC (rev 909)
+++ trunk/fb-contrib/build.xml 2007-09-19 01:12:09 UTC (rev 910)
@@ -26,8 +26,8 @@
<delete dir="${classes.dir}"/>
<delete dir="${javadoc.dir}"/>
<delete file="${htdocs.dir}/bugdescriptions.html"/>
- <delete file="${basedir}/fb-contrib.jar"/>
- <delete file="${basedir}/fb-contrib-src.zip"/>
+ <delete file="${basedir}/fb-contrib-${fb-contrib.version}.jar"/>
+ <delete file="${basedir}/fb-contrib-src-${fb-contrib.version}.zip"/>
<delete>
<fileset dir="${samples.dir}">
<include name="**/*.class"/>
@@ -96,7 +96,7 @@
</target>
<target name="jar" depends="compile" description="produces the fb-contrib jar file">
- <jar destfile="${basedir}/fb-contrib.jar">
+ <jar destfile="${basedir}/fb-contrib-${fb-contrib.version}.jar">
<fileset dir="etc">
<include name="findbugs.xml"/>
<include name="messages*.xml"/>
@@ -123,7 +123,7 @@
</target>
<target name="srczip" description="builds the source distribution zip file">
- <zip destfile="${basedir}/fb-contrib-src.zip" basedir="${basedir}">
+ <zip destfile="${basedir}/fb-contrib-src-${fb-contrib.version}.zip" basedir="${basedir}">
<fileset dir="${src.dir}">
<include name="**/*.java"/>
<include name="**/*.xml"/>
@@ -148,7 +148,7 @@
<target name="check14" depends="jar" description="Check for 1.5 only methods">
<mkdir dir="${basedir}/plugin"/>
- <copy file="${basedir}/fb-contrib.jar" todir="${basedir}/plugin"/>
+ <copy file="${basedir}/fb-contrib-${fb-contrib.version}.jar" todir="${basedir}/plugin"/>
<taskdef name="findbugs" classname="edu.umd.cs.findbugs.anttask.FindBugsTask" classpath="${lib.dir}/findbugs-ant.jar;${lib.dir}/findbugs.jar;${lib.dir}/bcel.jar;${lib.dir}/dom4j-full.jar;${lib.dir}/asm-3.0.jar"/>
@@ -160,7 +160,7 @@
outputFile="${basedir}/plugin/findbugs.xml"
jvmargs="-Xmx800m -Dfb-contrib.sjvu.jdkhome=${jdk14.home}"
failOnError="true">
- <class location="${basedir}/fb-contrib.jar"/>
+ <class location="${basedir}/fb-contrib-${fb-contrib.version}.jar"/>
</findbugs>
<delete dir="${basedir}/plugin"/>
</target>
@@ -172,7 +172,7 @@
<property environment="env"/>
<copy todir="${env.FINDBUGS_HOME}/plugin">
<fileset dir="${basedir}">
- <include name="fb-contrib.jar"/>
+ <include name="fb-contrib-${fb-contrib.version}.jar"/>
</fileset>
</copy>
</target>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|