Community
Participate
Working Groups
As part of bug#134257, it is now possible to select a Execution Environment when creating a Java Project. The Plugin Project wizard should allow the same. BTW, it is curious that actually it is not possible to even select a JRE compliance on project creation.
when we first introduced the notion of EE, PDE did have it in the project wizard. People did not like it very much there, particularly since a plug-in may declare more than one EE, and the decision to do all that upfront was unnecessary. Unlike a Java project, the PDE plug-in manifest editor dedicates an entire section to the EE. Why do you feel the need to make all those EE decisions upfront?
(In reply to comment #1) > when we first introduced the notion of EE, PDE did have it in the project > wizard. People did not like it very much there, particularly since a plug-in > may declare more than one EE, and the decision to do all that upfront was > unnecessary. > At least for me, I always had need to specify only 1 EE, usually Java 5.0 for my own bundles, and Java 1.4 or 1.3 when packaging third party jars. > Unlike a Java project, the PDE plug-in manifest editor dedicates an entire > section to the EE. OK, nothing wrong with it, although I think it could be more integrated with JDT itself, i.e., I don't need to remember to click the hidden "update classpath" link after changing EE. But I'll consider opening another bug for this ;-) > > Why do you feel the need to make all those EE decisions upfront? > Well, for the same reason you can specify plugins ID, version, name, etc. on wizard's second page, i.e., I believe that in most cases people want to specify these information on project creation and forget about it. The same can apply for EE, when usually it is decided only once and possibly rarely changed.
It's all yours Gary. For inspiration, look at the product editor's Launching section. We'd want to do something very similar. I'd imagine something like this: Execution Environment: [J2SE-1.4] [Environments...] <Label> <combo> <button> If we wanted to get really fancy, we could go for a multi select combo box but I don't think we have an example of those anywhere. Although I swear I saw one of those somewhere in Eclipse, maybe it was in a dream.
Ah, if you create a new Java Project, the working sets selection has that tricky combo box illusion of it being a multi-select ;) I wouldn't worry about that though.
Hey Gary, were you able to make any headway on this? I'm looking to get this and bug 150225 in for M2 (which closes this week).
Created attachment 78890 [details] Patch
looks great Gary, thanks!
Created attachment 79045 [details] mylyn/context/zip
thanks again!
I didn't take a look yet, but anyway, thanks Gary!