Skip to content

Commit

Permalink
Changed task "otpjar" to create an OTP-only jar without Erjang, which…
Browse files Browse the repository at this point in the history
… can be put into the classpath. Added another task "alljar" which creates a Erjang+OTP jar.
  • Loading branch information
jetztgradnet committed May 26, 2011
1 parent d94730e commit 7c351cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.xml
Expand Up @@ -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" />
Expand Down

0 comments on commit 7c351cd

Please sign in to comment.