I've found an integration problem between EclipseME and the Nokia
Series 40 Platform emulator. The emulator doesn't recognise the DOS
short names (DOCUME~1 and LOCALS~1) in the emulation command generated
by EclipseME. The symptom is an "Invalid file" message displayed *in
the emulator* when the midlet is launched.

Example emulator command:

   D:\WTK\Nokia\Nokia_S40_DP20_SDK_1_1\bin\S40_DP20_1_1_EM.exe
-parent_port 2810 -classpath
"D:\peachpit\BluetoothChat\verified\classes"
"C:\DOCUME~1\jeff\LOCALS~1\Temp\_eclipseme.tmpjeff\launch_14667.j2me\BluetoothChat.jad

To prove that emulator didn't like the short name, I ran the above at
the DOS command line but substituting the DOS short name with the DOS
long name and my midlet was successfully launched in the emulator.

As a workaround to enable EclipseME to work with the Nokia emulator,
I've changed my "TMP" user environment variable under My Computer |
Advanced  | Environment variables to point to c:\temp instead of
%USERPROFILE%\Local Settings\Temp. This avoids the
DOS long name altogether thus making EclipseME generate an emulator
command that it can recognise.

Hope this helps anyone who comes across a similar problem. Other than
that, the EclipseME plugin is very sweet.


Jeff

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to