Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Can Oomph configure workspace views?
icon5.gif  Can Oomph configure workspace views? [message #1705473] Sun, 16 August 2015 12:45 Go to next message
Terabyte Mising name is currently offline Terabyte Mising nameFriend
Messages: 5
Registered: July 2009
Junior Member
Can oomph configure workspace views? for example
1) can I use oomph to setup an instance of eclipse where the package explorer is shown in place of the project explorer?
2) can I use oomph to setup an instance of eclipse where the "Check out maven project from SCM" appears on the immediate "File -> New" menu rather than hunting for it in "File -> New -> Other"
Re: Can Oomph configure workspace views? [message #1705656 is a reply to message #1705473] Tue, 18 August 2015 08:05 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Am 17.08.2015 um 13:53 schrieb Terabyte Mising name:
> Can oomph configure workspace views? for example 1) can I use oomph to setup an instance of eclipse where the package
> explorer is shown in place of the project explorer?
No, we have no such task, yet.

> 2) can I use oomph to setup an instance of eclipse where the "Check out maven project from SCM" appears on the
> immediate "File -> New" menu rather than hunting for it in "File -> New -> Other"

The trick is as follows:

1) Open your installation.setup file in the Setup Editor.
2) Create a Maven Import task via the context menu New Child -> Additional Tasks ->
3) Follow the Oomph Extension Installation wizard that pops up and do the final restart
4) Find the following new "enablement" tasks in your installation.setup file:

<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmi:version="2.0"
xmlns:xmi="http://www.omg.org/XMI"
xmlns:setup="http://www.eclipse.org/oomph/setup/1.0"
xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0">
<setup.p2:P2Task>
<repository
url="${setup.webtools.p2}"/>
</setup.p2:P2Task>
<setup:VariableTask
name="setup.webtools.p2"
value="http://download.eclipse.org/webtools/repository/luna"/>
<setup.p2:P2Task>
<requirement
name="org.eclipse.m2e.feature.feature.group"/>
<repository
url="${setup.m2e.p2}"/>
</setup.p2:P2Task>
<setup:VariableTask
name="setup.m2e.p2"
value="http://download.eclipse.org/technology/m2e/milestones/1.5"/>
<setup.p2:P2Task>
<requirement
name="org.eclipse.oomph.setup.maven.feature.group"/>
<repository
url="${setup.maven.p2}"/>
</setup.p2:P2Task>
<setup:VariableTask
name="setup.maven.p2"
value="${oomph.update.url}"/>
</xmi:XMI>

5) Copy them (or the XML snippet above) into your user.setup file

From now on the Maven Import task will be pre-installed in all your installations, which also makes its New action move
from the Additional Tasks submenu directly to the New Child menu.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:Oomph setup for PyDev
Next Topic:"Skip automoatic task execution at startup time" set as default?
Goto Forum:
  


Current Time: Mon Dec 09 10:01:17 GMT 2024

Powered by FUDForum. Page generated in 0.03059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top