rakshit 2 лет назад
Родитель
Сommit
56c8a0c687

+ 15 - 9
be.uantwerpen.msdl.vafl.docgen/META-INF/MANIFEST.MF

@@ -1,14 +1,18 @@
 Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
-Bundle-Name: Acceleo Docgen Module Runtime Plug-in
-Bundle-SymbolicName: be.uantwerpen.msdl.vafl.docgen
+Bundle-Name: %pluginName
+Bundle-SymbolicName: be.uantwerpen.msdl.vafl.docgen;singleton:=true
+Automatic-Module-Name: be.uantwerpen.msdl.vafl.docgen
 Bundle-Version: 1.0.0.qualifier
+Bundle-ClassPath: .
 Bundle-Activator: be.uantwerpen.msdl.vafl.docgen.Activator
-Bundle-Vendor: Eclipse Modeling Project
-Require-Bundle: org.eclipse.core.runtime, 
- io.opencaesar.oml, 
- org.eclipse.emf.ecore,
- org.eclipse.emf.ecore.xmi,
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Require-Bundle: org.eclipse.core.runtime,
+ io.opencaesar.oml,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.eclipse.emf.ecore.xmi;visibility:=reexport,
  org.eclipse.ocl,
  org.eclipse.ocl.ecore,
  org.eclipse.acceleo.common;bundle-version="3.3.0",
@@ -16,8 +20,10 @@ Require-Bundle: org.eclipse.core.runtime,
  org.eclipse.acceleo.profiler;bundle-version="3.3.0",
  org.eclipse.acceleo.engine;bundle-version="3.3.0",
  com.google.guava
-Bundle-RequiredExecutionEnvironment: JavaSE-17
 Bundle-ActivationPolicy: lazy
 Eclipse-LazyStart: true
-Export-Package: be.uantwerpen.msdl.vafl.docgen.main
+Export-Package: be.uantwerpen.msdl.vafl.docgen.main,
+ org.w3._2002._07.owl,
+ org.w3._2002._07.owl.impl,
+ org.w3._2002._07.owl.util
 

+ 1 - 0
be.uantwerpen.msdl.vafl.docgen/bin/.gitignore

@@ -1 +1,2 @@
 /be/
+/org/

+ 8 - 3
be.uantwerpen.msdl.vafl.docgen/build.properties

@@ -1,5 +1,10 @@
+#
+
+bin.includes = .,\
+               model/,\
+               META-INF/,\
+               plugin.xml,\
+               plugin.properties
+jars.compile.order = .
 source.. = src/
 output.. = bin/
-bin.includes = META-INF/,\
-               .
-jre.compilation.profile = JavaSE-17

+ 4 - 0
be.uantwerpen.msdl.vafl.docgen/plugin.properties

@@ -0,0 +1,4 @@
+#
+
+pluginName = Owl2 Model
+providerName = www.example.org

+ 23 - 0
be.uantwerpen.msdl.vafl.docgen/plugin.xml

@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+-->
+
+<plugin>
+
+   <extension point="org.eclipse.emf.ecore.generated_package">
+      <!-- @generated owl2 -->
+      <package
+            uri="http://www.w3.org/2002/07/owl#"
+            class="org.w3._2002._07.owl.OwlPackage"/>
+   </extension>
+
+   <extension point="org.eclipse.emf.ecore.extension_parser">
+      <!-- @generated owl2 -->
+      <parser
+            type="owl"
+            class="org.w3._2002._07.owl.util.OwlResourceFactoryImpl"/>
+   </extension>
+
+</plugin>

+ 1 - 1
be.uantwerpen.msdl.vafl.docgen/src/be/uantwerpen/msdl/vafl/docgen/main/Generate.java

@@ -42,7 +42,7 @@ public class Generate extends AbstractAcceleoGenerator {
      *
      * @generated
      */
-    public static final String[] TEMPLATE_NAMES = { "generateElement" };
+    public static final String[] TEMPLATE_NAMES = { "generate" };
     
     /**
      * The list of properties files from the launch parameters (Launch configuration).

+ 7 - 2
be.uantwerpen.msdl.vafl.docgen/src/be/uantwerpen/msdl/vafl/docgen/main/generate.mtl

@@ -2,9 +2,14 @@
 [module generate('http://opencaesar.io/oml')]
 
 
-[template public generateElement(aType : Type)]
+[template public generate(bundle : VocabularyBundle)]
 [comment @main/]
-[file (aType.name, false, 'UTF-8')]
+[file ('ontology.tex', false)]
+%************************************************************
+% File: ontology.tex
+%
+% This file is automatically generated. Please do not edit!
+%************************************************************
 
 [/file]
 [/template]

+ 25 - 24
be.uantwerpen.msdl.vafl.docgen/tasks/generate.xml

@@ -1,40 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project default="generate" name="be.uantwerpen.msdl.vafl.docgen">
-    <property name="ECLIPSE_HOME" value="D:/VaFL/rosetta-1.4.0-win32.win32.x86_64"/>
-    <property name="ECLIPSE_WORKSPACE" value="D:/VaFL/rosetta-workspace"/>
+    <property name="ECLIPSE_HOME" value="D:/VaFL/eclipse-modeling-2023-03-R-win32-x86_64/eclipse"/>
+    <property name="ECLIPSE_WORKSPACE" value="D:/VaFL/eclipse-workspace"/>
 
     <!-- The classpath with only the dependencies used by the project -->
     <path id="be.uantwerpen.msdl.vafl.docgen.libraryclasspath">
         <pathelement location="${ECLIPSE_WORKSPACE}/be.uantwerpen.msdl.vafl.docgen/bin"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.5.v20221102-0933/jre/lib/jrt-fs.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_17.0.7.v20230425-1502/jre/lib/jrt-fs.jar"/>
         <pathelement location="${ECLIPSE_HOME}/plugins/org.osgi.annotation.versioning_1.1.2.202109301733.jar"/>
         <pathelement location="${ECLIPSE_HOME}/plugins/org.osgi.annotation.bundle_2.0.0.202202082230.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.osgi.service.component.annotations_1.5.0.202109301733.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.26.0.v20220813-0916.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.18.100.v20220817-1601.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.2.700.v20220722-0431.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.16.200.v20220817-1601.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.13.100.v20220817-1539.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.osgi.service.component.annotations_1.5.1.202212101352.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.osgi.service.metatype.annotations_1.4.1.202109301733.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.26.100.v20221021-0005.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.18.300.v20230220-1352.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.2.800.v20221116-1440.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.17.100.v20230202-1341.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.13.300.v20230111-0823.jar"/>
         <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.11.200.v20220817-1601.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.10.100.v20220710-1223.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.10.200.v20230120-0604.jar"/>
         <pathelement location="${ECLIPSE_HOME}/plugins/org.osgi.service.prefs_1.1.2.202109301733.jar"/>
         <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.8.200.v20220817-1539.jar"/>
         <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.6.200.v20220720-2012.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/io.opencaesar.oml_1.4.0.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.28.0.v20220817-1401.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.26.0.v20220817-1401.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.17.0.v20220817-1334.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.17.0.v20220309-0840.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/io.opencaesar.oml_1.4.1.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.33.0.v20230226-0921.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.28.0.v20230223-0922.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.18.0.v20230211-1150.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.18.0.v20221201-0557.jar"/>
         <pathelement location="${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.17.0.v20220309-0840.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.17.0.v20220309-0840.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.7.11.202102190929.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.7.11.202102190929.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.7.11.202102190929.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.7.11.202102190929.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.31.0.v20220730-0849.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.22.0.v20210420-0623.jar"/>
-        <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_30.1.0.v20210127-2300.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.18.0.v20221201-0557.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.18.0.v20221201-0557.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.7.12.202211151354.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.7.12.202211151354.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.7.12.202211151354.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.7.12.202211151354.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.33.0.v20230211-1150.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.23.0.v20230211-1150.jar"/>
+        <pathelement location="${ECLIPSE_HOME}/plugins/com.google.guava_31.1.0.jre.jar"/>
     </path>
 
     <path id="be.uantwerpen.msdl.vafl.docgen.classpath">

BIN
be.uantwerpen.msdl.vafl.ontology/.gradle/7.4.2/executionHistory/executionHistory.lock


BIN
be.uantwerpen.msdl.vafl.ontology/.gradle/7.4.2/fileHashes/fileHashes.lock


+ 1 - 1
be.uantwerpen.msdl.vafl.ontology/.project

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-	<name>be.uantwerpen.msdl.vafl.ontology</name>
+	<name>vafl</name>
 	<comment></comment>
 	<projects>
 	</projects>

+ 52 - 0
be.uantwerpen.msdl.vafl.ontology/README.md

@@ -0,0 +1,52 @@
+## The System Ontology Bundle
+
+## The Experiment Ontology Bundle
+
+## The Validity Ontology Bundle
+
+## Ontological Dependencies on Standards
+
+## Annotations
+
+| Bundle Annotations                | Semantics                                                                    |
+|-----------------------------------|------------------------------------------------------------------------------|
+| @dc:title                         | The title of the bundle                                                      |
+| @dc:publisher                     | The organization that publishes the bundle                                   |
+| @dc:^description                  | Brief description of the bundle                                              |
+| @owl:deprecated (optional)        | Bundle is deprecated                                                         |
+| @owl:priorVersion (optional)      | The previous version (if exists) of the bundle (format as NAMESPACE)         |
+| @owl:versionInfo                  | The version identifier of the bundle                                         |
+| @resource:laterVersion (optional) | The later version (if exists) of the deprecated bundle (format as NAMESPACE) |
+| @dc:creator                       | The organization/person that created the bundle (1 per annotation)           |
+| @dc:contributor                   | The organization/person that contributed to the bundle  (1 per annotation)   |
+| @rdfs:comment (optional)          | Comments                                                                     |
+
+| Ontology Annotations              | Semantics                                                                            |
+|-----------------------------------|--------------------------------------------------------------------------------------|
+| @dc:title                         | The title of the ontology                                                            |
+| @dc:publisher                     | The organization that publishes the ontology                                         |
+| @dc:^description                  | Brief description of the ontology                                                    |
+| @owl:deprecated (optional)        | Ontology is deprecated                                                               |
+| @owl:priorVersion (optional)      | The previous version (if exists) of the ontology (format as NAMESPACE)               |
+| @owl:versionInfo                  | The version identifier of the ontology                                               |
+| @resource:laterVersion (optional) | The later version (if exists) of a deprecated ontology (format as NAMESPACE)         |
+| @dc:creator                       | The organization/person that created the ontology                                    |
+| @dc:contributor (optional)        | The organization/person that contributed to the ontology                             |
+| @rdfs:comment (optional)          | Comments about the ontology                                                          |
+| @rdfs:isDefinedBy (optional)      | Document that defines concepts, from which the ontology is generated (format as DoI) |
+| @rdfs:seeAlso (optional)          | Document related to the ontology                                                     |
+
+
+| Type Annotations                  | Semantics                                                                            |
+|-----------------------------------|--------------------------------------------------------------------------------------|
+| @rdfs:label                       | True name of the type                                                                |
+| @resource:aka (optional)          | Other names of the type                                                              |
+| @dc:^description                  | Brief description of the type class                                                  |
+| @resource:definition              | Definition of the individuals of type                                                |
+| @owl:deprecated (optional)        | Type is deprecated                                                                   |
+| @owl:priorVersion (optional)      | The previous version (if exists) of the type (format as NAMESPACE)                   |
+| @owl:versionInfo (optional)       | The version identifier of the type                                                   |
+| @resource:laterVersion (optional) | The later version (if exists) of a deprecated type (format as NAMESPACE)             | 
+| @rdfs:comment (optional)          | Comments about the type                                                              |
+| @rdfs:isDefinedBy (optional)      | Documents that defines concepts, from which the type is generated (format as DoI)    |
+| @rdfs:seeAlso (optional)          | Documents related to the type                                                        |