| Reply | « Previous Thread | Next Thread » |
|
I do it like this, and run the emulator that comes with the Sun distribution. So long as the 60 series is set as the default emulator, you can ommit the "device" tag.
<target name="run" depends="build"> <exec executable="${midp}/bin/emulator"> <arg line="-Xdevice:${device}"/> <arg line="-Xdescriptor:build/bin/${app}.jad"/> </exec> </target> |
|
Hello,
I'm trying to use ANT to build my MIDlet and run it in the S60 emulator. This is my task: <target name="run_nokia" depends="makeJar, makeJad"> <property name="Nokia60Dir" value="C:\Nokia\Devices\Nokia_Series_60_MIDP_Concept_SDK_Beta_0_1"/> <java classname="com.nokia.phone.sdk.Emulator"> <classpath path="${Nokia60Dir}/tools/emulator.jar:${jar.path}"/> <sysproperty key="emulator.home" value="${Nokia60Dir}"/> <arg value="-jad ${jad.path}"/> </java> </target> What I get as a result is: [java] Emulator command: C:\Nokia\Devices\Nokia_Series_60_MIDP_Concept_SDK_Beta_0_1\bin\midp -classpath C:\Nokia\Devices\Noki a_Series_60_MIDP_Concept_SDK_Beta_0_1\lib\classes.zip -DcommandPort=4258 -DmirrorPort=4259 -jad E:\work\ant_test/bin/Messenger.jad Notice that the classpath is missing an element (${jar.path} which is not empty - I checked). Any ideas...? |
| zohar_amir |
| View Public Profile |
| Find all posts by zohar_amir |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|