Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [TCS] Problem in injector TCS
[TCS] Problem in injector TCS [message #380501] Thu, 13 December 2007 15:45 Go to next message
Eclipse User
Originally posted by: analuisafdm.gmail.co.

Hello,

I hope the some can help-me!!! IŽm starting to work with TCS.
IŽm trying executing this example:
http://www.eclipse.org/gmt/tcs/download/TCSSample.zip

When I had sucess in extractor. (I executed
SampleDSL_ExtractorCreation.xml). But when I tried executing, in this
example, transformationg text to model, the injector (I executed
SampleDSL_InjectorCreation.xml), and I obtained some problems. I read some
topics this forum and I tried doing download ATL and some file AM3 of the
CVS, but This not resolved my problems. That I am going trying to describe
it:

First Problem: when I executed SampleDSL_InjectorCreation.xml, in this
case appear:

TCS2ANTLR:
[am3.atl] INFO: Executing ATL transformation
../TCSToolkit/ATL/TCS2ANTLR/TCS2ANTLR.asm
[am3.saveModel] INFO: Saving model AddressBook.g
[am3.saveModel] Warning: could not get comments of OUT!AddressBook,
disabling further comments serialization
[am3.saveModel] org.atl.engine.extractors.ebnf.EBNFExtractionException:
cannot find mathing template for: SimpleSemanticAction
[am3.saveModel] at
org.atl.engine.extractors.ebnf.EBNFExtractor.serialize(EBNFE xtractor.java:241)
[am3.saveModel] at
org.atl.engine.extractors.ebnf.EBNFExtractor.serializeProper ty(EBNFExtractor.java:609)
[am3.saveModel] at
org.atl.engine.extractors.ebnf.EBNFExtractor.serializeProper ty(EBNFExtractor.java:592)


-------------------------------
Second Problem: when I executed build.xml that I need to execute for
injector, in this case appear:

[am3.loadModel] INFO: Loading of model M
[am3.loadModel] java.lang.ClassNotFoundException:
org.atl.engine.injectors.ebnf.AddressBook_ANTLR3Lexer
[am3.loadModel] at
org.apache.tools.ant.AntClassLoader.findClassInComponents(An tClassLoader.java:1383)
[am3.loadModel] at
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader .java:1324)
[am3.loadModel] at
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader .java:1072)
[am3.loadModel] at java.lang.ClassLoader.loadClass(Unknown Source)
[am3.loadModel] at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Thanks!!

kisses!!!
Re: [TCS] Problem in injector TCS [message #380502 is a reply to message #380501] Thu, 13 December 2007 15:49 Go to previous messageGo to next message
Frédéric Jouault is currently offline Frédéric Jouault
Messages: 572
Registered: July 2009
Senior Member
Hello,

TCSSample.zip only works with older versions of ATL+AM3.
You should use the newer version. See the following wiki page for more
information:
http://wiki.eclipse.org/TCS/Language_Project

Note that I also updated the TCS wiki page to provide this information,
as you can see at:
http://wiki.eclipse.org/TCS#Sample_Projects


Thanks for reporting this glitch in the documentation :-).


Regards,

Frédéric Jouault


Ana Luisa wrote:
> Hello,
>
> I hope the some can help-me!!! IŽm starting to work with TCS.
> IŽm trying executing this example:
> http://www.eclipse.org/gmt/tcs/download/TCSSample.zip
>
> When I had sucess in extractor. (I executed
> SampleDSL_ExtractorCreation.xml). But when I tried executing, in this
> example, transformationg text to model, the injector (I executed
> SampleDSL_InjectorCreation.xml), and I obtained some problems. I read
> some topics this forum and I tried doing download ATL and some file AM3
> of the CVS, but This not resolved my problems. That I am going trying to
> describe it:
>
> First Problem: when I executed SampleDSL_InjectorCreation.xml, in this
> case appear:
>
> TCS2ANTLR:
> [am3.atl] INFO: Executing ATL transformation
> ../TCSToolkit/ATL/TCS2ANTLR/TCS2ANTLR.asm
> [am3.saveModel] INFO: Saving model AddressBook.g
> [am3.saveModel] Warning: could not get comments of OUT!AddressBook,
> disabling further comments serialization
> [am3.saveModel] org.atl.engine.extractors.ebnf.EBNFExtractionException:
> cannot find mathing template for: SimpleSemanticAction
> [am3.saveModel] at
> org.atl.engine.extractors.ebnf.EBNFExtractor.serialize(EBNFE xtractor.java:241)
>
> [am3.saveModel] at
> org.atl.engine.extractors.ebnf.EBNFExtractor.serializeProper ty(EBNFExtractor.java:609)
>
> [am3.saveModel] at
> org.atl.engine.extractors.ebnf.EBNFExtractor.serializeProper ty(EBNFExtractor.java:592)
>
>
>
> -------------------------------
> Second Problem: when I executed build.xml that I need to execute for
> injector, in this case appear:
>
> [am3.loadModel] INFO: Loading of model M
> [am3.loadModel] java.lang.ClassNotFoundException:
> org.atl.engine.injectors.ebnf.AddressBook_ANTLR3Lexer
> [am3.loadModel] at
> org.apache.tools.ant.AntClassLoader.findClassInComponents(An tClassLoader.java:1383)
>
> [am3.loadModel] at
> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader .java:1324)
> [am3.loadModel] at
> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader .java:1072)
> [am3.loadModel] at java.lang.ClassLoader.loadClass(Unknown Source)
> [am3.loadModel] at java.lang.ClassLoader.loadClassInternal(Unknown
> Source)
>
> Thanks!!
>
> kisses!!!
>
Re: [TCS] Problem in injector TCS [message #380503 is a reply to message #380502] Thu, 13 December 2007 20:37 Go to previous messageGo to next message
Eclipse User
Originally posted by: analuisafdm.gmail.com

Hi Frederic,

Thanks your help!!!

But how iŽm needing very much to validate an example with TCS I trying
this plugin TCS for Eclipse, but I realized the download files
org.eclipse.gmt.tcs.builder and org.eclipse.gmt.tcs.wizard, and I didn't
have sucess, this files has dependencies with Libraries. So Eclipse
installed in my pc didnŽt Recognize :(.

one more time, Thank your help!!

Ana Luisa
Re: [TCS] Problem in injector TCS [message #380578 is a reply to message #380503] Thu, 13 December 2007 20:46 Go to previous messageGo to next message
Eclipse User
Originally posted by: analuisafdm.gmail.com

Sorry Frederic!!!,

I forgot ask you a question.

Is there some site (link) that I can use in Eclipse through Software
Updates to realize download of the plugin TCS?

Thanks!!!

Ana Luisa
Re: [TCS] Problem in injector TCS [message #380579 is a reply to message #380578] Thu, 13 December 2007 23:17 Go to previous message
Eclipse User
Originally posted by: analuisafdm.gmail.com

Frederic,

You can discard previous messages about error in installation TCS plugin
I trying several times and now, I had sucess in installation in this
plugin. Again, I realize Checkout CVS ATL and AM3 and plugin was installed
with sucess.

But when I trying create project. New --> TCS Language Project ,

I find the problem following:

-----------
The select wizard could not be started.
Reason:
Pluging org.eclipse.gmt.tcs.wizard was enable to load a class
org.eclipse.gmt.tcs.wizard.TcsProjectWizard.
--------------

I observed that there is in this Forum a similar user message, but I didŽt
obtain sucess.

Could you help me?

Thanks!!!
Re: [TCS] Problem in injector TCS [message #611013 is a reply to message #380501] Thu, 13 December 2007 15:49 Go to previous message
Frédéric Jouault is currently offline Frédéric Jouault
Messages: 572
Registered: July 2009
Senior Member
Hello,

TCSSample.zip only works with older versions of ATL+AM3.
You should use the newer version. See the following wiki page for more
information:
http://wiki.eclipse.org/TCS/Language_Project

Note that I also updated the TCS wiki page to provide this information,
as you can see at:
http://wiki.eclipse.org/TCS#Sample_Projects


Thanks for reporting this glitch in the documentation :-).


Regards,

Frédéric Jouault


Ana Luisa wrote:
> Hello,
>
> I hope the some can help-me!!! IŽm starting to work with TCS.
> IŽm trying executing this example:
> http://www.eclipse.org/gmt/tcs/download/TCSSample.zip
>
> When I had sucess in extractor. (I executed
> SampleDSL_ExtractorCreation.xml). But when I tried executing, in this
> example, transformationg text to model, the injector (I executed
> SampleDSL_InjectorCreation.xml), and I obtained some problems. I read
> some topics this forum and I tried doing download ATL and some file AM3
> of the CVS, but This not resolved my problems. That I am going trying to
> describe it:
>
> First Problem: when I executed SampleDSL_InjectorCreation.xml, in this
> case appear:
>
> TCS2ANTLR:
> [am3.atl] INFO: Executing ATL transformation
> ../TCSToolkit/ATL/TCS2ANTLR/TCS2ANTLR.asm
> [am3.saveModel] INFO: Saving model AddressBook.g
> [am3.saveModel] Warning: could not get comments of OUT!AddressBook,
> disabling further comments serialization
> [am3.saveModel] org.atl.engine.extractors.ebnf.EBNFExtractionException:
> cannot find mathing template for: SimpleSemanticAction
> [am3.saveModel] at
> org.atl.engine.extractors.ebnf.EBNFExtractor.serialize(EBNFE xtractor.java:241)
>
> [am3.saveModel] at
> org.atl.engine.extractors.ebnf.EBNFExtractor.serializeProper ty(EBNFExtractor.java:609)
>
> [am3.saveModel] at
> org.atl.engine.extractors.ebnf.EBNFExtractor.serializeProper ty(EBNFExtractor.java:592)
>
>
>
> -------------------------------
> Second Problem: when I executed build.xml that I need to execute for
> injector, in this case appear:
>
> [am3.loadModel] INFO: Loading of model M
> [am3.loadModel] java.lang.ClassNotFoundException:
> org.atl.engine.injectors.ebnf.AddressBook_ANTLR3Lexer
> [am3.loadModel] at
> org.apache.tools.ant.AntClassLoader.findClassInComponents(An tClassLoader.java:1383)
>
> [am3.loadModel] at
> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader .java:1324)
> [am3.loadModel] at
> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader .java:1072)
> [am3.loadModel] at java.lang.ClassLoader.loadClass(Unknown Source)
> [am3.loadModel] at java.lang.ClassLoader.loadClassInternal(Unknown
> Source)
>
> Thanks!!
>
> kisses!!!
>
Re: [TCS] Problem in injector TCS [message #611015 is a reply to message #380502] Thu, 13 December 2007 20:37 Go to previous message
Eclipse User
Originally posted by: analuisafdm.gmail.com

Hi Frederic,

Thanks your help!!!

But how iŽm needing very much to validate an example with TCS I trying
this plugin TCS for Eclipse, but I realized the download files
org.eclipse.gmt.tcs.builder and org.eclipse.gmt.tcs.wizard, and I didn't
have sucess, this files has dependencies with Libraries. So Eclipse
installed in my pc didnŽt Recognize :(.

one more time, Thank your help!!

Ana Luisa
Re: [TCS] Problem in injector TCS [message #611018 is a reply to message #380503] Thu, 13 December 2007 20:46 Go to previous message
Eclipse User
Originally posted by: analuisafdm.gmail.com

Sorry Frederic!!!,

I forgot ask you a question.

Is there some site (link) that I can use in Eclipse through Software
Updates to realize download of the plugin TCS?

Thanks!!!

Ana Luisa
Re: [TCS] Problem in injector TCS [message #611019 is a reply to message #380578] Thu, 13 December 2007 23:17 Go to previous message
Eclipse User
Originally posted by: analuisafdm.gmail.com

Frederic,

You can discard previous messages about error in installation TCS plugin
I trying several times and now, I had sucess in installation in this
plugin. Again, I realize Checkout CVS ATL and AM3 and plugin was installed
with sucess.

But when I trying create project. New --> TCS Language Project ,

I find the problem following:

-----------
The select wizard could not be started.
Reason:
Pluging org.eclipse.gmt.tcs.wizard was enable to load a class
org.eclipse.gmt.tcs.wizard.TcsProjectWizard.
--------------

I observed that there is in this Forum a similar user message, but I didŽt
obtain sucess.

Could you help me?

Thanks!!!
Previous Topic:[TCS] Problem in injector TCS
Next Topic:[TCS] jars for org.eclipse.m2m.atl.engine
Goto Forum:
  


Current Time: Sat Aug 02 04:48:45 EDT 2014

Powered by FUDForum. Page generated in 0.02228 seconds