Skip to content

Commit

Permalink
Update versions to support latest DICE Simulation Tool
Browse files Browse the repository at this point in the history
  • Loading branch information
abelgomez committed Dec 24, 2020
1 parent e8239ea commit 7a8eed8
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 37 deletions.
32 changes: 16 additions & 16 deletions es.unizar.disco.pnml.utils.feature/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<feature
id="es.unizar.disco.pnml.utils.feature"
label="PNML Utils"
version="0.2.2.qualifier"
version="0.3.0.qualifier"
provider-name="DisCo - Unizar">

<description url="https://github.com/dice-project/DICE-Simulation-Utils">
Expand Down Expand Up @@ -220,27 +220,27 @@ any resulting litigation.
</license>

<requires>
<import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.core.resources"/>
<import plugin="org.eclipse.core.expressions"/>
<import plugin="org.eclipse.emf.ecore.xmi"/>
<import plugin="fr.lip6.pnml.framework.coremodel" version="2.2.12" match="greaterOrEqual"/>
<import plugin="fr.lip6.pnml.framework.ptnet" version="2.2.12" match="greaterOrEqual"/>
<import plugin="fr.lip6.pnml.framework.utils" version="2.2.12" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.common" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.model" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.profiler" version="3.3.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.engine" version="3.3.0" match="greaterOrEqual"/>
<import feature="fr.lip6.pnml.framework.sdk" version="2.2.9" match="greaterOrEqual"/>
<import plugin="es.unizar.disco.pnml.m2t" version="0.3.2" match="greaterOrEqual"/>
<import feature="fr.lip6.pnml.framework.sdk" version="2.2.15" match="greaterOrEqual"/>
<import plugin="org.eclipse.ui" version="3.118.100" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.runtime" version="3.20.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.resources" version="3.13.900" match="greaterOrEqual"/>
<import plugin="org.eclipse.core.expressions" version="3.7.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.emf.ecore.xmi" version="2.16.0" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.common" version="3.7.10" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.model" version="3.7.10" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.profiler" version="3.7.10" match="greaterOrEqual"/>
<import plugin="org.eclipse.acceleo.engine" version="3.7.10" match="greaterOrEqual"/>
<import plugin="fr.lip6.pnml.framework.coremodel" version="2.2.15" match="greaterOrEqual"/>
<import plugin="fr.lip6.pnml.framework.ptnet" version="2.2.15" match="greaterOrEqual"/>
<import plugin="fr.lip6.pnml.framework.utils" version="2.2.15" match="greaterOrEqual"/>
<import plugin="es.unizar.disco.pnml.m2t" version="0.7.0" match="greaterOrEqual"/>
</requires>

<plugin
id="es.unizar.disco.pnml.utils"
download-size="0"
install-size="0"
version="0.2.2.qualifier"
version="0.3.0.qualifier"
unpack="false"/>

</feature>
2 changes: 1 addition & 1 deletion es.unizar.disco.pnml.utils/.classpath
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
org.eclipse.jdt.core.compiler.release=enabled
org.eclipse.jdt.core.compiler.source=11
31 changes: 16 additions & 15 deletions es.unizar.disco.pnml.utils/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: PNML Utils
Bundle-SymbolicName: es.unizar.disco.pnml.utils;singleton:=true
Bundle-Version: 0.2.2.qualifier
Bundle-Version: 0.3.0.qualifier
Bundle-Activator: es.unizar.disco.pnml.utils.PnmlUtilsPlugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.core.resources,
org.eclipse.core.expressions,
org.eclipse.emf.ecore.xmi,
fr.lip6.pnml.framework.coremodel;bundle-version="2.2.12",
fr.lip6.pnml.framework.ptnet;bundle-version="2.2.12",
fr.lip6.pnml.framework.utils;bundle-version="2.2.12",
org.eclipse.acceleo.common;bundle-version="3.3.0";visibility:=reexport,
org.eclipse.acceleo.model;bundle-version="3.3.0",
org.eclipse.acceleo.profiler;bundle-version="3.3.0",
org.eclipse.acceleo.engine;bundle-version="3.3.0",
es.unizar.disco.pnml.m2t;bundle-version="0.3.2"
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.eclipse.ui;bundle-version="3.118.100",
org.eclipse.core.runtime;bundle-version="3.20.0",
org.eclipse.core.resources;bundle-version="3.13.900",
org.eclipse.core.expressions;bundle-version="3.7.0",
org.eclipse.emf.ecore.xmi;bundle-version="2.16.0",
org.eclipse.acceleo.common;bundle-version="3.7.10";visibility:=reexport,
org.eclipse.acceleo.model;bundle-version="3.7.10",
org.eclipse.acceleo.profiler;bundle-version="3.7.10",
org.eclipse.acceleo.engine;bundle-version="3.7.10",
fr.lip6.pnml.framework.coremodel;bundle-version="2.2.15",
fr.lip6.pnml.framework.ptnet;bundle-version="2.2.15",
fr.lip6.pnml.framework.utils;bundle-version="2.2.15",
es.unizar.disco.pnml.m2t;bundle-version="0.7.0"
Bundle-RequiredExecutionEnvironment: JavaSE-11
Bundle-ActivationPolicy: lazy
Bundle-Vendor: DisCo - Unizar
Export-Package: es.unizar.disco.pnml.utils.pnml2dot
Automatic-Module-Name: es.unizar.disco.pnml.utils
Original file line number Diff line number Diff line change
Expand Up @@ -393,14 +393,20 @@ public void registerResourceFactories(ResourceSet resourceSet) {

/*
* TODO If you need additional resource factories registrations, you can register them here. the following line
* (in comment) is an example of the resource factory registration for UML.
* (in comment) is an example of the resource factory registration.
*
* If you want to use the generator in stand alone, the resource factory registration will be required.
*
* To learn more about the registration of Resource Factories, have a look at the Acceleo documentation (Help -> Help Contents).
*/

// resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(UMLResource.FILE_EXTENSION, UMLResource.Factory.INSTANCE);
// resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(XyzResource.FILE_EXTENSION, XyzResource.Factory.INSTANCE);

/*
* Some metamodels require a very complex setup for standalone usage. For example, if you want to use a generator
* targetting UML models in standalone, you NEED to use the following:
*/
// UMLResourcesUtil.init(resourceSet)
}

}

0 comments on commit 7a8eed8

Please sign in to comment.