Skip to content

Commit

Permalink
Updating the build scripts to compile Babylscript properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ming Iu committed Apr 5, 2012
1 parent f512a3d commit bb43c89
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions build.xml
Expand Up @@ -151,6 +151,8 @@
<include name="org/mozilla/javascript/*.class"/>

<include name="org/mozilla/javascript/debug/*.class"/>
<include name="org/mozilla/javascript/babylscript/*.class"/>
<include name="org/mozilla/javascript/babylscript/resources/*.properties"/>
<include name="org/mozilla/javascript/resources/*.properties"/>
<include name="org/mozilla/javascript/xml/*.class"/>
<include name="org/mozilla/javascript/continuations/*.class"/>
Expand All @@ -165,6 +167,7 @@
<include name="org/mozilla/javascript/regexp/*.class"
unless="no-regexp"/>
</jar>
<copy file="${smalljarfile}" tofile="${dist.dir}/babylscript15.jar"/>

</target>

Expand All @@ -174,6 +177,7 @@
destjar="${dist.dir}/${small-rhino-14.jar}"
embed="org.mozilla.javascript"
/>
<copy file="${dist.dir}/${small-rhino-14.jar}" tofile="${dist.dir}/babylscript14.jar"/>
</target>

<target name="copy-examples" depends="init">
Expand Down
6 changes: 3 additions & 3 deletions xmlimplsrc/build.xml
Expand Up @@ -148,7 +148,7 @@
<target name="xmlbeans-get" unless="xmlbeans-zip-present?">
<property
name="xmlbeans.url"
value="http://www.apache.org/dist/xmlbeans/binaries/xmlbeans-2.2.0.zip"
value="http://www.apache.org/dist/xmlbeans/binaries/xmlbeans-2.5.0.zip"
/>

<mkdir dir="${xmlbeans.tmp}" />
Expand All @@ -158,8 +158,8 @@
<target name="xmlbeans-unzip" unless="xmlbeans-present?">
<antcall target="xmlbeans-get" />
<unzip src="${xmlbeans.zip}" dest="${xmlbeans.tmp}" />
<copy tofile="${xbean.jar}" file="${xmlbeans.tmp}/xmlbeans-2.2.0/lib/xbean.jar" />
<copy tofile="${jsr173.jar}" file="${xmlbeans.tmp}/xmlbeans-2.2.0/lib/jsr173_1.0_api.jar" />
<copy tofile="${xbean.jar}" file="${xmlbeans.tmp}/xmlbeans-2.5.0/lib/xbean.jar" />
<copy tofile="${jsr173.jar}" file="${xmlbeans.tmp}/xmlbeans-2.5.0/lib/jsr173_1.0_api.jar" />
<delete dir="${xmlbeans.tmp}" />
</target>
</project>

0 comments on commit bb43c89

Please sign in to comment.