Преглед изворни кода

Added plugin dependencies to examples

Andreas Muelder пре 10 година
родитељ
комит
8ebe1f0aad

+ 6 - 5
examples/org.yakindu.sct.examples.clock/.classpath

@@ -1,5 +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.6"/>
-	<classpathentry kind="output" path="bin"/>
-</classpath>
+<?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.6"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

+ 11 - 0
examples/org.yakindu.sct.examples.clock/.project

@@ -20,10 +20,21 @@
 			<arguments>
 			<arguments>
 			</arguments>
 			</arguments>
 		</buildCommand>
 		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
 	</buildSpec>
 	</buildSpec>
 	<natures>
 	<natures>
 		<nature>org.eclipse.jdt.core.javanature</nature>
 		<nature>org.eclipse.jdt.core.javanature</nature>
 		<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
 		<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
 		<nature>org.yakindu.sct.builder.SCTNature</nature>
 		<nature>org.yakindu.sct.builder.SCTNature</nature>
+		<nature>org.eclipse.pde.PluginNature</nature>
 	</natures>
 	</natures>
 </projectDescription>
 </projectDescription>

+ 6 - 0
examples/org.yakindu.sct.examples.clock/META-INF/MANIFEST.MF

@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: YAKINDU Clock example
+Bundle-SymbolicName: org.yakindu.sct.examples.clock
+Bundle-Version: 2.5.0.qualifier
+Bundle-Vendor: statecharts.org

+ 11 - 0
examples/org.yakindu.sct.examples.lightswitch/.project

@@ -10,8 +10,19 @@
 			<arguments>
 			<arguments>
 			</arguments>
 			</arguments>
 		</buildCommand>
 		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
 	</buildSpec>
 	</buildSpec>
 	<natures>
 	<natures>
 		<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
 		<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
+		<nature>org.eclipse.pde.PluginNature</nature>
 	</natures>
 	</natures>
 </projectDescription>
 </projectDescription>

+ 6 - 0
examples/org.yakindu.sct.examples.lightswitch/META-INF/MANIFEST.MF

@@ -0,0 +1,6 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: YAKINDU Lightswitch Example
+Bundle-SymbolicName: org.yakindu.sct.examples.lightswitch
+Bundle-Version: 2.5.0.qualifier
+Bundle-Vendor: statecharts.org

+ 4 - 1
examples/org.yakindu.sct.ui.examples/META-INF/MANIFEST.MF

@@ -6,6 +6,9 @@ Bundle-Version: 2.5.0.qualifier
 Bundle-Activator: org.yakindu.sct.ui.examples.Activator
 Bundle-Activator: org.yakindu.sct.ui.examples.Activator
 Bundle-Vendor: statecharts.org
 Bundle-Vendor: statecharts.org
 Require-Bundle: org.eclipse.core.runtime,
 Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.emf.common.ui;bundle-version="2.7.0"
+ org.eclipse.emf.common.ui;bundle-version="2.7.0",
+ org.yakindu.sct.examples.trafficlight;bundle-version="2.5.0",
+ org.yakindu.sct.examples.clock;bundle-version="2.5.0",
+ org.yakindu.sct.examples.lightswitch;bundle-version="2.5.0"
 Bundle-RequiredExecutionEnvironment: JavaSE-1.6
 Bundle-RequiredExecutionEnvironment: JavaSE-1.6
 Bundle-ActivationPolicy: lazy
 Bundle-ActivationPolicy: lazy