Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Papyrus has Oomph!
Papyrus has Oomph! [message #1404111] Tue, 29 July 2014 16:19 Go to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1128
Registered: July 2009
Location: Canada
Senior Member

Hi, all,

The Eclipse Oomph Installer now provides a set-up model for Papyrus,
making it easier than ever to get a complete Eclipse workbench up and
running for development on the Papyrus source code. Just download the
Oomph Installer [1] and follow the simple wizard to create your IDE and
import the Papyrus source projects that you want to work on.

Pick any product you like on the first page, but be sure it's the Luna
release of that product. On the second page, expand Eclipse.org /
Papyrus to see the various components that you can import to work on.
Pick any combination of the leaf-level sub-(sub-)projects, even all of
them if you like. In the third page where you specify variables such
as install location, workspace location, git clone, etc. be sure to
choose "Luna" for the Target Platform. This ensures that you will be
set up to work on Papyrus Luna (SR1), which is the only development
stream currently supported by the setup model (until Mars development
gets under way).

Contributing your changes is easy because Oomph will clone the Papyrus
Git repository for you and configure Gerrit push.

Amongst possibly other details, the setup model configures:

* your IDE with all of the tools needed to edit and build the source
projects you choose
* your workspace with a Git clone and the source projects imported
from it that you choose
* a PDE target that includes all of the dependencies required by
Papyrus plus the latest
nightly build of Papyrus, itself, so that you can import only a
subset of the (many) source
projects but still run the complete Papyrus toolset in a run-time workbench
* Mylyn queries for current open bugs and enhancements in the Papyrus
bugzilla database
* Mylyn queries for the status of the latest Papyrus automated
builds, including tests
* Mylyn queries for open Gerrit reviews
* preferences enforcing the Papyrus standard compiler and code
formatter/template settings

So, try it out! And raise bugs if you see any problems in the setup
configuration.

Thanks,

Christian

[1] https://wiki.eclipse.org/Eclipse_Oomph_Installer
Re: Papyrus has Oomph! [message #1409683 is a reply to message #1404111] Mon, 18 August 2014 18:25 Go to previous messageGo to next message
Ernesto Posse is currently offline Ernesto PosseFriend
Messages: 148
Registered: March 2011
Senior Member
Hi Christian.

I'm unable to install Papyrus using the Oomph setup. A couple of weeks ago I was able to, but about 10 days ago the Oomph installation seems to have broken.

I've been trying to recreate everything from scratch without any luck. To ensure that there are no conflicts and that I start from a clean slate, I remove my ~/.eclipse and ~/.p2 folders.

I select Eclipse Standard/SDK and then select the Papyrus UML-RT sub-project. (If I don't select any Papyrus components it works, but the problem occurs with other Papyrus components). Then after downloading a lot of things it stops with an extremely long stream of exceptions, which always begin with the excerpt attached in the error.log file, which is just the truncated setup.log (the full file is 4MB). This always seems to point to problems with "eclemma" sites, but it completely fails to create an environment: the resulting folder for the IDE contains only a sub-folder called "configuration" (with setup.log) and nothing else.

I also notice that three features are marked with an interrogation sign in the Oomph dialog just before beginning the bootstrap under "Nested Elements": one is EclEmma, the other one is "Findbugs" and I don't know what the third is (see attached screenshot).

Has something changed in the past 10 days in the papyrus setup model?

Can you help?

Thanks
Re: Papyrus has Oomph! [message #1412192 is a reply to message #1409683] Mon, 25 August 2014 14:18 Go to previous messageGo to next message
Christian W. Damus is currently offline Christian W. DamusFriend
Messages: 1128
Registered: July 2009
Location: Canada
Senior Member

Hi, Ernesto,

Sorry for the delayed response. I'm just now back from a few weeks of
vacation.

It seems that the FindBugs update site at the University of Maryland
has gone off-line and the only way to install that plug-in now is by
downloading a ZIP archive from their SourceForge page. That isn't so
easy to integrate into an Oomph setup, so I have removed the FindBugs
feature from the Papyrus setup model.

Installation should now work again using the latest Oomph installer.

The question mark decorations on some of the P2 Director requirements
are just indications that these features are optional; if they can't be
installed for some reason, then the setup should just proceed without
them. The problem in the FindBugs case was that the repository was not
available at all, which resulted in Oomph failing to complete any
install.

Cheers,

Christian

On 2014-08-18 18:25:11 +0000, Ernesto Posse said:

> Hi Christian.
>
> I'm unable to install Papyrus using the Oomph setup. A couple of weeks
> ago I was able to, but about 10 days ago the Oomph installation seems
> to have broken.
>
> I've been trying to recreate everything from scratch without any luck.
> To ensure that there are no conflicts and that I start from a clean
> slate, I remove my ~/.eclipse and ~/.p2 folders.
>
> I select Eclipse Standard/SDK and then select the Papyrus UML-RT
> sub-project. (If I don't select any Papyrus components it works, but
> the problem occurs with other Papyrus components). Then after
> downloading a lot of things it stops with an extremely long stream of
> exceptions, which always begin with the excerpt attached in the
> error.log file, which is just the truncated setup.log (the full file is
> 4MB). This always seems to point to problems with "eclemma" sites, but
> it completely fails to create an environment: the resulting folder for
> the IDE contains only a sub-folder called "configuration" (with
> setup.log) and nothing else.
>
> I also notice that three features are marked with an interrogation sign
> in the Oomph dialog just before beginning the bootstrap under "Nested
> Elements": one is EclEmma, the other one is "Findbugs" and I don't know
> what the third is (see attached screenshot).
>
> Has something changed in the past 10 days in the papyrus setup model?
>
> Can you help?
>
> Thanks
>
> <image><image>
Re: Papyrus has Oomph! [message #1746044 is a reply to message #1412192] Thu, 20 October 2016 18:55 Go to previous messageGo to next message
Guy Perron is currently offline Guy PerronFriend
Messages: 8
Registered: July 2013
Junior Member
Hi,

I have made several attempts at installing papyrus using oomph without success. I followed the steps described here:
https://wiki.eclipse.org/Papyrus_Developer_Guide.

The process takes me to the point where eclipse oxygen is installed and continues its configuration to setup a development environment but the result is a bit less than 6500 errors.

Has someone been able to successfully install lately ?
Re: Papyrus has Oomph! [message #1746290 is a reply to message #1746044] Wed, 26 October 2016 13:39 Go to previous message
Guy Perron is currently offline Guy PerronFriend
Messages: 8
Registered: July 2013
Junior Member
Update:
I have managed to get a selection that worked. After some tinkering though. Here it is:
papyrus infra
papyrus views
papyrus uml
papyrus sysml
papyrus all tests
releng - maven plugins
oomph setup

I unchecked the mirror box. That makes Oomph run without errors.

Once Eclipse does all its setup, I modify the oompg version management, but set it to NONE, unlike described in the Papyrus Developer guide.

Finally, I had to comment out 2 packages which were not found :
additional.bundles = org.eclipse.ocl.jdt.annotation7 in build.properties of org.eclipse.papyrus.uml.oclconstaintevaluation
org.eclipse.upr.utp;bundle-version="[0.9.0,1.0.0)", of MANIFEST.MF of org.eclipse.papyrus.tests.diagramassistants

After that I could start a debug version of papyrus.
Previous Topic:Customizing Papyrus content provider
Next Topic:Question about Papyrus UML Diagrams
Goto Forum:
  


Current Time: Tue Dec 06 06:19:31 GMT 2016

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

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