Permalink
Browse files

Changed task "otpjar" to create an OTP-only jar without Erjang, which…

… can be put into the classpath. Added another task "alljar" which creates a Erjang+OTP jar.
  • Loading branch information...
1 parent d94730e commit 7c351cd4bc9da056feaa977a5daf6a69fd7106bc @jetztgradnet jetztgradnet committed May 26, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 build.xml
View
@@ -192,9 +192,15 @@
<exclude name="lib/wx-*/**" />
<exclude name="lib/hipe-*/**" />
<exclude name="lib/jinterface-*/**" />
+ </jar>
+ </target>
+ <target name="alljar" depends="jar,otpjar">
+ <jar jarfile="erjang-${erjang.version}-otp-${erjang.otp.version}.jar" basedir="${erjang.otp.root}">
<!-- include all of erjang -->
<zipgroupfileset dir="." includes="erjang-${erjang.version}.jar" />
+ <!-- include all of OTP -->
+ <zipgroupfileset dir="." includes="otp-${erjang.otp.version}.jar" />
<manifest>
<attribute name="Main-Class" value="erjang.Main" />

0 comments on commit 7c351cd

Please sign in to comment.