Sirius 5.1.3
[525466] Fix error marker persisting after modeling project conversion

In ModelingProjectManagerImpl.doAddModelingNature, the error marker
about the lack of aird is now created only if the exception is not the
one about zero representations file. The removal in this situation was done
by DefaultModelingProjectResourceListener.resourceChanged which was 
sometimes called before the marker creation.

A synchronized access to ModelingProject instance has been added in
ModelingProjectManagerImpl.doAddModelingNature to compute the main
representations file correctly and avoid modifications of the valid
attribute by other thread during the computation.

Bug: 525466
Change-Id: Ic1d2ffe1b79331bc0318459af0219237d0a36146
Signed-off-by: Pierre Guilet <pierre.guilet@obeo.fr>
2 files changed
tree: 3b1dc3088f66849dbb7d348cdbaa6b3dbdda5f9c
  1. packaging/
  2. plugins/
  3. releng/
  4. .gitattributes
  5. .gitignore
  6. .travis.yml
  7. build.sh
  8. CONTRIBUTING.md
  9. pom.xml
  10. README.md
README.md

Eclipse Sirius

Build Status

Sirius enables the specification of a modeling workbench in terms of graphical, table or tree editors with validation rules and actions using declarative descriptions.

For more details see the project page and the main wiki page.

Building

The build uses Tycho. To launch a complete build, issue

mvn clean package

from the top-level directory. The resulting update-site (p2 repository) can be found in packaging/org.eclipse.sirius.update/target/repository.

By default the build uses a Neon-based target platform. You can specify a different platform like this:

mvn clean package -Dplatform-version-name=name

where name can be any of the following values:

  • mars (Eclipse 4.5)
  • neon (Eclipse 4.6, the default and reference target platform)
  • canary (uses nightly builds of all our dependencies, only used for testing)

The corresponding target platform definitions can be found in releng/org.eclipse.sirius.targets.