Community
Participate
Working Groups
In our development scenario we have the requirement to use Java but this will be hidden from the user. Java code will be generated under the covers and will need to be compiled. With the current activities support it there any way to prevent activities from being enabled automatically when creating, import, checking out, etc. a project that is based on an additional nature which is required due to "plumbing". Using the attached sample, try the following to see the point that we are trying to make. 1. Start a clean Run-time workbench 2. Window > Preferences Workbench > Capabilities Turn off all capabilities Press OK 3. Notice that in Window > Open Perspective > Other... and Window > show View > Other... there is no mention of Java 4. File > New > Other... Check "Show All Wizards." Select "Business Integration > WBI Project" Press Next Enter a project name Press Finish 5. Notice that in Window > Open Perspective > Other... and Window > show View > Other... there is no mention of Java 6. Notice that in Window > Preferences ... Workbench > Capabilities the Java Development is now enabled
Created attachment 11846 [details] Example
I get an error trying to create that project, but the activity is still enabled (along with Java). Additionally, when Java is enabled we see the Java Perspectives and Views in the Other... menus. Are you sure you didn't see those? This is the desired behaviour at this time. In order to support existing workspaces we need to enable activities based on natures - we don't have a mechanism to selectively ignore certain natures just because they're needed under the hood. We wont have this support for 3.0. For future reference, what would you like to see here? How would you like to indicate that Java needn't be enabled if your nature is detected in conjunction with it?
Oops, copy and paste got the best of me again! Number 5 should have stated: 5. Notice that in Window > Open Perspective > Other... and Window > show View > Other... there is now mention of Java Need to think about your questions further, I will try to reply later today.
Have you had time to consider it?
Deferring
Marking as closed without due to lack of input. Please reopen if you can clarify your use.