Hi,
The following patch adds the smack version in the jar files. The advantage of adding the version is so that application developers will have an easier time tracking which version of Smack library they are using. This is also handy if the jar files are in the CVS.
Cheers,
---- PATCH STARTS HERE ---- ? patch-build.xml
Index: build.xml
===================================================================
RCS file: /cvs-org/smack/build/build.xml,v
retrieving revision 1.37
diff -u -r1.37 build.xml
--- build.xml 16 Nov 2004 16:35:47 -0000 1.37
+++ build.xml 24 Mar 2005 23:40:26 -0000
@@ -122,14 +122,14 @@
<target name="jar" depends="compile" unless="jar.uptodate" description="Produces smack.jar"> <copy todir="${compile.dir}/META-INF" file="${basedir}/build/resources/META-INF/smack-config.xml" />
- <jar destfile="${jar.dest.dir}/smack.jar"
+ <jar destfile="${jar.dest.dir}/smack-${version.name}.jar"
basedir="${compile.dir}"
includes="org/jivesoftware/smack/**/*.class, **/smack-config.xml"
>
<zipfileset src="${merge.lib.dir}/xpp.jar"/>
</jar>
<copy todir="${compile.dir}/META-INF" file="${basedir}/build/resources/META-INF/smack.providers" />
- <jar destfile="${jar.dest.dir}/smackx.jar"
+ <jar destfile="${jar.dest.dir}/smackx-${version.name}.jar"
basedir="${compile.dir}"
includes="org/jivesoftware/smackx/**/*.class, **/*.providers"
excludes="org/jivesoftware/smackx/debugger/*.class"
@@ -143,7 +143,7 @@
<include name="*.png"/>
</fileset>
</copy>
- <jar destfile="${jar.dest.dir}/smackx-debug.jar"
+ <jar destfile="${jar.dest.dir}/smackx-debug-${version.name}.jar"
basedir="${compile.dir}"
includes="org/jivesoftware/smackx/debugger/*.class, **/*.png"
>
----- PATCH ENDS HERE -----