Skip to content

Commit

Permalink
included patch to release script to include source jars for all class…
Browse files Browse the repository at this point in the history
…file jars
  • Loading branch information
adinn committed Jul 22, 2011
2 parents 6954369 + 8f571dd commit 2777040
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion build-release-pkgs.xml
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -117,13 +117,29 @@
includes="**/*"/> includes="**/*"/>
<jar basedir="${workdir}/${tag}" jarfile="${workdir}/byteman-sources.jar" <jar basedir="${workdir}/${tag}" jarfile="${workdir}/byteman-sources.jar"
includes="**/*"/> includes="**/*"/>
<!-- package the byteman-submit sources -->
<jar basedir="${workdir}/${tag}" jarfile="${workdir}/byteman-submit-sources.jar"
includes="**/submit/Submit*.java"/>
<!-- package the byteman-install sources -->
<jar basedir="${workdir}/${tag}" jarfile="${workdir}/byteman-install-sources.jar"
includes="**/install/Install*.java, **/install/VMInfo.java"/>
<!-- package the byteman-bmunit sources -->
<jar basedir="${workdir}/${tag}" jarfile="${workdir}/byteman-bmunit-sources.jar"
includes="contrib/bmunit/**/*.java"/>
<!-- package the byteman-dtest sources -->
<jar basedir="${workdir}/${tag}" jarfile="${workdir}/byteman-dtest-sources.jar"
includes="contrib/dtest/**/*.java"/>
<!-- build the binary release --> <!-- build the binary release -->
<ant dir="${workdir}/${tag}" antfile="build.xml" target="zip"> <ant dir="${workdir}/${tag}" antfile="build.xml" target="zip">
<property name="version" value="${version}"/> <property name="version" value="${version}"/>
<property name="obfuscate.3rd.party" value="true"/> <property name="obfuscate.3rd.party" value="true"/>
</ant> </ant>
<!-- relocate source jar to install lib directory --> <!-- relocate source jars to install lib directory -->
<copy file="${workdir}/byteman-sources.jar" tofile="${workdir}/${tag}/install/lib/byteman-sources.jar"/> <copy file="${workdir}/byteman-sources.jar" tofile="${workdir}/${tag}/install/lib/byteman-sources.jar"/>
<copy file="${workdir}/byteman-submit-sources.jar" tofile="${workdir}/${tag}/install/lib/byteman-submit-sources.jar"/>
<copy file="${workdir}/byteman-install-sources.jar" tofile="${workdir}/${tag}/install/lib/byteman-install-sources.jar"/>
<copy file="${workdir}/byteman-bmunit-sources.jar" tofile="${workdir}/${tag}/install/contrib/bmunit/byteman-bmunit-sources.jar"/>
<copy file="${workdir}/byteman-dtest-sources.jar" tofile="${workdir}/${tag}/install/contrib/dtest/byteman-dtest-sources.jar"/>
<!-- relocate binary zip release to top level of workdir --> <!-- relocate binary zip release to top level of workdir -->
<copy tofile="${workdir}/byteman-${version}.zip" file="${workdir}/${tag}/build/byteman.zip"> <copy tofile="${workdir}/byteman-${version}.zip" file="${workdir}/${tag}/build/byteman.zip">
</copy> </copy>
Expand Down Expand Up @@ -229,9 +245,13 @@


<mvn-artifact.src.macro artifact="byteman" dir="${workdir}/${tag}/install/lib/"/> <mvn-artifact.src.macro artifact="byteman" dir="${workdir}/${tag}/install/lib/"/>
<mvn-artifact.macro artifact="byteman" dir="${workdir}/${tag}/install/lib/"/> <mvn-artifact.macro artifact="byteman" dir="${workdir}/${tag}/install/lib/"/>
<mvn-artifact.src.macro artifact="byteman-submit" dir="${workdir}/${tag}/install/lib/"/>
<mvn-artifact.macro artifact="byteman-submit" dir="${workdir}/${tag}/install/lib/"/> <mvn-artifact.macro artifact="byteman-submit" dir="${workdir}/${tag}/install/lib/"/>
<mvn-artifact.src.macro artifact="byteman-install" dir="${workdir}/${tag}/install/lib/"/>
<mvn-artifact.macro artifact="byteman-install" dir="${workdir}/${tag}/install/lib/"/> <mvn-artifact.macro artifact="byteman-install" dir="${workdir}/${tag}/install/lib/"/>
<mvn-artifact.src.macro artifact="byteman-dtest" dir="${workdir}/${tag}/install/contrib/dtest/"/>
<mvn-artifact.macro artifact="byteman-dtest" dir="${workdir}/${tag}/install/contrib/dtest/"/> <mvn-artifact.macro artifact="byteman-dtest" dir="${workdir}/${tag}/install/contrib/dtest/"/>
<mvn-artifact.src.macro artifact="byteman-bmunit" dir="${workdir}/${tag}/install/contrib/bmunit/"/>
<mvn-artifact.macro artifact="byteman-bmunit" dir="${workdir}/${tag}/install/contrib/bmunit/"/> <mvn-artifact.macro artifact="byteman-bmunit" dir="${workdir}/${tag}/install/contrib/bmunit/"/>
<mvn-artifact.macro artifact="byteman-sample" packaging="zip" dir="${workdir}"/> <mvn-artifact.macro artifact="byteman-sample" packaging="zip" dir="${workdir}"/>
<mvn-artifact.macro artifact="byteman-contrib" packaging="zip" dir="${workdir}"/> <mvn-artifact.macro artifact="byteman-contrib" packaging="zip" dir="${workdir}"/>
Expand Down

0 comments on commit 2777040

Please sign in to comment.