Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Help needed in how to get started with Oomph
Help needed in how to get started with Oomph [message #1751586] Wed, 11 January 2017 16:58 Go to next message
Joshua Street is currently offline Joshua StreetFriend
Messages: 8
Registered: April 2013
Junior Member
I am having trouble understanding how I should use Oomph to help our developers maintain a working IDE for a particular web application we develop. First, some specifics about the application development setup.

We are using gradle, and our application is broken into several projects (a multi-project build). We are not on Git and use Accurev. We test locally using websphere liberty. We will, however, be eventually moving to Git.

What I think I would like to have is Oomph setting up Eclipse for J2EE developers with some additional plugins for things like code coverage, sonarqube, and Websphere Developer Tooling. I managed create a Product setup that does this (I had to copy the P2 Director node of the J2EE developer setup to get all of the requirements since I didn't see the ability to extend an existing setup). I am not sure how to apply preferences and setting up servers however since the wiki doesn't state if this is possible in a product setup.

Is the product setup the right type to use? Should I store a project setup instead in our repository for the application and do everything there? A lot of documentation seems to use project setups and not product ones.

I guess I am a little lost on this..
Re: Help needed in how to get started with Oomph [message #1751589 is a reply to message #1751586] Wed, 11 January 2017 17:21 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Assuming what you have for source code control support a project set file, you could use a project set file to import the projects. But it sounds like you're mostly focused on purely an installation, not on getting something into the workspace.

I've been doing some prototyping on product extensions, but yes, if you want to define purely a product, copying a base product and adding to it makes sense. You might want to keep your p2 task separate from the one you copy in case you want to copy it again later. The two p2 tasks will be merged automatically.

If you have your product setup open, you can use the toolbar button to record preferences into that setup. Yes it is possible in a product setup. A project setup is useful if you also want to provision the workspace with content. E.g., you might import a project set file that imports the projects from the source code repository (assuming that Accurev supports that). You can store the setup anywhere you like but of course you want it to be accessible to all the clients, so at some http accessible location would be ideal.

What's special about a project setup is that there is a workspace task (generally in the project catalog), and that ensures that the installation is launched with a specific workspace that's created during installation. It also makes the workspace.location variable available to define tasks that apply to the workspace location. (If you look at other threads though, you can access this location via the OSGi variable for it; I'd have to find the thread and it's late now for me)...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Help needed in how to get started with Oomph [message #1751593 is a reply to message #1751589] Wed, 11 January 2017 17:37 Go to previous messageGo to next message
Joshua Street is currently offline Joshua StreetFriend
Messages: 8
Registered: April 2013
Junior Member
Thanks for your reply. I ended up following the text on the wiki for adding WST servers but when I installed the product, no servers showed up and there was no project for the server information created.

I think it would be nice to have a workspace and projects all setup automatically. I am not sure how importing projects through oomph and gradle will interact.

Thinking about it more, I am envisioning a user doing the following:

- Use accurev to create the local workspace area (workspace in Accurev not in Eclipse) and download the sources

- Use the eclipse installer to select either a specific product setup, or a project setup that can somehow enforce a specific eclipse version (J2EE).

- Enter the location of where the accurev workspace is when doing the install

- The eclipse installer would then install eclipse, setup a workspace with the gradle-based projects in place and setup the necessary server

I hope that makes sense and I hope I have the right thinking on this. Frankly, Accurev has a terrible plugin for eclipse so I'm not sure if its usable to have eclipse download the projects first. And there's gradle to consider...

[Updated on: Wed, 11 January 2017 17:39]

Report message to a moderator

Re: Help needed in how to get started with Oomph [message #1751641 is a reply to message #1751593] Thu, 12 January 2017 07:43 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Note that there is relatively new support for configurations:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Automation_and_Specialization_with_Configurations

This would let you specify a product version selection and one or more project stream selections to ensure that the combination you want to have used, is used.

Of course if you're using the Eclipse products as a basis, in your project setup you can always specify all the requirements for the things you want to have installed regardless of what might be installed because of the product version selection. The Eclipse product catalog provides the Eclipse Platform product (org.eclipse.platform.ide) which is the smallest Eclipse base against which you could install. It doesn't even provide JDT, or PDE, only the IDE with support for a workspace, e.g., the Navigator. You could test that when your project stream is selected, that even in this case, all the features you want to have installed are present.

I don't know much about Gradle, but I know the Xtext project uses Oomph and uses Gradle...


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Product Setup Update
Next Topic:Replace Workspace-mechanics with Oomph
Goto Forum:
  


Current Time: Thu Dec 26 11:58:10 GMT 2024

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

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

Back to the top