Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 368990 - Default value for the applicationXMI parameter
Summary: Default value for the applicationXMI parameter
Status: CLOSED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-18 12:00 EST by Lars Vogel CLA
Modified: 2012-05-10 17:15 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.