| Summary: | Application can be launched only once | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Michael Spector <spektom> | ||||||
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> | ||||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P3 | CC: | pwebster, remy.suen, robert.scheibe | ||||||
| Version: | 1.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows Vista | ||||||||
| Whiteboard: | stalebug | ||||||||
| Attachments: |
|
||||||||
EDIT: After investigations, it seems like running the application for the second time doesn't work (not related to file changes in the project). Cleaning workspace does help. Michael, so you're saying that just running the app, shutting down and running again doesn't work? Hos did you change the e4xmi file? (text editor, Tom's editor...) If there anything in the .log file after the failing start ? Please read my comments above. The problem is in generated deltas.xml. (In reply to comment #3) > Michael, so you're saying that just running the app, shutting down and running > again doesn't work? > > Hos did you change the e4xmi file? (text editor, Tom's editor...) > > If there anything in the .log file after the failing start ? (In reply to comment #4) > The problem is in generated deltas.xml. Hi Michael, thank you for testing Eclipse 4. What did you change with the model before you shut it down? What did you change in your original e4xmi file before launching again? The problem is in the generated deltas.xml Once this file is removed, the application launches correctly. (In reply to comment #5) > (In reply to comment #4) > > The problem is in generated deltas.xml. > > Hi Michael, thank you for testing Eclipse 4. > > What did you change with the model before you shut it down? What did you change > in your original e4xmi file before launching again? (In reply to comment #6) > The problem is in the generated deltas.xml > Once this file is removed, the application launches correctly. Hi Michael, I can launch the application with and without the deltas file being there. Please attach your copy to this bug. Created attachment 198310 [details]
Deltas.xml
Here's generated deltas.xml that prevents from running the same application twice.
(In reply to comment #8) > Created attachment 198310 [details] > Deltas.xml Hi Michael, thank you for your deltas file. The model thinks that the window should not be rendered so this sounds like you are seeing a regression that I introduced when I first tried to fix bug 348069. You should try using a newer build where I reverted that fix. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. This is a mass change to close all e4 bugs marked with "stalebug" whiteboard. If this bug is still valid, please reopen and remove the "stalebug" keyword. |
Created attachment 197873 [details] UI Model I'm trying to build a sample e4 application. I have succeeded running the application once, but after changing Application.e4xmi it refused to run again. I've debugged the code, and it seemed like MApplication.getChildren() returned an empty list (even though the root still contained Trimmed Window). So, I removed the "Trimmed Window" from the model, and re-added it from scratch. Then I've run the application successfully, until I modified default.css. After modifying default.css it doesn't find any root elements again! Seems like modifying files in the project breaks something. I'm using Eclipse 4.1RC4. Please see the UI model attached.