Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368990

Summary: Default value for the applicationXMI parameter
Product: [Eclipse Project] e4 Reporter: Lars Vogel <Lars.Vogel>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: kai.toedter, Lars.Vogel, nepomuk.seiler, nobody, pwebster, tom.schindl
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Lars Vogel CLA 2012-01-18 12:00:21 EST
I'm currently updating my Eclipse 4 RCP Tutorial: http://www.vogella.de/articles/EclipseE4/article.html

After describing the initial setup I realized that it is relatively complex to set it up.

I think it would be an reasonable enhancement if E4Application could use a default value for the applicationXMI parameter.

Looks to me that in 251 in E4Application we could add something like:

if (xmiURI==null){//Use default; xmiURI=[pluginname]/Application.e4xmi;} 

I think a Convension for this file would help new starters
Comment 1 Thomas Schindl CLA 2012-01-18 12:10:49 EST
Convention over configuration is a good thing i think. I'll try to look into it
Comment 2 Lars Vogel CLA 2012-01-18 12:14:00 EST
@Tom: Great! Thanks a lot.
Comment 3 Kai Toedter CLA 2012-01-18 13:15:46 EST
+1
Comment 4 Nepomuk Seiler CLA 2012-01-18 14:06:07 EST
+1
Comment 5 Lars Vogel CLA 2012-05-10 13:56:45 EDT
Solved by a patch in another bug.
Comment 6 Nobody - feel free to take it CLA 2012-05-10 17:15:36 EDT
For reference it was solved in bug 306623.