Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add jar-1.3 target, needed for CDC (which is 1.3-compat).

  • Loading branch information...
commit 1685264969165d1656497d35d84c49fad79ca91d 1 parent cde3b0c
Charles Oliver Nutter authored
Showing with 30 additions and 0 deletions.
  1. +30 −0 build.xml
View
30 build.xml
@@ -287,6 +287,36 @@
<delete file="${lib.dir}/jruby-complete1.5.jar"/>
</target>
+ <target name="jar-1.3" depends="jar-jruby">
+ <move file="${lib.dir}/jruby.jar" tofile="${lib.dir}/jruby1.5.jar"/>
+ <retro inputjar="${lib.dir}/jruby1.5.jar" outputjar="${lib.dir}/jruby-weaved.jar" target="1.3" failonerror="true" verify="true"/>
+ <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="${build.lib.dir}/jarjar-1.0rc8.jar"/>
+ <jarjar destfile="${lib.dir}/jruby.jar">
+ <zipfileset src="${lib.dir}/jruby-weaved.jar"/>
+ <zipfileset src="${build.lib.dir}/retroweaver-rt-2.0.7.jar"/>
+ <zipfileset src="${build.lib.dir}/backport-util-concurrent.jar"/>
+ <rule pattern="edu.emory.mathcs.backport.**" result="jruby.backport.@1"/>
+ <rule pattern="org.objectweb.asm.**" result="jruby.objectweb.asm.@1"/>
+ </jarjar>
+ <delete file="${lib.dir}/jruby-weaved.jar"/>
+ <delete file="${lib.dir}/jruby1.5.jar"/>
+ </target>
+
+ <target name="jar-complete-1.3" depends="jar-complete">
+ <move file="${lib.dir}/jruby-complete.jar" tofile="${lib.dir}/jruby-complete1.5.jar"/>
+ <retro inputjar="${lib.dir}/jruby-complete1.5.jar" outputjar="${lib.dir}/jruby-complete-weaved.jar" target="1.3" failonerror="false" verify="true"/>
+ <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="${build.lib.dir}/jarjar-1.0rc8.jar"/>
+ <jarjar destfile="${lib.dir}/jruby-complete.jar">
+ <zipfileset src="${lib.dir}/jruby-complete-weaved.jar"/>
+ <zipfileset src="${build.lib.dir}/retroweaver-rt-2.0.7.jar"/>
+ <zipfileset src="${build.lib.dir}/backport-util-concurrent.jar"/>
+ <rule pattern="edu.emory.mathcs.backport.**" result="jruby.backport.@1"/>
+ <rule pattern="org.objectweb.asm.**" result="jruby.objectweb.asm.@1"/>
+ </jarjar>
+ <delete file="${lib.dir}/jruby-complete-weaved.jar"/>
+ <delete file="${lib.dir}/jruby-complete1.5.jar"/>
+ </target>
+
<target name="jar-complete" depends="generate-method-classes, generate-unsafe" description="Create the 'complete' JRuby jar. Pass 'mainclass' and 'filename' to adjust.">
<property name="mainclass" value="org.jruby.Main"/>
<property name="filename" value="jruby-complete.jar"/>

0 comments on commit 1685264

Please sign in to comment.
Something went wrong with that request. Please try again.