|
From: Wes B. <wb...@us...> - 2007-03-19 14:16:42
|
Update of /cvsroot/synclast/client In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv4598 Modified Files: README build.xml Log Message: Change to use WTK_HOME instead of J2ME_HOME as the environment variable to align with other tools (Antenna, etc.) Index: README =================================================================== RCS file: /cvsroot/synclast/client/README,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** README 5 Feb 2004 01:55:07 -0000 1.3 --- README 19 Mar 2007 14:15:20 -0000 1.4 *************** *** 33,40 **** build script at it in a few different ways: ! 1) Set environment variable J2ME_HOME before invoking Ant. Ant will ! look for the MIDP libraries in $J2ME_HOME/lib. -or- ! 2) Pass -Dj2me.home=J2ME_HOME to Ant. Works like the above. The build script has been designed for use with Sun's Wireless ToolKit --- 33,40 ---- build script at it in a few different ways: ! 1) Set environment variable WTK_HOME before invoking Ant. Ant will ! look for the MIDP libraries in $WTK_HOME/lib. -or- ! 2) Pass -Dwtk.home=... to Ant. Works like the above. The build script has been designed for use with Sun's Wireless ToolKit Index: build.xml =================================================================== RCS file: /cvsroot/synclast/client/build.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** build.xml 1 Oct 2004 21:24:52 -0000 1.19 --- build.xml 19 Mar 2007 14:15:20 -0000 1.20 *************** *** 4,10 **** Build file for Jakarta Ant 1.5 ! To invoke this script, set the environment variable J2ME_HOME to the top-level directory of your Sun or OEM-provided Wireless ToolKit or ! invoke ant with -Dj2me.home=... --> --- 4,10 ---- Build file for Jakarta Ant 1.5 ! To invoke this script, set the environment variable WTK_HOME to the top-level directory of your Sun or OEM-provided Wireless ToolKit or ! invoke ant with -Dwtk.home=... --> *************** *** 13,17 **** <property environment="env."/> <property name="app.name" value="synclast" /> ! <property name="j2me.home" value="${env.J2ME_HOME}"/> <property name="doc" value="docs"/> <property name="javadoc.path" value="javadoc.path"/> --- 13,17 ---- <property environment="env."/> <property name="app.name" value="synclast" /> ! <property name="wtk.home" value="${env.WTK_HOME}"/> <property name="doc" value="docs"/> <property name="javadoc.path" value="javadoc.path"/> *************** *** 19,27 **** <path id="wtk.path"> <!-- These exist in WTK 2.1 --> ! <pathelement location="${j2me.home}/lib/cldcapi10.jar" /> ! <!-- <pathelement location="${j2me.home}/lib/midpapi10.jar" /> --> ! <pathelement location="${j2me.home}/lib/midpapi20.jar" /> <!-- This exists in WTK 1.04 --> ! <pathelement location="${j2me.home}/lib/midpapi.zip" /> <!-- This is where you can put any OEM-specific JARs --> <fileset dir="ext"> --- 19,27 ---- <path id="wtk.path"> <!-- These exist in WTK 2.1 --> ! <pathelement location="${wtk.home}/lib/cldcapi10.jar" /> ! <!-- <pathelement location="${wtk.home}/lib/midpapi10.jar" /> --> ! <pathelement location="${wtk.home}/lib/midpapi20.jar" /> <!-- This exists in WTK 1.04 --> ! <pathelement location="${wtk.home}/lib/midpapi.zip" /> <!-- This is where you can put any OEM-specific JARs --> <fileset dir="ext"> *************** *** 73,76 **** --- 73,77 ---- <target name="compile" description="Compile Synclast UI classes"> + <mkdir dir="ext" /> <mkdir dir="build" /> <copy todir="build"> *************** *** 98,107 **** <target name="demo" description="Copy demo application to WTK apps directory" depends="dist"> ! <copy todir="${j2me.home}/apps"> <fileset dir="examples"> <include name="SynclastUIDemo/**" /> </fileset> </copy> ! <copy todir="${j2me.home}/apps/SynclastUIDemo/lib" file="dist/synclast-ui.jar" /> </target> --- 99,108 ---- <target name="demo" description="Copy demo application to WTK apps directory" depends="dist"> ! <copy todir="${wtk.home}/apps"> <fileset dir="examples"> <include name="SynclastUIDemo/**" /> </fileset> </copy> ! <copy todir="${wtk.home}/apps/SynclastUIDemo/lib" file="dist/synclast-ui.jar" /> </target> |