Fix bootclasspath
This commit is contained in:
16
build.xml
16
build.xml
@@ -17,17 +17,12 @@
|
|||||||
<mkdir dir="build/j2me/classes"/>
|
<mkdir dir="build/j2me/classes"/>
|
||||||
<mkdir dir="build/j2se/classes"/>
|
<mkdir dir="build/j2se/classes"/>
|
||||||
<mkdir dir="build/script/classes"/>
|
<mkdir dir="build/script/classes"/>
|
||||||
<javac destdir="build/core/classes" encoding="utf-8" source="1.3" target="1.1">
|
<javac destdir="build/core/classes" encoding="utf-8" source="1.3" target="1.1" bootclasspathref="wtk-libs">
|
||||||
<src path="src/core"/>
|
<src path="src/core"/>
|
||||||
<src path="src/debug"/>
|
<src path="src/debug"/>
|
||||||
</javac>
|
</javac>
|
||||||
<javac destdir="build/j2me/classes" encoding="utf-8" source="1.3" target="1.1">
|
<javac destdir="build/j2me/classes" encoding="utf-8" source="1.3" target="1.1" bootclasspathref="wtk-libs">
|
||||||
<classpath>
|
<classpath path="build/core/classes"/>
|
||||||
<pathelement location="build/core/classes"/>
|
|
||||||
<pathelement path="${wtk.home}/lib/cldcapi11.jar"/>
|
|
||||||
<pathelement path="${wtk.home}/lib/midpapi20.jar"/>
|
|
||||||
<pathelement path="${wtk.home}/lib/mmapi.jar"/>
|
|
||||||
</classpath>
|
|
||||||
<src path="src/j2me"/>
|
<src path="src/j2me"/>
|
||||||
</javac>
|
</javac>
|
||||||
<javac destdir="build/j2se/classes" encoding="utf-8" source="1.3" target="1.1">
|
<javac destdir="build/j2se/classes" encoding="utf-8" source="1.3" target="1.1">
|
||||||
@@ -84,6 +79,11 @@
|
|||||||
<target name="wtk-or-fail" depends="find-wtk">
|
<target name="wtk-or-fail" depends="find-wtk">
|
||||||
<fail unless="wtk.home" message="Sun Wireless Toolkit required to build component jars."/>
|
<fail unless="wtk.home" message="Sun Wireless Toolkit required to build component jars."/>
|
||||||
<echo>Using WTK found in ${wtk.home}</echo>
|
<echo>Using WTK found in ${wtk.home}</echo>
|
||||||
|
<path id="wtk-libs">
|
||||||
|
<pathelement path="${wtk.home}/lib/cldcapi11.jar"/>
|
||||||
|
<pathelement path="${wtk.home}/lib/midpapi20.jar"/>
|
||||||
|
<pathelement path="${wtk.home}/lib/mmapi.jar"/>
|
||||||
|
</path>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="dist">
|
<target name="dist">
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
version: 0.30
|
version: 0.31
|
||||||
|
|||||||
Reference in New Issue
Block a user