Bug 239402 - Problems of launching in JAD mode
Summary: Problems of launching in JAD mode
Status: CLOSED FIXED
Alias: None
Product: MTJ (Archived)
Classification: Tools
Component: Core (show other bugs)
Version: 0.9   Edit
Hardware: All Windows XP
: P3 normal (vote)
Target Milestone: 0.9   Edit
Assignee: Diego Madruga Sandin CLA
QA Contact:
URL:
Whiteboard:
Keywords: core
Depends on:
Blocks:
 
Reported: 2008-07-03 04:08 EDT by Gang(Allen) Ma CLA
Modified: 2008-10-15 09:23 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gang(Allen) Ma CLA 2008-07-03 04:08:07 EDT
there is a problem about JAD launching while using Motolora or Nokia SDK, it just prints the message "Descriptor not found" and no emulator launches, the generated launched command maybe not suitable for those sdks,

the generated commandline is "emulator.exe -Xdevice:A910 -Xdescriptor:file:/D:/dev/runtime-clipseApplication/demos/deployed2/demos.jad", I can run the commandline in command mode only after removing the "file:/" characters.

but it works well while using sun's SDK.
Comment 1 Gustavo de Paula CLA 2008-07-13 08:51:43 EDT
i thought that this issue was already fix on MTJ. i will double check. the problem is that both nokia and motorola implemented UEI in a way that the descriptor file must start with "file://", while WTK accepts both "file://" and "file:/". originally eclipseME generated an emulator command line with "file:/" and thats why it fails both with nokia and mot.

i had a bug on eclipseME, and i thought that craig has fixed it before we stated MTJ. i will double check

:)
gep 
Comment 2 Gang(Allen) Ma CLA 2008-07-16 03:09:45 EDT
I have checked out the latest code from SVN, the bug has not been fixed, the generated command line still start with"file:/", I try to change it to start with "file://" by hand, and it still can't run with moto and nokia SDKs, my test environment is windows xp.

(In reply to comment #1)
> i thought that this issue was already fix on MTJ. i will double check. the
> problem is that both nokia and motorola implemented UEI in a way that the
> descriptor file must start with "file://", while WTK accepts both "file://" and
> "file:/". originally eclipseME generated an emulator command line with "file:/"
> and thats why it fails both with nokia and mot.
> 
> i had a bug on eclipseME, and i thought that craig has fixed it before we
> stated MTJ. i will double check
> 
> :)
> gep 
> 

Comment 3 Diego Madruga Sandin CLA 2008-07-17 08:35:30 EDT
(In reply to comment #2)
> I have checked out the latest code from SVN, the bug has not been fixed, the
> generated command line still start with"file:/", I try to change it to start
> with "file://" by hand, and it still can't run with moto and nokia SDKs, my
> test environment is windows xp.
> 
> (In reply to comment #1)
> > i thought that this issue was already fix on MTJ. i will double check. the
> > problem is that both nokia and motorola implemented UEI in a way that the
> > descriptor file must start with "file://", while WTK accepts both "file://" and
> > "file:/". originally eclipseME generated an emulator command line with "file:/"
> > and thats why it fails both with nokia and mot.
> > 
> > i had a bug on eclipseME, and i thought that craig has fixed it before we
> > stated MTJ. i will double check
> > 
> > :)
> > gep 
> > 
> 

The Motorola SDK wont work with the "file://" string before the path to the jad file.  I will remove the "file.toURL().toString()" when selecting the jad location and use a new way to validate the jad location.
Comment 4 Diego Madruga Sandin CLA 2008-07-17 14:08:11 EDT
Removed the "file:/" prefix while executing JAD files. Now works on Nokia and Motorola SDKs
Comment 5 Gustavo de Paula CLA 2008-10-15 09:23:19 EDT
all bugs we integrated and release on MTj 0.9