|
Re: Can Oomph configure workspace views? [message #1705656 is a reply to message #1705473] |
Tue, 18 August 2015 08:05 |
|
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
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.03059 seconds