Markus,

I'm (slowly) catching up on EclipseME stuff and wanted to touch base on 
this issue.

Can you describe again, what you are seeing in terms of the file:// 
URL?  As far as I know, EclipseME is not creating anything using that 
URL.  Unless a user uses a file:// URL, I think EclipseME is just using 
relative URL's.  Is that true or is there a case you are seeing that 
EclipseME actually puts a file URL into the JAD file?

Thanks,
Craig

Markus Sinner wrote:
> Hello Gary,
>
> please always answer to the mailing list :-)
>
> I think the file-problem i have reportet in the past. Does it work, if
> you delete the file:// prefix? And could you paste the contents of the
> deployed Jad-File, which is used by S60-Emulator?
>
> Greetings,
> Markus
>
> Gary Plante schrieb:
>   
>> Hi Markus,
>>
>> I am using the "Midlet:" option. I have also tried switching off my
>> virus-scanner, but it has no effect.
>>
>>
>>
>> I have now also tried the "JAD URL:" option and the jar file problem goes
>> away - but then launching the emulator fails (Symbian error -10505)?
>>
>> If I remove the reference to the jar file from the Jad file, and then use
>> the "JAD URL:" option (have to add the classpath as extra emulator
>> parameters) then it seems to complete the startup sequence OK, but the
>> debugger doesn't connect and the test Midlet throws an exception in the
>> emulator.
>>
>> If I use "JAD URL:" option and point it to a JAD/JAR file created by
>> NetBeans (sorry, I am desperate) then it loads and connects OK!
>>
>> I hope this helps.
>>
>> Thanks,
>>
>> Gary
>>
>> PS. When you set up the "JAD URL:" option, then the dialog will only accept
>> the url if it starts with "file:/..." - but this causes the emulator to not
>> recognise the file. Manually deleting the "file:" seems to work even if the
>> dialog complians that it is invalid.
>>
>> PPS. I will be out of office till Monday.
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: Markus Sinner [mailto:[EMAIL PROTECTED]
>> Sent: 08 August 2007 03:00 PM
>> To: '[email protected]'
>> Cc: Gary Plante
>> Subject: Re: [Eclipseme-users] Nokia S60 Emulator Jar Problem
>>
>>
>> The problem may be, that the JAD-File does not contain the correct
>> filesize of the Jar. How do you run the emulator/which of the fallowing
>> methods are you using?
>> - "Midlet:"
>> - "JAD URL:"
>> - "Over the Air"
>>
>> Another problem with the S60 Emulator is an active virus-scanner. I
>> could not run the S60 Emu until I added the installation-path of my
>> S60-SDK to the directories to be ignored by that scanner.
>>
>> Greetings,
>> Markus
>>
>> Gary Plante schrieb:
>>     
>>> Hi.
>>>  
>>> I am trying to run some of the Nokia SDK samples on the Nokia S60
>>> emulator. The emulator launches, but at the 'Create Jar File' step it
>>> always fails with an exception (see below). If I run the emulator from
>>> the command line (using the class files; not the jar file), then it
>>> seems to run OK.
>>>  
>>> Do you have any ideas what the problem could be?
>>>  
>>> System Info:
>>>  
>>> Eclipse:        3.3.0 (tried 3.2 too)
>>> EclipseME:   1.7.3
>>> Java SDK:     j2sdk1.4.2_15
>>> Windows:     XP
>>> S60 SDK:    S60_3rd_MIDP_SDK_FP1
>>>  
>>> The Symbian SDK error dialog box shows:
>>>  
>>> Jar file could not be initialized.
>>> Caught Exception:
>>> java.util.zip.ZipException:invalid entry compressed size (expected 919
>>> but got 923 bytes)
>>> java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
>>> ...
>>>  
>>> The log file shows:
>>>  
>>> !ENTRY eclipseme.core 1 0 2007-08-03 10:55:47.066
>>> !MESSAGE Command line: cmd /c emulator.exe -Xdebug
>>> -Xrunjdwp:transport=dt_socket,suspend=y,server=y,address=2485 -classpath
>>>
>>>       
>> C:\work\sbb\j2me\nokiaS60\HelloWorld\.eclipseme.tmp\emulation\HelloWorld.jar
>>     
>>> -Xdevice:S60Emulator
>>>
>>>       
>> -Xdescriptor:C:\work\sbb\j2me\nokiaS60\HelloWorld\.eclipseme.tmp\emulation\H
>> elloWorld.jad
>>     
>>> com.nokia.midp.examples.lcdui.helloworldplus.HelloWorldPlusMIDlet
>>>  
>>> !ENTRY eclipseme.core 4 120 2007-08-03 10:56:48.525
>>> !MESSAGE Couldn't connect to virtual machine
>>> !STACK 0
>>> java.net.ConnectException: Connection refused: connect
>>>  at java.net.PlainSocketImpl.socketConnect(Native Method)
>>>  at java.net.PlainSocketImpl.doConnect(Unknown Source)
>>>  at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>>>  at java.net.PlainSocketImpl.connect(Unknown Source)
>>>  at java.net.SocksSocketImpl.connect(Unknown Source)
>>>  at java.net.Socket.connect(Unknown Source)
>>>  at java.net.Socket.connect(Unknown Source)
>>>  at java.net.Socket.<init>(Unknown Source)
>>>  at java.net.Socket.<init>(Unknown Source)
>>>  at
>>>
>>>       
>> org.eclipse.jdi.internal.connect.SocketTransportService$2.run(SocketTranspor
>> tService.java:136)
>>     
>>>  at java.lang.Thread.run(Unknown Source)
>>>  
>>>  
>>>
>>> Thanks,
>>>
>>> *Gary Plante* (System Engineer)
>>> Spescom DataVoice (Pty) Ltd, PO Box 582, Stellenbosch, 7599, South Africa
>>> Tel : +27 (0)21 888-2114  Fax : +27 (0)21 888-2200
>>> Email : [EMAIL PROTECTED]
>>> _http://www.datavoice.spescom.com <http://www.datavoice.spescom.com/>_
>>>
>>>  
>>>
>>>
>>> This e-mail is sent on the Spescom Terms and Conditions that can be
>>> accessed by clicking on this link http://www.spescom.com/email.html
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >>  http://get.splunk.com/
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Eclipseme-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/eclipseme-users
>>>
>>>       
>
>   

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Eclipseme-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/eclipseme-users

Reply via email to