Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Using one of papyrus's views in another eclipse tool

Hi Raphaël,

 

 

If you want to manipulate/compile all Papyrus plug-ins in your Eclipse environment, you need to increase the memory available for the Java VM. I typically use the following settings for development:

 

--launcher.XXMaxPermSize

512M

--launcher.appendVmargs

-vmargs

-Dosgi.requiredJavaVersion=1.6

-Xms40m

-Xmx1024m

 

(Default is 256 for PermSize and 512 for heap space)

 

To avoid most compile errors, the easiest solution is to install Papyrus in your development environment. This will guarantee that all required dependencies are available. Then, the remaining errors are typically caused by missing dependencies for optional plug-ins (Some plug-ins in the source repository are not installed by default, which means their dependencies are not installed either). These plug-ins can typically be closed/removed from the workspace (This is especially the case for all “developer” plug-ins)

 

 

You also need to be aware of Papyrus compatibilities. Papyrus 0.10.x (branch “streams/0.10-maintenance”) is compatible with Eclipse Kepler (4.3.x), while Papyrus 1.0.x (branch “master”) is compatible with Eclipse Luna 4.4 M5.

 

 

Regards,
Camille

__________________________

Camille Letavernier

+33 (0)1 69 08 00 59 - camille.letavernier@xxxxxx

CEA LIST - Laboratoire d'Ingénierie dirigée par les modèles pour les Systèmes Embarqués (LISE)

Papyrus : http://www.eclipse.org/papyrus

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Raphaël Beamonte
Envoyé : jeudi 13 février 2014 23:07
À : mdt-papyrus.dev@xxxxxxxxxxx
Objet : [mdt-papyrus.dev] Using one of papyrus's views in another eclipse tool

 

Hello Papyrus' folks,

I'm currently working on using modeling to do automated performance analysis with MARTE and LTTng. The first step I wanted to reach is to be able to setup a developer environment for papyrus so I'll be able to understand what is its structure and use its API and views in another eclipse tool's view.
The problem here is that when I follow the steps described in [1], I end up having more than 10000 errors during the build. Moreover, there is often a GC out of memory error even on a computer with 16GB of RAM when I try to correct the missing dependencies.

Would it be possible to explain me how to setup the developper environment, and which packages I should import to have a working version of Papyrus in which I can investigate ?

Thanks,

RB

[1]: https://wiki.eclipse.org/Papyrus_Developer_Guide


Back to the top