Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [TCS]
[TCS] [message #381955] Mon, 21 April 2008 17:18
Martin is currently offline Martin
Messages: 35
Registered: July 2009
Member
Hi, all!

I have a problem while running TCS Sample posted on wiki. I read
throughout the newsportal and found out that there are some problems with
versioning of the branches. At this moment I have packages in
configuration mentioned below. Everything compiles ok. I have added mdr
libraries. I exported plugins to the seperate jars and added them to my
eclipse plugins directory. Perspectives and tools seem to run properly.
While running TCS Sample (SampleDSL_ExtractorCreation.xml and
SampleDSL_InjectorCreation.xml especially) I found out that TCS-parser.jar
and KM3-parser.jar are different in resources of org.eclipse.am3.core and
org.eclipse.gmt.tcs.dsls, so I have replaced that from am3.core with newer
ones from tcs.dsls (together with TCS.ecore). After that
SampleDSL_ExtractorCreation.xml seems to work properly but Injector not...
I got an exception that:

[am3.loadModel] java.lang.RuntimeException: feature isDeep does not exist
on TCS!ClassTemplate
[am3.loadModel] at
org.eclipse.m2m.atl.drivers.emf4atl.ASMEMFModelElement.set(A SMEMFModelElement.java:263)
[am3.loadModel] at
org.eclipse.gmt.tcs.injector.ASMModelAdapter.actualSet(ASMMo delAdapter.java:49)
[am3.loadModel] at
org.eclipse.gmt.tcs.injector.ASMModelAdapter.set(ASMModelAda pter.java:88)
[am3.loadModel] at
org.eclipse.gmt.tcs.injector.TCSRuntime.set(TCSRuntime.java: 145)
[am3.loadModel] at
org.eclipse.gmt.tcs.injector.TCS_ANTLR3Parser.classTemplate( TCS_ANTLR3Parser.java:2840)
[am3.loadModel] at
org.eclipse.gmt.tcs.injector.TCS_ANTLR3Parser.template(TCS_A NTLR3Parser.java:2010)
[am3.loadModel] at
org.eclipse.gmt.tcs.injector.TCS_ANTLR3Parser.concreteSyntax (TCS_ANTLR3Parser.java:1454)
[am3.loadModel] at
org.eclipse.gmt.tcs.injector.TCS_ANTLR3Parser.main(TCS_ANTLR 3Parser.java:121)

[...]

after that:

[am3.saveModel] org.eclipse.gmt.tcs.extractor.TCSExtractionException:
cannot find mathing template for: SimpleSemanticAction
[am3.saveModel] at
org.eclipse.gmt.tcs.extractor.PrettyPrinter.serialize(Pretty Printer.java:215)

[...]

in the end builds is failed.

I would really appreciate fast response so that somebody could give me a
hint what I am doing wrong. I need this to have this tool running as soon
as possible. Below is information about my packages and their branching.

Thanks in advance,

Martin Jakubowski


<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/tools,org.eclipse.orbi t/org.antlr.runtime,org.antlr.runtime,v3_0_0 "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.core,org.eclipse.am3.core "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.tools.tge,org.eclipse.am3.tools.tge "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.ui,org.eclipse.am3.ui "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlantEcore,org.eclipse.am3.zo os.atlantEcore "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlantic,org.eclipse.am3.zoos. atlantic "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticAsmL,org.eclipse.am3.z oos.atlanticAsmL "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticDSLTools,org.eclipse.a m3.zoos.atlanticDSLTools "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticEmfatic,org.eclipse.am 3.zoos.atlanticEmfatic "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticGME,org.eclipse.am3.zo os.atlanticGME "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticMisc,org.eclipse.am3.z oos.atlanticMisc "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticOWL,org.eclipse.am3.zo os.atlanticOWL "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticRaster,org.eclipse.am3 .zoos.atlanticRaster "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticSQLDDL,org.eclipse.am3 .zoos.atlanticSQLDDL "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticUML,org.eclipse.am3.zo os.atlanticUML "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticVB,org.eclipse.am3.zoo s.atlanticVB "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticXASM,org.eclipse.am3.z oos.atlanticXASM "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlanticXML,org.eclipse.am3.zo os.atlanticXML "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.atlantMOF_MDR,org.eclipse.am3. zoos.atlantMOF_MDR "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.am3.zoos.biblio,org.eclipse.am3.zoos.bi blio "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf.compare/plugins/org.eclipse.emf.compare,o rg.eclipse.emf.compare "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf.compare/plugins/org.eclipse.emf.compare-f eature,org.eclipse.emf.compare-feature "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf.compare/plugins/org.eclipse.emf.compare.d iff,org.eclipse.emf.compare.diff "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf.compare/plugins/org.eclipse.emf.compare.d iff.edit,org.eclipse.emf.compare.diff.edit "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf.compare/plugins/org.eclipse.emf.compare.m atch,org.eclipse.emf.compare.match "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf.compare/plugins/org.eclipse.emf.compare.s dk-feature,org.eclipse.emf.compare.sdk-feature "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf.compare/plugins/org.eclipse.emf.compare.s ource,org.eclipse.emf.compare.source "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.e mf/org.eclipse.emf.compare/plugins/org.eclipse.emf.compare.u i,org.eclipse.emf.compare.ui "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3,org.eclipse.gmt.am3 "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.gmt.am3-feature,org.eclipse.gmt.am3-fea ture "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.core,org.eclipse.gmt.am 3.core "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.gmt.am3.dsls-feature,org.eclipse.gmt.am 3.dsls-feature "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.gmt.am3.dsls.km3,org.eclipse.gmt.am3.ds ls.km3 "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.extractor.launchers,org .eclipse.gmt.am3.extractor.launchers "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.modelhandler.emf,org.ec lipse.gmt.am3.modelhandler.emf "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.modelhandler.mdr,org.ec lipse.gmt.am3.modelhandler.mdr "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.platform.core,org.eclip se.gmt.am3.platform.core "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.platform.extensions.Glo balModelManagement,org.eclipse.gmt.am3.platform.extensions.G lobalModelManagement "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.platform.extensions.GMM 4AMW,org.eclipse.gmt.am3.platform.extensions.GMM4AMW "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.platform.extensions.GMM 4ASM,org.eclipse.gmt.am3.platform.extensions.GMM4ASM "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.platform.extensions.GMM 4ATL,org.eclipse.gmt.am3.platform.extensions.GMM4ATL "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.platform.runtime.core,o rg.eclipse.gmt.am3.platform.runtime.core "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.platform.ui,org.eclipse .gmt.am3.platform.ui "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/plugins/org.eclipse.gmt.am3.repository.lightweight, org.eclipse.gmt.am3.repository.lightweight "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/AM3/org.eclipse.gmt.am3.tools.ant,org.eclipse.gmt.am3.t ools.ant "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs,org.ecl ipse.gmt.tcs "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs-feature ,org.eclipse.gmt.tcs-feature "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs.actions ,org.eclipse.gmt.tcs.actions "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs.builder ,org.eclipse.gmt.tcs.builder "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs.dsls,or g.eclipse.gmt.tcs.dsls "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs.emfreso urce,org.eclipse.gmt.tcs.emfresource "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs.extract or,org.eclipse.gmt.tcs.extractor "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs.injecto r,org.eclipse.gmt.tcs.injector "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs.metadat a,org.eclipse.gmt.tcs.metadata "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/technology,org.eclipse .gmt/org.eclipse.gmt.tcs/plugins/org.eclipse.gmt.tcs.wizard, org.eclipse.gmt.tcs.wizard "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl,org.eclip se.m2m.atl,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl-feature,o rg.eclipse.m2m.atl-feature,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.adt-featu re,org.eclipse.m2m.atl.adt-feature,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.adt.build er,org.eclipse.m2m.atl.adt.builder,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.adt.debug ,org.eclipse.m2m.atl.adt.debug,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.adt.edito r,org.eclipse.m2m.atl.adt.editor,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.adt.persp ective,org.eclipse.m2m.atl.adt.perspective,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.adt.wizar d,org.eclipse.m2m.atl.adt.wizard,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.compilers .atl2006,org.eclipse.m2m.atl.compilers.atl2006,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.drivers.e mf4atl,org.eclipse.m2m.atl.drivers.emf4atl,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.drivers.m dr4atl,org.eclipse.m2m.atl.drivers.mdr4atl "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.drivers.m dr4atl-feature,org.eclipse.m2m.atl.drivers.mdr4atl-feature "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.drivers.u ml24atl,org.eclipse.m2m.atl.drivers.uml24atl,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.dsls,org. eclipse.m2m.atl.dsls "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.engine,or g.eclipse.m2m.atl.engine,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.engine-fe ature,org.eclipse.m2m.atl.engine-feature,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.engine.em fvm,org.eclipse.m2m.atl.engine.emfvm,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.engine.vm ,org.eclipse.m2m.atl.engine.vm,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/examples/org.eclipse.m2m.atl.examples ,org.eclipse.m2m.atl.examples,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/examples/org.eclipse.m2m.atl.examples -feature,org.eclipse.m2m.atl.examples-feature,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.ocl.core, org.eclipse.m2m.atl.ocl.core,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.sdk-featu re,org.eclipse.m2m.atl.sdk-feature,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/plugins/org.eclipse.m2m.atl.service.c ore,org.eclipse.m2m.atl.service.core,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/tests/org.eclipse.m2m.atl.tests,org.e clipse.m2m.atl.tests,R2_1_0_dev "/>
<project
reference=" 1.0,:pserver:dev.eclipse.org:/cvsroot/modeling,org.eclipse.m 2m/org.eclipse.m2m.atl/tests/org.eclipse.m2m.atl.tests-featu re,org.eclipse.m2m.atl.tests-feature,R2_1_0_dev "/>
Previous Topic:[TCS]
Next Topic:[TCS] Problem with running TCS
Goto Forum:
  


Current Time: Sun Sep 21 08:19:45 GMT 2014

Powered by FUDForum. Page generated in 0.02377 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software