Bug 248416 - "Run from JAD" in jad editor doesn't work if project is renamed
Summary: "Run from JAD" in jad editor doesn't work if project is renamed
Status: CLOSED FIXED
Alias: None
Product: MTJ (Archived)
Classification: Tools
Component: MTJ projects (show other bugs)
Version: 0.9   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 0.9   Edit
Assignee: Hugo Raniere CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2008-09-24 07:35 EDT by Hugo Raniere CLA
Modified: 2008-10-15 09:22 EDT (History)
2 users (show)

See Also:


Attachments
fix for this bug (2.10 KB, patch)
2008-09-25 12:04 EDT, Hugo Raniere CLA
no flags Details | Diff
fix for this bug (2.10 KB, patch)
2008-09-25 12:04 EDT, Hugo Raniere CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Raniere CLA 2008-09-24 07:35:54 EDT
Overview: 

    If a project that was previously launched as emulated Java ME JAD is renamed, the links 'Launch as emulated Java ME JAD' and 'Launch as emulated Java ME JAD in Debug mode' on the Application Descriptor editor won't work anymore until an Eclipse restart.

Steps to Reproduce: 

    1) Open the Application Descriptor editor of an existing MIDlet project
    2) On the 'Overview' tab click on 'Launch as emulated Java ME JAD'
    3) Close the emulator (the running instance from step 2)
    4) Rename the project ('Refactor' > 'Rename...')
    5) On the 'Overview' tab click on 'Launch as emulated Java ME JAD' again

Actual Results: 

    The emulator does not on the second call to 'Launch as emulated Java ME JAD'

Expected Results:

    The emulator running and the MIDlet suite started properly.

-----------Enter bugs above this line-----------
MTJ (version) 0.9RC1
Installation : eclipse-SDK-3.4.0 (I20080617-2000) 
MTJ install  : mtj-runtime
java.runtime : Sun 1.5.0_11
os.name:     : Windows XP 5.1, Service Pack 2
------------------------------------------------
Comment 1 Hugo Raniere CLA 2008-09-25 12:04:23 EDT
Created attachment 113478 [details]
fix for this bug

Patch for this bug.

It closes the JAD editor if the project is renamed, moved, closed or deleted, in the same way the Manifest Editor in PDE does.

When the user reopen the editor, the run/debug links work sucessfully
Comment 2 Hugo Raniere CLA 2008-09-25 12:04:37 EDT
Created attachment 113479 [details]
fix for this bug

Patch for this bug.

It closes the JAD editor if the project is renamed, moved, closed or deleted, in the same way the Manifest Editor in PDE does.

When the user reopen the editor, the run/debug links work successfully.
Comment 3 Hugo Raniere CLA 2008-09-26 14:19:23 EDT
Patch committed to SVN.
Comment 4 Gustavo de Paula CLA 2008-10-15 09:22:30 EDT
all bugs we integrated and release on MTj 0.9