You Are Here:

Community: Developer Discussion Boards

#1 Old RE: using ANT to run the Series 60 MIDP emulator - 1970-01-01, 02:00

Join Date: Mar 2003
Posts: 77
moamoa
Offline
Regular Contributor
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>
Reply With Quote

#2 Old using ANT to run the Series 60 MIDP emulator - 2002-12-31, 06:23

Join Date: Mar 2003
Posts: 5
zohar_amir
Offline
Registered User
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...?
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia