Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-09-24 12:59:25 +0000
committerHenrik Rentz-Reichert2012-09-24 12:59:25 +0000
commitd31293f284a2dc01e7c3f556beb5dee1f3eb1f5f (patch)
treeeae30ee1de8bb391c66c01165f850386acfcf51d /plugins
parent9daf836415f2203319f6683cd6a5c33ca8f05889 (diff)
downloadorg.eclipse.etrice-d31293f284a2dc01e7c3f556beb5dee1f3eb1f5f.tar.gz
org.eclipse.etrice-d31293f284a2dc01e7c3f556beb5dee1f3eb1f5f.tar.xz
org.eclipse.etrice-d31293f284a2dc01e7c3f556beb5dee1f3eb1f5f.zip
[generator.fsmtest] reduced warnings
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest.ui/.classpath2
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/.classpath2
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/.launch/Generate Language Infrastructure (org.eclipse.etrice.generator.fsmtest).launch8
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/GenerateFSMtest.mwe22
-rw-r--r--plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/generator/FSMtestGenerator.xtend2
5 files changed, 11 insertions, 5 deletions
diff --git a/plugins/org.eclipse.etrice.generator.fsmtest.ui/.classpath b/plugins/org.eclipse.etrice.generator.fsmtest.ui/.classpath
index e5fbd3dd2..814539a72 100644
--- a/plugins/org.eclipse.etrice.generator.fsmtest.ui/.classpath
+++ b/plugins/org.eclipse.etrice.generator.fsmtest.ui/.classpath
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <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>
diff --git a/plugins/org.eclipse.etrice.generator.fsmtest/.classpath b/plugins/org.eclipse.etrice.generator.fsmtest/.classpath
index 3f1be5028..5e7708505 100644
--- a/plugins/org.eclipse.etrice.generator.fsmtest/.classpath
+++ b/plugins/org.eclipse.etrice.generator.fsmtest/.classpath
@@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
<classpathentry kind="src" path="xtend-gen"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <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>
diff --git a/plugins/org.eclipse.etrice.generator.fsmtest/.launch/Generate Language Infrastructure (org.eclipse.etrice.generator.fsmtest).launch b/plugins/org.eclipse.etrice.generator.fsmtest/.launch/Generate Language Infrastructure (org.eclipse.etrice.generator.fsmtest).launch
index 4b55db59d..d7a75d097 100644
--- a/plugins/org.eclipse.etrice.generator.fsmtest/.launch/Generate Language Infrastructure (org.eclipse.etrice.generator.fsmtest).launch
+++ b/plugins/org.eclipse.etrice.generator.fsmtest/.launch/Generate Language Infrastructure (org.eclipse.etrice.generator.fsmtest).launch
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.emf.mwe2.launch.Mwe2LaunchConfigurationType">
-<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#10;&lt;launchConfigurationWorkingSet factoryID=&quot;org.eclipse.ui.internal.WorkingSetFactory&quot; id=&quot;1299248699643_13&quot; label=&quot;working set&quot; name=&quot;working set&quot;&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/org.eclipse.etrice.generator.fsmtest&quot; type=&quot;4&quot;/&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/org.eclipse.etrice.generator.fsmtest.generator&quot; type=&quot;4&quot;/&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/org.eclipse.etrice.generator.fsmtest.tests&quot; type=&quot;4&quot;/&gt;&#10;&lt;item factoryID=&quot;org.eclipse.ui.internal.model.ResourceFactory&quot; path=&quot;/org.eclipse.etrice.generator.fsmtest.ui&quot; type=&quot;4&quot;/&gt;&#10;&lt;/launchConfigurationWorkingSet&gt;}"/>
+<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.generator.fsmtest&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.generator.fsmtest.generator&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.generator.fsmtest.tests&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;item path=&quot;/org.eclipse.etrice.generator.fsmtest.ui&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/org.eclipse.etrice.generator.fsmtest"/>
</listAttribute>
@@ -11,6 +11,12 @@
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
+<listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5&quot; javaProject=&quot;org.eclipse.etrice.generator.fsmtest&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry id=&quot;org.eclipse.jdt.launching.classpathentry.defaultClasspath&quot;&gt;&#13;&#10;&lt;memento exportedEntriesOnly=&quot;false&quot; project=&quot;org.eclipse.etrice.generator.fsmtest&quot;/&gt;&#13;&#10;&lt;/runtimeClasspathEntry&gt;&#13;&#10;"/>
+<listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#13;&#10;&lt;runtimeClasspathEntry internalArchive=&quot;/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator&quot; path=&quot;3&quot; type=&quot;2&quot;/&gt;&#13;&#10;"/>
+</listAttribute>
+<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.emf.mwe2.launch.runtime.Mwe2Launcher"/>
<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="src/org/eclipse/etrice/generator/GenerateFSMtest.mwe2"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.etrice.generator.fsmtest"/>
diff --git a/plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/GenerateFSMtest.mwe2 b/plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/GenerateFSMtest.mwe2
index f5b3f00ad..ac6b5b45a 100644
--- a/plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/GenerateFSMtest.mwe2
+++ b/plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/GenerateFSMtest.mwe2
@@ -29,7 +29,7 @@ Workflow {
component = Generator {
pathRtProject = runtimeProject
pathUiProject = "${runtimeProject}.ui"
- pathTestProject = "${runtimeProject}.tests"
+ pathTestProject = "../../tests/${projectName}.tests"
projectNameRt = projectName
projectNameUi = "${projectName}.ui"
language = {
diff --git a/plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/generator/FSMtestGenerator.xtend b/plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/generator/FSMtestGenerator.xtend
index 223f45fde..22aa54e2f 100644
--- a/plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/generator/FSMtestGenerator.xtend
+++ b/plugins/org.eclipse.etrice.generator.fsmtest/src/org/eclipse/etrice/generator/generator/FSMtestGenerator.xtend
@@ -8,7 +8,7 @@ import org.eclipse.xtext.generator.IGenerator
import org.eclipse.xtext.generator.IFileSystemAccess
class FSMtestGenerator implements IGenerator {
-
+
override void doGenerate(Resource resource, IFileSystemAccess fsa) {
//TODO implement me
}

Back to the top