Palladio Component Model tool version 4.0. PCM 4.0 is the latest Palladio-Bench release (release date 06.11.2015).
What's new / Release Notes
- Support for Eclipse Luna and Eclipse Mars.
- EDP2 comes as new feature to support storage, evaluation, and presentation of experiment data. EDP2 is realized using EMF and replaces the now deprecated Sensorframework.
- ProtoCom supports Java EE Servlets. Prototypes can now be generated for SAP Hana Cloud as target environments and directly be set into operation.
- PCM elements are now CDO-enabled, enabling advanced storing options for these elements.
- PCM has now a dedicated stereotyping mechanism, allowing to attach custom model annotations. For more information please refer to MDSDProfiles.
- SimuLizar, an interpreter-based simulation with support for self-adaptive PCM models, is part of the release as an optional add-on.
- Experiment Automation enables users to conduct a set of Palladio simulation runs for varying parameters. It is part of the release as an optional add-on.
- The current LQN Solver version 5.8-6 and the LINE solver are now supported (see PCM2LQN).
Maintenance and Developer Frameworks
- Changed Java name space to "org.palladiosimulator" in several projects (e.g., most core and analyzer projects). Most crucially, the name space of the PCM itself was changed accordingly
- Same as above holds also for metamodel namespaces / URIs (e.g., moved from "http://sdq.ipd.uka.de/PalladioComponentModel" to "http://palladiosimulator.org/PalladioComponentModel")
- The underlying measurement and analysis framework for all Palladio analyzers (solver, SimuCom, ...) has completely been refactored
- Pipes & Filters was removed
- Sensorframework is marked as deprecated (use EDP2 now)
- All analysis data is typed via the Metric Specification Framework
- SimuCom code generation is now based on xtend
Eclipse Marketplace (Recommended)
Release Update Site
You can easily install the Palladio Bench in an existing Eclipse Luna or Eclipse Mars Modelling edition. The Palladio tooling is available at a central eclipse update site containing all known Palladio Core and Addon features. Direct your "Install new software" dialog at the Palladio Simulator update site. Then select any combination of Palladio Core, Addon or Support features.
Palladio Bench 4.0 Product Builds
Eclipse Luna based All-In-One products to run Palladio and its core features out of the box are provided under Palladio Bench download site. Just download the appropriate Zip file for your system and extract and run it like you would run a normal Eclipse installation. In case you need additional Palladio Features you can use the preconfigured "Install new software..." dialog with the Palladio Bench Update site selected.
Please don't use the built-in ZIP functionality of Windows OS - it is known to cause problems with Eclipse ZIP files. Instead, try 7zip or alternatives.
You need Java SE Platform (JDK) 7 or higher in order to run Palladio-Bench.
Palladio comes with a Palladio Project Wizard providing templates for models to start with. Use "New Project -> Palladio Project" enter a project name and pick one of the provided example template projects.
Notes on migrating PCM Models (from PCM 3.5.0 or PCM Nightly)
Note that some namespaces have changed:
- PCM: "http://sdq.ipd.uka.de/PalladioComponentModel" to "http://palladiosimulator.org/PalladioComponentModel"
- PCM: "5.0" to "5.1"
- EDP2: "0.9.1" and "0.9.2" to "1.0"
- Stochastic Expressions: "2.1" to "2.2"
Migration is possible via a nice regular expression using Eclipse->Search->File
- Check "Regular expression"
- Pattern: *.*
- Scope: Workspace
- Hit "Replace"
Next, enter the following:
- Replace: http://palladiosimulator.org/PalladioComponentModel/(.*?)5.0
- With: http://palladiosimulator.org/PalladioComponentModel/$15.1
Proceed analogously with the following replacements:
Migration scripts for Windows and Mac at PCM Model Migration#3.5 to 4.0
Notes on migrating legacy client plugins
If you have any plugins you want to get ready for the upcoming Palladio 4.0 release, and which not part of our centrally maintained codebase and build infrastructure, you have to migrate your code or extension models. The major migration steps are
- Migrate import statements. One way to do this is to first replace the dependency to "de.uka.ipd.sdq.pcm" with "org.palladiosimulator.pcm". Repeat the process for other renamed plugins. Afterwards, run and Source->Organize imports which should resolve almost 90% of issues. Problems arise with ambiguous types like System, Role, or Entity. Here, you have to fix the imports manually.
- Migrate ecore files. In case you have created Ecore models by importing the PCM ecore file, first open your ecore and genmodel files and replace the references to "de.uka.ipd.sdq.pcm" with "org.palladiosimulator.pcm". Afterwards, open the genmodel, validate it, activate code cleanup and formatting in the settings and rerun the generator. Finally, adapt any generated not parts as described unter "Migrate import statements".
- As most Palladio models' code now has been generated to support CDO via dynamic feature delegation, you should now re-generate all code of your models that extend these Palladio models to use dynamic feature delegation. The easiest way to achieve this is by right-clicking your *.genmodel file and selecting "CDO" -> "Migrate EMF Generator Model (dynamic feature delegation)". Then, simply re-generate your model and edit code.
- Some users reported problems in opening (old) PCM models. Before filing a bug, try instantiating a new diagram based on a migrated model. If that worked, the old diagram files was corrupted, most likely due to Namespace changed (manually trying to migrate those diagrams is also an option; however, we did not test this option).