Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [TCS] "Unable to determine generatted class" error
[TCS] "Unable to determine generatted class" error [message #379909] Mon, 08 October 2007 14:59 Go to next message
Eclipse UserFriend
Originally posted by: rivera.lcc.uma.es

This is a multi-part message in MIME format.
--------------020905030308090004080204
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,

I have download the TCSSample (AddressBook) with the TCSToolkit and it
works find :) Then, i have replaced the AddressBook example with my own
TCS file and metamodel (in KM3 and Ecore) and i get in
SampleDSL_InjectorCreation.xml the following error:
"Unable to determine generatted class" while jar generation.

What kind of error could have caused this problem?

(I attach both TCS file and error report)

Thank you very much,
Jose E. Rivera

....
JARGeneration:

BUILD FAILED
C:\...SampleDSL_InjectorCreation.xml:5: The following error occurred
while executing this line:
C:\...TCS2JAR\build.xml:23: The following error occurred while executing
this line:
C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
....

--------------020905030308090004080204
Content-Type: text/plain;
name="myOwnTCS.tcs"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="myOwnTCS.tcs"

LS1GQUxUQToNCi0te30gYWN0dWFsbXQgZXMgcGFydGUgZGUgdW4gaWRlbnRp ZmljYWRvciwg
Y3VhbmRvIHBvbmdhbW9zIHBhcmFtZXRyaXphZG8gcG9uZXIgY29uICcsIGFs IGlndWFsIHF1
ZSBlbCByZXN0bzoNCi0tU2kgYfFhZGltb3MgdmFpYWJsZXMgZW4gRWN1YWNp b25lcywgTWVt
YmVyc2hpcHMgeSByZWdsYXMgcG9uZXIgImNvbnRleHQiDQotLSBJbmNsdWly ICJgKCIgfCAi
YCkiIHwgImBbIiB8ICJgXSIgfCAiYCwiIHwNCi0tIExvcyBvcGVyYWRvcmVz IHJldmlzYXIg
byBh8WFkaXIgbG8gcXVlIGhhZ2EgZmFsdGENCg0Kc3ludGF4IE1hdWRlIHsN Cg0KDQotLV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p
Kw0KCQkoKCcuJyBESUdJVCk9PiAnLicgKERJR0lUKSsgeyRzZXRUeXBlKEZM T0FUKTt9KT8N
Cgk7DQoNCg0KCSI7DQoNCn0NCg0KDQog
--------------020905030308090004080204
Content-Type: text/plain;
name="errorReport.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="errorReport.txt"

Buildfile: C:\Documents and Settings\CHICO\Escritorio\MaudeMM\TCSSample\SampleDSL\Sample DSL_InjectorCreation.xml

default:

transfo:
Overriding previous definition of reference to eclipse.ant.targetVector

init:
[am3.loadModel] Loading of model TCS
[am3.loadModel] Loading of model Maude.tcs
[am3.loadModel] Loading of model KM3
[am3.loadModel] Loading of model Maude.km3
[am3.loadModel] Loading of model ANTLR
[am3.loadModel] Loading of model ANTLR.tcs
[am3.loadModel] Loading of model Problem
[am3.loadModel] Loading of model Problem.tcs

TCSCompilation:
[am3.atl] Executing ATL transformation ../TCSToolkit/ATL/TCS2Problem/TCS2Problem.asm
[am3.query] Executing query
[echo] ${thereAreErrors}

TCS2ANTLR:
[am3.atl] Executing ATL transformation ../TCSToolkit/ATL/TCS2ANTLR/TCS2ANTLR.asm
[am3.saveModel] Saving model Maude.g
[am3.saveModel] Warning: could not get comments of OUT!Maude, disabling further comments serialization

JARGeneration:

BUILD FAILED
C:\Documents and Settings\CHICO\Escritorio\MaudeMM\TCSSample\SampleDSL\Sample DSL_InjectorCreation.xml:5: The following error occurred while executing this line:
C:\Documents and Settings\CHICO\Escritorio\MaudeMM\TCSSample\TCSToolkit\TCS2J AR\build.xml:23: The following error occurred while executing this line:
C:\Documents and Settings\CHICO\Escritorio\MaudeMM\TCSSample\TCSToolkit\TCS2J AR\build.xml:120: Unable to determine generated class

Total time: 2 seconds

--------------020905030308090004080204--
Re: [TCS] "Unable to determine generatted class" error [message #379923 is a reply to message #379909] Wed, 10 October 2007 09:32 Go to previous messageGo to next message
Juancho  is currently offline Juancho Friend
Messages: 17
Registered: July 2009
Junior Member
Hi Jose

I'm facing the very same error in a much more simpler situation.
I'm just trying to make some tests with the KM3 concrete syntax.

Did you manage to find the problem??

I'll try to give more details:
· BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I hope I
have not been able to introduce any mistake on the TCS coding :-)
· The same Eclipse configuration works fine for the SPL language. I have
been able to run both the injector and the extractor for this language

Thanks on advance for any help regarding this matter.
Juancho

Jose E. Rivera escribió:
> Hi all,
>
> I have download the TCSSample (AddressBook) with the TCSToolkit and it
> works find :) Then, i have replaced the AddressBook example with my own
> TCS file and metamodel (in KM3 and Ecore) and i get in
> SampleDSL_InjectorCreation.xml the following error:
> "Unable to determine generatted class" while jar generation.
>
> What kind of error could have caused this problem?
>
> (I attach both TCS file and error report)
>
> Thank you very much,
> Jose E. Rivera
>
> ....
> JARGeneration:
>
> BUILD FAILED
> C:\...SampleDSL_InjectorCreation.xml:5: The following error occurred
> while executing this line:
> C:\...TCS2JAR\build.xml:23: The following error occurred while executing
> this line:
> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
> ....
>
Re: [TCS] "Unable to determine generatted class" error [message #379925 is a reply to message #379923] Wed, 10 October 2007 14:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: quentin.glineur.obeo.fr

This is a multi-part message in MIME format.
--------------040509080607000403080207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

It is likely that the ANTLR grammar is generated broken.
Could you check or post it ?

Quentin GLINEUR

Juan M. Vara a
Re: [TCS] "Unable to determine generatted class" error [message #379928 is a reply to message #379925] Wed, 10 October 2007 14:33 Go to previous messageGo to next message
Juancho  is currently offline Juancho Friend
Messages: 17
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.
--------------080400090504090206070208
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Sorry, but I'm not able to see what is the problem in the grammar.
(if there is). Here it is.

Many thanks.
Juancho

Quentin Glineur escribi
Re: [TCS] "Unable to determine generatted class" error [message #379930 is a reply to message #379925] Wed, 10 October 2007 17:52 Go to previous messageGo to next message
Juancho  is currently offline Juancho Friend
Messages: 17
Registered: July 2009
Junior Member
Hi again Quentin

Just to prevent you :-)
Freddy told me it could be some problem with the TCS version. So, in the
meantime I'm trying with the lates one to check if the problem was there.

I'll tell you about the result.

Thanks again
Juancho

Quentin Glineur escribió:
> Hi,
>
> It is likely that the ANTLR grammar is generated broken.
> Could you check or post it ?
>
> Quentin GLINEUR
>
> Juan M. Vara a écrit :
>> Hi Jose
>>
>> I'm facing the very same error in a much more simpler situation.
>> I'm just trying to make some tests with the KM3 concrete syntax.
>>
>> Did you manage to find the problem??
>>
>> I'll try to give more details:
>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I hope
>> I have not been able to introduce any mistake on the TCS coding :-)
>> · The same Eclipse configuration works fine for the SPL language. I
>> have been able to run both the injector and the extractor for this
>> language
>>
>> Thanks on advance for any help regarding this matter.
>> Juancho
>>
>> Jose E. Rivera escribió:
>>> Hi all,
>>>
>>> I have download the TCSSample (AddressBook) with the TCSToolkit and
>>> it works find :) Then, i have replaced the AddressBook example with
>>> my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>> SampleDSL_InjectorCreation.xml the following error:
>>> "Unable to determine generatted class" while jar generation.
>>>
>>> What kind of error could have caused this problem?
>>>
>>> (I attach both TCS file and error report)
>>>
>>> Thank you very much,
>>> Jose E. Rivera
>>>
>>> ....
>>> JARGeneration:
>>>
>>> BUILD FAILED
>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error occurred
>>> while executing this line:
>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>> executing this line:
>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>> ....
>>>
>
Re: [TCS] "Unable to determine generatted class" error [message #379937 is a reply to message #379930] Thu, 11 October 2007 10:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rivera.lcc.uma.es

Hi all,

thank you very much. I'm trying also with the new version
(http://wiki.eclipse.org/TCS/Language_Project). If I find a solution I
wil tell you about.
With the new version, apart from the Language Builder, do I need
SampleDSL_InjectorCreation.xml as in the sample project of the AdressBook?

Thank you in advance,
Jose E. Rivera

Juan M. Vara escribió:
> Hi again Quentin
>
> Just to prevent you :-)
> Freddy told me it could be some problem with the TCS version. So, in the
> meantime I'm trying with the lates one to check if the problem was there.
>
> I'll tell you about the result.
>
> Thanks again
> Juancho
>
> Quentin Glineur escribió:
>> Hi,
>>
>> It is likely that the ANTLR grammar is generated broken.
>> Could you check or post it ?
>>
>> Quentin GLINEUR
>>
>> Juan M. Vara a écrit :
>>> Hi Jose
>>>
>>> I'm facing the very same error in a much more simpler situation.
>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>
>>> Did you manage to find the problem??
>>>
>>> I'll try to give more details:
>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I hope
>>> I have not been able to introduce any mistake on the TCS coding :-)
>>> · The same Eclipse configuration works fine for the SPL language. I
>>> have been able to run both the injector and the extractor for this
>>> language
>>>
>>> Thanks on advance for any help regarding this matter.
>>> Juancho
>>>
>>> Jose E. Rivera escribió:
>>>> Hi all,
>>>>
>>>> I have download the TCSSample (AddressBook) with the TCSToolkit and
>>>> it works find :) Then, i have replaced the AddressBook example with
>>>> my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>>> SampleDSL_InjectorCreation.xml the following error:
>>>> "Unable to determine generatted class" while jar generation.
>>>>
>>>> What kind of error could have caused this problem?
>>>>
>>>> (I attach both TCS file and error report)
>>>>
>>>> Thank you very much,
>>>> Jose E. Rivera
>>>>
>>>> ....
>>>> JARGeneration:
>>>>
>>>> BUILD FAILED
>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error occurred
>>>> while executing this line:
>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>> executing this line:
>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>> ....
>>>>
>>
Re: [TCS] "Unable to determine generatted class" error [message #380148 is a reply to message #379930] Thu, 11 October 2007 14:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: quentin.glineur.obeo.fr

This is a multi-part message in MIME format.
--------------090901060902020009000308
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

Indeed the generated grammar seems to be corrupted. It looks like a mix
between ANTLR v2 and v3 along with other problem.

I think you should try to update your environement (eclipse, emf, and
AMMA core + AMMA scipts).

Regards,

Quentin

Juan M. Vara a
Re: [TCS] "Unable to determine generatted class" error [message #380150 is a reply to message #379937] Thu, 11 October 2007 14:59 Go to previous messageGo to next message
Freddy Allilaire is currently offline Freddy AllilaireFriend
Messages: 130
Registered: July 2009
Senior Member
Hi Jose,

The build.properties file will replace it.

Regards,
Freddy.

Jose E. Rivera a écrit :
> Hi all,
>
> thank you very much. I'm trying also with the new version
> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution I
> wil tell you about.
> With the new version, apart from the Language Builder, do I need
> SampleDSL_InjectorCreation.xml as in the sample project of the AdressBook?
>
> Thank you in advance,
> Jose E. Rivera
>
> Juan M. Vara escribió:
>> Hi again Quentin
>>
>> Just to prevent you :-)
>> Freddy told me it could be some problem with the TCS version. So, in
>> the meantime I'm trying with the lates one to check if the problem was
>> there.
>>
>> I'll tell you about the result.
>>
>> Thanks again
>> Juancho
>>
>> Quentin Glineur escribió:
>>> Hi,
>>>
>>> It is likely that the ANTLR grammar is generated broken.
>>> Could you check or post it ?
>>>
>>> Quentin GLINEUR
>>>
>>> Juan M. Vara a écrit :
>>>> Hi Jose
>>>>
>>>> I'm facing the very same error in a much more simpler situation.
>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>
>>>> Did you manage to find the problem??
>>>>
>>>> I'll try to give more details:
>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>> hope I have not been able to introduce any mistake on the TCS coding
>>>> :-)
>>>> · The same Eclipse configuration works fine for the SPL language. I
>>>> have been able to run both the injector and the extractor for this
>>>> language
>>>>
>>>> Thanks on advance for any help regarding this matter.
>>>> Juancho
>>>>
>>>> Jose E. Rivera escribió:
>>>>> Hi all,
>>>>>
>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit and
>>>>> it works find :) Then, i have replaced the AddressBook example with
>>>>> my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>>>> SampleDSL_InjectorCreation.xml the following error:
>>>>> "Unable to determine generatted class" while jar generation.
>>>>>
>>>>> What kind of error could have caused this problem?
>>>>>
>>>>> (I attach both TCS file and error report)
>>>>>
>>>>> Thank you very much,
>>>>> Jose E. Rivera
>>>>>
>>>>> ....
>>>>> JARGeneration:
>>>>>
>>>>> BUILD FAILED
>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>> occurred while executing this line:
>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>> executing this line:
>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>> ....
>>>>>
>>>


--
Freddy Allilaire - ATLAS Group (INRIA & LINA)
http://www.sciences.univ-nantes.fr/lina/atl/contrib/allilair e
Re: [TCS] "Unable to determine generatted class" error [message #380152 is a reply to message #379937] Thu, 11 October 2007 16:00 Go to previous messageGo to next message
Juancho  is currently offline Juancho Friend
Messages: 17
Registered: July 2009
Junior Member
Hi again Jose

As I told you before I had the same problem.
With the new version it seems to be solved.

BTW Freddy has just updated the wiki on how to create and launch
projects with the new version.
http://wiki.eclipse.org/TCS/Language_Project

Hope this helps.
Juancho

Jose E. Rivera escribió:
> Hi all,
>
> thank you very much. I'm trying also with the new version
> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution I
> wil tell you about.
> With the new version, apart from the Language Builder, do I need
> SampleDSL_InjectorCreation.xml as in the sample project of the AdressBook?
>
> Thank you in advance,
> Jose E. Rivera
>
> Juan M. Vara escribió:
>> Hi again Quentin
>>
>> Just to prevent you :-)
>> Freddy told me it could be some problem with the TCS version. So, in
>> the meantime I'm trying with the lates one to check if the problem was
>> there.
>>
>> I'll tell you about the result.
>>
>> Thanks again
>> Juancho
>>
>> Quentin Glineur escribió:
>>> Hi,
>>>
>>> It is likely that the ANTLR grammar is generated broken.
>>> Could you check or post it ?
>>>
>>> Quentin GLINEUR
>>>
>>> Juan M. Vara a écrit :
>>>> Hi Jose
>>>>
>>>> I'm facing the very same error in a much more simpler situation.
>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>
>>>> Did you manage to find the problem??
>>>>
>>>> I'll try to give more details:
>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>> hope I have not been able to introduce any mistake on the TCS coding
>>>> :-)
>>>> · The same Eclipse configuration works fine for the SPL language. I
>>>> have been able to run both the injector and the extractor for this
>>>> language
>>>>
>>>> Thanks on advance for any help regarding this matter.
>>>> Juancho
>>>>
>>>> Jose E. Rivera escribió:
>>>>> Hi all,
>>>>>
>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit and
>>>>> it works find :) Then, i have replaced the AddressBook example with
>>>>> my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>>>> SampleDSL_InjectorCreation.xml the following error:
>>>>> "Unable to determine generatted class" while jar generation.
>>>>>
>>>>> What kind of error could have caused this problem?
>>>>>
>>>>> (I attach both TCS file and error report)
>>>>>
>>>>> Thank you very much,
>>>>> Jose E. Rivera
>>>>>
>>>>> ....
>>>>> JARGeneration:
>>>>>
>>>>> BUILD FAILED
>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>> occurred while executing this line:
>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>> executing this line:
>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>> ....
>>>>>
>>>
Re: [TCS] "Unable to determine generatted class" error [message #380159 is a reply to message #380152] Wed, 17 October 2007 17:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rivera.lcc.uma.es

Hi all again,

I have been trying with new versions, but i didn't succeed :(

I have tried with the last ATL Bundle
(http://www.eclipse.org/m2m/atl/download/) and also with the
configuration: Eclipse 3.3.1, EMF 2.3.1 and ATL version from CVS.
I have followed all the steps mentioned in the Language project website
(http://wiki.eclipse.org/TCS/Language_Project) but I got the same error
in both configuration:

Problem: failed to create task or type
antlib:org/apache/tools/ant/antlr:antlr3

I know there's nothing to do with my example, and that it's about ant
tasks. But I have copied the libs that Amma Scripts need, I have
included them in the classpath, i have even copied them in tha
ants/lib...I have also copied ant-contrib... But it doesn't work, it
fails while building the project.

Do I need another plug-in / library? (I have of course imported AMMACore
and AMMAScripst)

Thank you very much,
Jose E. Rivera

*****************************************
Error report: (while building)

C:\...\AMMAScripts\build.dsl.xml:56: The following error occurred while
executing this line:
C:\...\AMMAScripts\build.dsl.xml:83: The following error occurred while
executing this line:
C:\...\AMMAScripts\build.syntax.xml:81: The following error occurred
while executing this line:
C:\...\AMMAScripts\build.syntax.xml:198: Problem: failed to create task
or type antlib:org/apache/tools/ant/antlr:antlr3

Juan M. Vara escribió:
> Hi again Jose
>
> As I told you before I had the same problem.
> With the new version it seems to be solved.
>
> BTW Freddy has just updated the wiki on how to create and launch
> projects with the new version.
> http://wiki.eclipse.org/TCS/Language_Project
>
> Hope this helps.
> Juancho
>
> Jose E. Rivera escribió:
>> Hi all,
>>
>> thank you very much. I'm trying also with the new version
>> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution I
>> wil tell you about.
>> With the new version, apart from the Language Builder, do I need
>> SampleDSL_InjectorCreation.xml as in the sample project of the
>> AdressBook?
>>
>> Thank you in advance,
>> Jose E. Rivera
>>
>> Juan M. Vara escribió:
>>> Hi again Quentin
>>>
>>> Just to prevent you :-)
>>> Freddy told me it could be some problem with the TCS version. So, in
>>> the meantime I'm trying with the lates one to check if the problem
>>> was there.
>>>
>>> I'll tell you about the result.
>>>
>>> Thanks again
>>> Juancho
>>>
>>> Quentin Glineur escribió:
>>>> Hi,
>>>>
>>>> It is likely that the ANTLR grammar is generated broken.
>>>> Could you check or post it ?
>>>>
>>>> Quentin GLINEUR
>>>>
>>>> Juan M. Vara a écrit :
>>>>> Hi Jose
>>>>>
>>>>> I'm facing the very same error in a much more simpler situation.
>>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>>
>>>>> Did you manage to find the problem??
>>>>>
>>>>> I'll try to give more details:
>>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>>> hope I have not been able to introduce any mistake on the TCS
>>>>> coding :-)
>>>>> · The same Eclipse configuration works fine for the SPL language. I
>>>>> have been able to run both the injector and the extractor for this
>>>>> language
>>>>>
>>>>> Thanks on advance for any help regarding this matter.
>>>>> Juancho
>>>>>
>>>>> Jose E. Rivera escribió:
>>>>>> Hi all,
>>>>>>
>>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit
>>>>>> and it works find :) Then, i have replaced the AddressBook example
>>>>>> with my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>>>>> SampleDSL_InjectorCreation.xml the following error:
>>>>>> "Unable to determine generatted class" while jar generation.
>>>>>>
>>>>>> What kind of error could have caused this problem?
>>>>>>
>>>>>> (I attach both TCS file and error report)
>>>>>>
>>>>>> Thank you very much,
>>>>>> Jose E. Rivera
>>>>>>
>>>>>> ....
>>>>>> JARGeneration:
>>>>>>
>>>>>> BUILD FAILED
>>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>>> occurred while executing this line:
>>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>>> executing this line:
>>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>>> ....
>>>>>>
>>>>
Re: [TCS] "Unable to determine generatted class" error [message #380164 is a reply to message #380159] Wed, 17 October 2007 22:10 Go to previous messageGo to next message
Freddy Allilaire is currently offline Freddy AllilaireFriend
Messages: 130
Registered: July 2009
Senior Member
Hi Jose,

To use the new version of TCS, you need last versions of ATL & AM3 from CVS.

In your problem, Antlr3 ant task is not found. The problem should come
from the ant builder configuration, more especially from the additional
libs. Could you retry to download them (it seems there was a problem
with these libs on the server)?

Regards,
Freddy.

Jose E. Rivera a écrit :
> Hi all again,
>
> I have been trying with new versions, but i didn't succeed :(
>
> I have tried with the last ATL Bundle
> (http://www.eclipse.org/m2m/atl/download/) and also with the
> configuration: Eclipse 3.3.1, EMF 2.3.1 and ATL version from CVS.
> I have followed all the steps mentioned in the Language project website
> (http://wiki.eclipse.org/TCS/Language_Project) but I got the same error
> in both configuration:
>
> Problem: failed to create task or type
> antlib:org/apache/tools/ant/antlr:antlr3
>
> I know there's nothing to do with my example, and that it's about ant
> tasks. But I have copied the libs that Amma Scripts need, I have
> included them in the classpath, i have even copied them in tha
> ants/lib...I have also copied ant-contrib... But it doesn't work, it
> fails while building the project.
>
> Do I need another plug-in / library? (I have of course imported AMMACore
> and AMMAScripst)
>
> Thank you very much,
> Jose E. Rivera
>
> *****************************************
> Error report: (while building)
>
> C:\...\AMMAScripts\build.dsl.xml:56: The following error occurred while
> executing this line:
> C:\...\AMMAScripts\build.dsl.xml:83: The following error occurred while
> executing this line:
> C:\...\AMMAScripts\build.syntax.xml:81: The following error occurred
> while executing this line:
> C:\...\AMMAScripts\build.syntax.xml:198: Problem: failed to create task
> or type antlib:org/apache/tools/ant/antlr:antlr3
>
> Juan M. Vara escribió:
>> Hi again Jose
>>
>> As I told you before I had the same problem.
>> With the new version it seems to be solved.
>>
>> BTW Freddy has just updated the wiki on how to create and launch
>> projects with the new version.
>> http://wiki.eclipse.org/TCS/Language_Project
>>
>> Hope this helps.
>> Juancho
>>
>> Jose E. Rivera escribió:
>>> Hi all,
>>>
>>> thank you very much. I'm trying also with the new version
>>> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution
>>> I wil tell you about.
>>> With the new version, apart from the Language Builder, do I need
>>> SampleDSL_InjectorCreation.xml as in the sample project of the
>>> AdressBook?
>>>
>>> Thank you in advance,
>>> Jose E. Rivera
>>>
>>> Juan M. Vara escribió:
>>>> Hi again Quentin
>>>>
>>>> Just to prevent you :-)
>>>> Freddy told me it could be some problem with the TCS version. So, in
>>>> the meantime I'm trying with the lates one to check if the problem
>>>> was there.
>>>>
>>>> I'll tell you about the result.
>>>>
>>>> Thanks again
>>>> Juancho
>>>>
>>>> Quentin Glineur escribió:
>>>>> Hi,
>>>>>
>>>>> It is likely that the ANTLR grammar is generated broken.
>>>>> Could you check or post it ?
>>>>>
>>>>> Quentin GLINEUR
>>>>>
>>>>> Juan M. Vara a écrit :
>>>>>> Hi Jose
>>>>>>
>>>>>> I'm facing the very same error in a much more simpler situation.
>>>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>>>
>>>>>> Did you manage to find the problem??
>>>>>>
>>>>>> I'll try to give more details:
>>>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>>>> hope I have not been able to introduce any mistake on the TCS
>>>>>> coding :-)
>>>>>> · The same Eclipse configuration works fine for the SPL language.
>>>>>> I have been able to run both the injector and the extractor for
>>>>>> this language
>>>>>>
>>>>>> Thanks on advance for any help regarding this matter.
>>>>>> Juancho
>>>>>>
>>>>>> Jose E. Rivera escribió:
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit
>>>>>>> and it works find :) Then, i have replaced the AddressBook
>>>>>>> example with my own TCS file and metamodel (in KM3 and Ecore) and
>>>>>>> i get in SampleDSL_InjectorCreation.xml the following error:
>>>>>>> "Unable to determine generatted class" while jar generation.
>>>>>>>
>>>>>>> What kind of error could have caused this problem?
>>>>>>>
>>>>>>> (I attach both TCS file and error report)
>>>>>>>
>>>>>>> Thank you very much,
>>>>>>> Jose E. Rivera
>>>>>>>
>>>>>>> ....
>>>>>>> JARGeneration:
>>>>>>>
>>>>>>> BUILD FAILED
>>>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>>>> occurred while executing this line:
>>>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>>>> executing this line:
>>>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>>>> ....
>>>>>>>
>>>>>
Re: [TCS] "Unable to determine generatted class" error [message #380168 is a reply to message #380164] Thu, 18 October 2007 09:08 Go to previous message
Eclipse UserFriend
Originally posted by: rivera.lcc.uma.es

Hi Freddy,

Thank you very much, now it works (after downloading them again). Now I
only have errors from my own TCS specification :)

Thank you again,
Regards,
Jose E. Rivera

Freddy Allilaire escribió:
> Hi Jose,
>
> To use the new version of TCS, you need last versions of ATL & AM3 from
> CVS.
>
> In your problem, Antlr3 ant task is not found. The problem should come
> from the ant builder configuration, more especially from the additional
> libs. Could you retry to download them (it seems there was a problem
> with these libs on the server)?
>
> Regards,
> Freddy.
>
> Jose E. Rivera a écrit :
>> Hi all again,
>>
>> I have been trying with new versions, but i didn't succeed :(
>>
>> I have tried with the last ATL Bundle
>> (http://www.eclipse.org/m2m/atl/download/) and also with the
>> configuration: Eclipse 3.3.1, EMF 2.3.1 and ATL version from CVS.
>> I have followed all the steps mentioned in the Language project
>> website (http://wiki.eclipse.org/TCS/Language_Project) but I got the
>> same error in both configuration:
>>
>> Problem: failed to create task or type
>> antlib:org/apache/tools/ant/antlr:antlr3
>>
>> I know there's nothing to do with my example, and that it's about ant
>> tasks. But I have copied the libs that Amma Scripts need, I have
>> included them in the classpath, i have even copied them in tha
>> ants/lib...I have also copied ant-contrib... But it doesn't work, it
>> fails while building the project.
>>
>> Do I need another plug-in / library? (I have of course imported
>> AMMACore and AMMAScripst)
>>
>> Thank you very much,
>> Jose E. Rivera
>>
>> *****************************************
>> Error report: (while building)
>>
>> C:\...\AMMAScripts\build.dsl.xml:56: The following error occurred
>> while executing this line:
>> C:\...\AMMAScripts\build.dsl.xml:83: The following error occurred
>> while executing this line:
>> C:\...\AMMAScripts\build.syntax.xml:81: The following error occurred
>> while executing this line:
>> C:\...\AMMAScripts\build.syntax.xml:198: Problem: failed to create
>> task or type antlib:org/apache/tools/ant/antlr:antlr3
>>
>> Juan M. Vara escribió:
>>> Hi again Jose
>>>
>>> As I told you before I had the same problem.
>>> With the new version it seems to be solved.
>>>
>>> BTW Freddy has just updated the wiki on how to create and launch
>>> projects with the new version.
>>> http://wiki.eclipse.org/TCS/Language_Project
>>>
>>> Hope this helps.
>>> Juancho
>>>
>>> Jose E. Rivera escribió:
>>>> Hi all,
>>>>
>>>> thank you very much. I'm trying also with the new version
>>>> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution
>>>> I wil tell you about.
>>>> With the new version, apart from the Language Builder, do I need
>>>> SampleDSL_InjectorCreation.xml as in the sample project of the
>>>> AdressBook?
>>>>
>>>> Thank you in advance,
>>>> Jose E. Rivera
>>>>
>>>> Juan M. Vara escribió:
>>>>> Hi again Quentin
>>>>>
>>>>> Just to prevent you :-)
>>>>> Freddy told me it could be some problem with the TCS version. So,
>>>>> in the meantime I'm trying with the lates one to check if the
>>>>> problem was there.
>>>>>
>>>>> I'll tell you about the result.
>>>>>
>>>>> Thanks again
>>>>> Juancho
>>>>>
>>>>> Quentin Glineur escribió:
>>>>>> Hi,
>>>>>>
>>>>>> It is likely that the ANTLR grammar is generated broken.
>>>>>> Could you check or post it ?
>>>>>>
>>>>>> Quentin GLINEUR
>>>>>>
>>>>>> Juan M. Vara a écrit :
>>>>>>> Hi Jose
>>>>>>>
>>>>>>> I'm facing the very same error in a much more simpler situation.
>>>>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>>>>
>>>>>>> Did you manage to find the problem??
>>>>>>>
>>>>>>> I'll try to give more details:
>>>>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>>>>> hope I have not been able to introduce any mistake on the TCS
>>>>>>> coding :-)
>>>>>>> · The same Eclipse configuration works fine for the SPL language.
>>>>>>> I have been able to run both the injector and the extractor for
>>>>>>> this language
>>>>>>>
>>>>>>> Thanks on advance for any help regarding this matter.
>>>>>>> Juancho
>>>>>>>
>>>>>>> Jose E. Rivera escribió:
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit
>>>>>>>> and it works find :) Then, i have replaced the AddressBook
>>>>>>>> example with my own TCS file and metamodel (in KM3 and Ecore)
>>>>>>>> and i get in SampleDSL_InjectorCreation.xml the following error:
>>>>>>>> "Unable to determine generatted class" while jar generation.
>>>>>>>>
>>>>>>>> What kind of error could have caused this problem?
>>>>>>>>
>>>>>>>> (I attach both TCS file and error report)
>>>>>>>>
>>>>>>>> Thank you very much,
>>>>>>>> Jose E. Rivera
>>>>>>>>
>>>>>>>> ....
>>>>>>>> JARGeneration:
>>>>>>>>
>>>>>>>> BUILD FAILED
>>>>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>>>>> occurred while executing this line:
>>>>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>>>>> executing this line:
>>>>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>>>>> ....
>>>>>>>>
>>>>>>
Re: [TCS] "Unable to determine generatted class" error [message #608137 is a reply to message #379909] Wed, 10 October 2007 09:32 Go to previous message
Juancho  is currently offline Juancho Friend
Messages: 17
Registered: July 2009
Junior Member
Hi Jose

I'm facing the very same error in a much more simpler situation.
I'm just trying to make some tests with the KM3 concrete syntax.

Did you manage to find the problem??

I'll try to give more details:
· BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I hope I
have not been able to introduce any mistake on the TCS coding :-)
· The same Eclipse configuration works fine for the SPL language. I have
been able to run both the injector and the extractor for this language

Thanks on advance for any help regarding this matter.
Juancho

Jose E. Rivera escribió:
> Hi all,
>
> I have download the TCSSample (AddressBook) with the TCSToolkit and it
> works find :) Then, i have replaced the AddressBook example with my own
> TCS file and metamodel (in KM3 and Ecore) and i get in
> SampleDSL_InjectorCreation.xml the following error:
> "Unable to determine generatted class" while jar generation.
>
> What kind of error could have caused this problem?
>
> (I attach both TCS file and error report)
>
> Thank you very much,
> Jose E. Rivera
>
> ....
> JARGeneration:
>
> BUILD FAILED
> C:\...SampleDSL_InjectorCreation.xml:5: The following error occurred
> while executing this line:
> C:\...TCS2JAR\build.xml:23: The following error occurred while executing
> this line:
> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
> ....
>
Re: [TCS] "Unable to determine generatted class" error [message #608138 is a reply to message #379923] Wed, 10 October 2007 14:10 Go to previous message
Eclipse UserFriend
Originally posted by: quentin.glineur.obeo.fr

This is a multi-part message in MIME format.
--------------040509080607000403080207
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

It is likely that the ANTLR grammar is generated broken.
Could you check or post it ?

Quentin GLINEUR

Juan M. Vara a
Re: [TCS] "Unable to determine generatted class" error [message #608139 is a reply to message #379925] Wed, 10 October 2007 14:33 Go to previous message
Juancho  is currently offline Juancho Friend
Messages: 17
Registered: July 2009
Junior Member
This is a multi-part message in MIME format.
--------------080400090504090206070208
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Sorry, but I'm not able to see what is the problem in the grammar.
(if there is). Here it is.

Many thanks.
Juancho

Quentin Glineur escribi
Re: [TCS] "Unable to determine generatted class" error [message #608140 is a reply to message #379925] Wed, 10 October 2007 17:52 Go to previous message
Juancho  is currently offline Juancho Friend
Messages: 17
Registered: July 2009
Junior Member
Hi again Quentin

Just to prevent you :-)
Freddy told me it could be some problem with the TCS version. So, in the
meantime I'm trying with the lates one to check if the problem was there.

I'll tell you about the result.

Thanks again
Juancho

Quentin Glineur escribió:
> Hi,
>
> It is likely that the ANTLR grammar is generated broken.
> Could you check or post it ?
>
> Quentin GLINEUR
>
> Juan M. Vara a écrit :
>> Hi Jose
>>
>> I'm facing the very same error in a much more simpler situation.
>> I'm just trying to make some tests with the KM3 concrete syntax.
>>
>> Did you manage to find the problem??
>>
>> I'll try to give more details:
>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I hope
>> I have not been able to introduce any mistake on the TCS coding :-)
>> · The same Eclipse configuration works fine for the SPL language. I
>> have been able to run both the injector and the extractor for this
>> language
>>
>> Thanks on advance for any help regarding this matter.
>> Juancho
>>
>> Jose E. Rivera escribió:
>>> Hi all,
>>>
>>> I have download the TCSSample (AddressBook) with the TCSToolkit and
>>> it works find :) Then, i have replaced the AddressBook example with
>>> my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>> SampleDSL_InjectorCreation.xml the following error:
>>> "Unable to determine generatted class" while jar generation.
>>>
>>> What kind of error could have caused this problem?
>>>
>>> (I attach both TCS file and error report)
>>>
>>> Thank you very much,
>>> Jose E. Rivera
>>>
>>> ....
>>> JARGeneration:
>>>
>>> BUILD FAILED
>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error occurred
>>> while executing this line:
>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>> executing this line:
>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>> ....
>>>
>
Re: [TCS] "Unable to determine generatted class" error [message #608144 is a reply to message #379930] Thu, 11 October 2007 10:54 Go to previous message
Eclipse UserFriend
Originally posted by: rivera.lcc.uma.es

Hi all,

thank you very much. I'm trying also with the new version
(http://wiki.eclipse.org/TCS/Language_Project). If I find a solution I
wil tell you about.
With the new version, apart from the Language Builder, do I need
SampleDSL_InjectorCreation.xml as in the sample project of the AdressBook?

Thank you in advance,
Jose E. Rivera

Juan M. Vara escribió:
> Hi again Quentin
>
> Just to prevent you :-)
> Freddy told me it could be some problem with the TCS version. So, in the
> meantime I'm trying with the lates one to check if the problem was there.
>
> I'll tell you about the result.
>
> Thanks again
> Juancho
>
> Quentin Glineur escribió:
>> Hi,
>>
>> It is likely that the ANTLR grammar is generated broken.
>> Could you check or post it ?
>>
>> Quentin GLINEUR
>>
>> Juan M. Vara a écrit :
>>> Hi Jose
>>>
>>> I'm facing the very same error in a much more simpler situation.
>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>
>>> Did you manage to find the problem??
>>>
>>> I'll try to give more details:
>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I hope
>>> I have not been able to introduce any mistake on the TCS coding :-)
>>> · The same Eclipse configuration works fine for the SPL language. I
>>> have been able to run both the injector and the extractor for this
>>> language
>>>
>>> Thanks on advance for any help regarding this matter.
>>> Juancho
>>>
>>> Jose E. Rivera escribió:
>>>> Hi all,
>>>>
>>>> I have download the TCSSample (AddressBook) with the TCSToolkit and
>>>> it works find :) Then, i have replaced the AddressBook example with
>>>> my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>>> SampleDSL_InjectorCreation.xml the following error:
>>>> "Unable to determine generatted class" while jar generation.
>>>>
>>>> What kind of error could have caused this problem?
>>>>
>>>> (I attach both TCS file and error report)
>>>>
>>>> Thank you very much,
>>>> Jose E. Rivera
>>>>
>>>> ....
>>>> JARGeneration:
>>>>
>>>> BUILD FAILED
>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error occurred
>>>> while executing this line:
>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>> executing this line:
>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>> ....
>>>>
>>
Re: [TCS] "Unable to determine generatted class" error [message #608148 is a reply to message #379930] Thu, 11 October 2007 14:54 Go to previous message
Eclipse UserFriend
Originally posted by: quentin.glineur.obeo.fr

This is a multi-part message in MIME format.
--------------090901060902020009000308
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi,

Indeed the generated grammar seems to be corrupted. It looks like a mix
between ANTLR v2 and v3 along with other problem.

I think you should try to update your environement (eclipse, emf, and
AMMA core + AMMA scipts).

Regards,

Quentin

Juan M. Vara a
Re: [TCS] "Unable to determine generatted class" error [message #608149 is a reply to message #379937] Thu, 11 October 2007 14:59 Go to previous message
Freddy Allilaire is currently offline Freddy AllilaireFriend
Messages: 130
Registered: July 2009
Senior Member
Hi Jose,

The build.properties file will replace it.

Regards,
Freddy.

Jose E. Rivera a écrit :
> Hi all,
>
> thank you very much. I'm trying also with the new version
> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution I
> wil tell you about.
> With the new version, apart from the Language Builder, do I need
> SampleDSL_InjectorCreation.xml as in the sample project of the AdressBook?
>
> Thank you in advance,
> Jose E. Rivera
>
> Juan M. Vara escribió:
>> Hi again Quentin
>>
>> Just to prevent you :-)
>> Freddy told me it could be some problem with the TCS version. So, in
>> the meantime I'm trying with the lates one to check if the problem was
>> there.
>>
>> I'll tell you about the result.
>>
>> Thanks again
>> Juancho
>>
>> Quentin Glineur escribió:
>>> Hi,
>>>
>>> It is likely that the ANTLR grammar is generated broken.
>>> Could you check or post it ?
>>>
>>> Quentin GLINEUR
>>>
>>> Juan M. Vara a écrit :
>>>> Hi Jose
>>>>
>>>> I'm facing the very same error in a much more simpler situation.
>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>
>>>> Did you manage to find the problem??
>>>>
>>>> I'll try to give more details:
>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>> hope I have not been able to introduce any mistake on the TCS coding
>>>> :-)
>>>> · The same Eclipse configuration works fine for the SPL language. I
>>>> have been able to run both the injector and the extractor for this
>>>> language
>>>>
>>>> Thanks on advance for any help regarding this matter.
>>>> Juancho
>>>>
>>>> Jose E. Rivera escribió:
>>>>> Hi all,
>>>>>
>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit and
>>>>> it works find :) Then, i have replaced the AddressBook example with
>>>>> my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>>>> SampleDSL_InjectorCreation.xml the following error:
>>>>> "Unable to determine generatted class" while jar generation.
>>>>>
>>>>> What kind of error could have caused this problem?
>>>>>
>>>>> (I attach both TCS file and error report)
>>>>>
>>>>> Thank you very much,
>>>>> Jose E. Rivera
>>>>>
>>>>> ....
>>>>> JARGeneration:
>>>>>
>>>>> BUILD FAILED
>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>> occurred while executing this line:
>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>> executing this line:
>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>> ....
>>>>>
>>>


--
Freddy Allilaire - ATLAS Group (INRIA & LINA)
http://www.sciences.univ-nantes.fr/lina/atl/contrib/allilair e
Re: [TCS] "Unable to determine generatted class" error [message #608150 is a reply to message #379937] Thu, 11 October 2007 16:00 Go to previous message
Juancho  is currently offline Juancho Friend
Messages: 17
Registered: July 2009
Junior Member
Hi again Jose

As I told you before I had the same problem.
With the new version it seems to be solved.

BTW Freddy has just updated the wiki on how to create and launch
projects with the new version.
http://wiki.eclipse.org/TCS/Language_Project

Hope this helps.
Juancho

Jose E. Rivera escribió:
> Hi all,
>
> thank you very much. I'm trying also with the new version
> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution I
> wil tell you about.
> With the new version, apart from the Language Builder, do I need
> SampleDSL_InjectorCreation.xml as in the sample project of the AdressBook?
>
> Thank you in advance,
> Jose E. Rivera
>
> Juan M. Vara escribió:
>> Hi again Quentin
>>
>> Just to prevent you :-)
>> Freddy told me it could be some problem with the TCS version. So, in
>> the meantime I'm trying with the lates one to check if the problem was
>> there.
>>
>> I'll tell you about the result.
>>
>> Thanks again
>> Juancho
>>
>> Quentin Glineur escribió:
>>> Hi,
>>>
>>> It is likely that the ANTLR grammar is generated broken.
>>> Could you check or post it ?
>>>
>>> Quentin GLINEUR
>>>
>>> Juan M. Vara a écrit :
>>>> Hi Jose
>>>>
>>>> I'm facing the very same error in a much more simpler situation.
>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>
>>>> Did you manage to find the problem??
>>>>
>>>> I'll try to give more details:
>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>> hope I have not been able to introduce any mistake on the TCS coding
>>>> :-)
>>>> · The same Eclipse configuration works fine for the SPL language. I
>>>> have been able to run both the injector and the extractor for this
>>>> language
>>>>
>>>> Thanks on advance for any help regarding this matter.
>>>> Juancho
>>>>
>>>> Jose E. Rivera escribió:
>>>>> Hi all,
>>>>>
>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit and
>>>>> it works find :) Then, i have replaced the AddressBook example with
>>>>> my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>>>> SampleDSL_InjectorCreation.xml the following error:
>>>>> "Unable to determine generatted class" while jar generation.
>>>>>
>>>>> What kind of error could have caused this problem?
>>>>>
>>>>> (I attach both TCS file and error report)
>>>>>
>>>>> Thank you very much,
>>>>> Jose E. Rivera
>>>>>
>>>>> ....
>>>>> JARGeneration:
>>>>>
>>>>> BUILD FAILED
>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>> occurred while executing this line:
>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>> executing this line:
>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>> ....
>>>>>
>>>
Re: [TCS] "Unable to determine generatted class" error [message #608164 is a reply to message #380152] Wed, 17 October 2007 17:48 Go to previous message
Eclipse UserFriend
Originally posted by: rivera.lcc.uma.es

Hi all again,

I have been trying with new versions, but i didn't succeed :(

I have tried with the last ATL Bundle
(http://www.eclipse.org/m2m/atl/download/) and also with the
configuration: Eclipse 3.3.1, EMF 2.3.1 and ATL version from CVS.
I have followed all the steps mentioned in the Language project website
(http://wiki.eclipse.org/TCS/Language_Project) but I got the same error
in both configuration:

Problem: failed to create task or type
antlib:org/apache/tools/ant/antlr:antlr3

I know there's nothing to do with my example, and that it's about ant
tasks. But I have copied the libs that Amma Scripts need, I have
included them in the classpath, i have even copied them in tha
ants/lib...I have also copied ant-contrib... But it doesn't work, it
fails while building the project.

Do I need another plug-in / library? (I have of course imported AMMACore
and AMMAScripst)

Thank you very much,
Jose E. Rivera

*****************************************
Error report: (while building)

C:\...\AMMAScripts\build.dsl.xml:56: The following error occurred while
executing this line:
C:\...\AMMAScripts\build.dsl.xml:83: The following error occurred while
executing this line:
C:\...\AMMAScripts\build.syntax.xml:81: The following error occurred
while executing this line:
C:\...\AMMAScripts\build.syntax.xml:198: Problem: failed to create task
or type antlib:org/apache/tools/ant/antlr:antlr3

Juan M. Vara escribió:
> Hi again Jose
>
> As I told you before I had the same problem.
> With the new version it seems to be solved.
>
> BTW Freddy has just updated the wiki on how to create and launch
> projects with the new version.
> http://wiki.eclipse.org/TCS/Language_Project
>
> Hope this helps.
> Juancho
>
> Jose E. Rivera escribió:
>> Hi all,
>>
>> thank you very much. I'm trying also with the new version
>> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution I
>> wil tell you about.
>> With the new version, apart from the Language Builder, do I need
>> SampleDSL_InjectorCreation.xml as in the sample project of the
>> AdressBook?
>>
>> Thank you in advance,
>> Jose E. Rivera
>>
>> Juan M. Vara escribió:
>>> Hi again Quentin
>>>
>>> Just to prevent you :-)
>>> Freddy told me it could be some problem with the TCS version. So, in
>>> the meantime I'm trying with the lates one to check if the problem
>>> was there.
>>>
>>> I'll tell you about the result.
>>>
>>> Thanks again
>>> Juancho
>>>
>>> Quentin Glineur escribió:
>>>> Hi,
>>>>
>>>> It is likely that the ANTLR grammar is generated broken.
>>>> Could you check or post it ?
>>>>
>>>> Quentin GLINEUR
>>>>
>>>> Juan M. Vara a écrit :
>>>>> Hi Jose
>>>>>
>>>>> I'm facing the very same error in a much more simpler situation.
>>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>>
>>>>> Did you manage to find the problem??
>>>>>
>>>>> I'll try to give more details:
>>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>>> hope I have not been able to introduce any mistake on the TCS
>>>>> coding :-)
>>>>> · The same Eclipse configuration works fine for the SPL language. I
>>>>> have been able to run both the injector and the extractor for this
>>>>> language
>>>>>
>>>>> Thanks on advance for any help regarding this matter.
>>>>> Juancho
>>>>>
>>>>> Jose E. Rivera escribió:
>>>>>> Hi all,
>>>>>>
>>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit
>>>>>> and it works find :) Then, i have replaced the AddressBook example
>>>>>> with my own TCS file and metamodel (in KM3 and Ecore) and i get in
>>>>>> SampleDSL_InjectorCreation.xml the following error:
>>>>>> "Unable to determine generatted class" while jar generation.
>>>>>>
>>>>>> What kind of error could have caused this problem?
>>>>>>
>>>>>> (I attach both TCS file and error report)
>>>>>>
>>>>>> Thank you very much,
>>>>>> Jose E. Rivera
>>>>>>
>>>>>> ....
>>>>>> JARGeneration:
>>>>>>
>>>>>> BUILD FAILED
>>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>>> occurred while executing this line:
>>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>>> executing this line:
>>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>>> ....
>>>>>>
>>>>
Re: [TCS] "Unable to determine generatted class" error [message #608166 is a reply to message #380159] Wed, 17 October 2007 22:10 Go to previous message
Freddy Allilaire is currently offline Freddy AllilaireFriend
Messages: 130
Registered: July 2009
Senior Member
Hi Jose,

To use the new version of TCS, you need last versions of ATL & AM3 from CVS.

In your problem, Antlr3 ant task is not found. The problem should come
from the ant builder configuration, more especially from the additional
libs. Could you retry to download them (it seems there was a problem
with these libs on the server)?

Regards,
Freddy.

Jose E. Rivera a écrit :
> Hi all again,
>
> I have been trying with new versions, but i didn't succeed :(
>
> I have tried with the last ATL Bundle
> (http://www.eclipse.org/m2m/atl/download/) and also with the
> configuration: Eclipse 3.3.1, EMF 2.3.1 and ATL version from CVS.
> I have followed all the steps mentioned in the Language project website
> (http://wiki.eclipse.org/TCS/Language_Project) but I got the same error
> in both configuration:
>
> Problem: failed to create task or type
> antlib:org/apache/tools/ant/antlr:antlr3
>
> I know there's nothing to do with my example, and that it's about ant
> tasks. But I have copied the libs that Amma Scripts need, I have
> included them in the classpath, i have even copied them in tha
> ants/lib...I have also copied ant-contrib... But it doesn't work, it
> fails while building the project.
>
> Do I need another plug-in / library? (I have of course imported AMMACore
> and AMMAScripst)
>
> Thank you very much,
> Jose E. Rivera
>
> *****************************************
> Error report: (while building)
>
> C:\...\AMMAScripts\build.dsl.xml:56: The following error occurred while
> executing this line:
> C:\...\AMMAScripts\build.dsl.xml:83: The following error occurred while
> executing this line:
> C:\...\AMMAScripts\build.syntax.xml:81: The following error occurred
> while executing this line:
> C:\...\AMMAScripts\build.syntax.xml:198: Problem: failed to create task
> or type antlib:org/apache/tools/ant/antlr:antlr3
>
> Juan M. Vara escribió:
>> Hi again Jose
>>
>> As I told you before I had the same problem.
>> With the new version it seems to be solved.
>>
>> BTW Freddy has just updated the wiki on how to create and launch
>> projects with the new version.
>> http://wiki.eclipse.org/TCS/Language_Project
>>
>> Hope this helps.
>> Juancho
>>
>> Jose E. Rivera escribió:
>>> Hi all,
>>>
>>> thank you very much. I'm trying also with the new version
>>> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution
>>> I wil tell you about.
>>> With the new version, apart from the Language Builder, do I need
>>> SampleDSL_InjectorCreation.xml as in the sample project of the
>>> AdressBook?
>>>
>>> Thank you in advance,
>>> Jose E. Rivera
>>>
>>> Juan M. Vara escribió:
>>>> Hi again Quentin
>>>>
>>>> Just to prevent you :-)
>>>> Freddy told me it could be some problem with the TCS version. So, in
>>>> the meantime I'm trying with the lates one to check if the problem
>>>> was there.
>>>>
>>>> I'll tell you about the result.
>>>>
>>>> Thanks again
>>>> Juancho
>>>>
>>>> Quentin Glineur escribió:
>>>>> Hi,
>>>>>
>>>>> It is likely that the ANTLR grammar is generated broken.
>>>>> Could you check or post it ?
>>>>>
>>>>> Quentin GLINEUR
>>>>>
>>>>> Juan M. Vara a écrit :
>>>>>> Hi Jose
>>>>>>
>>>>>> I'm facing the very same error in a much more simpler situation.
>>>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>>>
>>>>>> Did you manage to find the problem??
>>>>>>
>>>>>> I'll try to give more details:
>>>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>>>> hope I have not been able to introduce any mistake on the TCS
>>>>>> coding :-)
>>>>>> · The same Eclipse configuration works fine for the SPL language.
>>>>>> I have been able to run both the injector and the extractor for
>>>>>> this language
>>>>>>
>>>>>> Thanks on advance for any help regarding this matter.
>>>>>> Juancho
>>>>>>
>>>>>> Jose E. Rivera escribió:
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit
>>>>>>> and it works find :) Then, i have replaced the AddressBook
>>>>>>> example with my own TCS file and metamodel (in KM3 and Ecore) and
>>>>>>> i get in SampleDSL_InjectorCreation.xml the following error:
>>>>>>> "Unable to determine generatted class" while jar generation.
>>>>>>>
>>>>>>> What kind of error could have caused this problem?
>>>>>>>
>>>>>>> (I attach both TCS file and error report)
>>>>>>>
>>>>>>> Thank you very much,
>>>>>>> Jose E. Rivera
>>>>>>>
>>>>>>> ....
>>>>>>> JARGeneration:
>>>>>>>
>>>>>>> BUILD FAILED
>>>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>>>> occurred while executing this line:
>>>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>>>> executing this line:
>>>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>>>> ....
>>>>>>>
>>>>>
Re: [TCS] "Unable to determine generatted class" error [message #608168 is a reply to message #380164] Thu, 18 October 2007 09:08 Go to previous message
Eclipse UserFriend
Originally posted by: rivera.lcc.uma.es

Hi Freddy,

Thank you very much, now it works (after downloading them again). Now I
only have errors from my own TCS specification :)

Thank you again,
Regards,
Jose E. Rivera

Freddy Allilaire escribió:
> Hi Jose,
>
> To use the new version of TCS, you need last versions of ATL & AM3 from
> CVS.
>
> In your problem, Antlr3 ant task is not found. The problem should come
> from the ant builder configuration, more especially from the additional
> libs. Could you retry to download them (it seems there was a problem
> with these libs on the server)?
>
> Regards,
> Freddy.
>
> Jose E. Rivera a écrit :
>> Hi all again,
>>
>> I have been trying with new versions, but i didn't succeed :(
>>
>> I have tried with the last ATL Bundle
>> (http://www.eclipse.org/m2m/atl/download/) and also with the
>> configuration: Eclipse 3.3.1, EMF 2.3.1 and ATL version from CVS.
>> I have followed all the steps mentioned in the Language project
>> website (http://wiki.eclipse.org/TCS/Language_Project) but I got the
>> same error in both configuration:
>>
>> Problem: failed to create task or type
>> antlib:org/apache/tools/ant/antlr:antlr3
>>
>> I know there's nothing to do with my example, and that it's about ant
>> tasks. But I have copied the libs that Amma Scripts need, I have
>> included them in the classpath, i have even copied them in tha
>> ants/lib...I have also copied ant-contrib... But it doesn't work, it
>> fails while building the project.
>>
>> Do I need another plug-in / library? (I have of course imported
>> AMMACore and AMMAScripst)
>>
>> Thank you very much,
>> Jose E. Rivera
>>
>> *****************************************
>> Error report: (while building)
>>
>> C:\...\AMMAScripts\build.dsl.xml:56: The following error occurred
>> while executing this line:
>> C:\...\AMMAScripts\build.dsl.xml:83: The following error occurred
>> while executing this line:
>> C:\...\AMMAScripts\build.syntax.xml:81: The following error occurred
>> while executing this line:
>> C:\...\AMMAScripts\build.syntax.xml:198: Problem: failed to create
>> task or type antlib:org/apache/tools/ant/antlr:antlr3
>>
>> Juan M. Vara escribió:
>>> Hi again Jose
>>>
>>> As I told you before I had the same problem.
>>> With the new version it seems to be solved.
>>>
>>> BTW Freddy has just updated the wiki on how to create and launch
>>> projects with the new version.
>>> http://wiki.eclipse.org/TCS/Language_Project
>>>
>>> Hope this helps.
>>> Juancho
>>>
>>> Jose E. Rivera escribió:
>>>> Hi all,
>>>>
>>>> thank you very much. I'm trying also with the new version
>>>> (http://wiki.eclipse.org/TCS/Language_Project). If I find a solution
>>>> I wil tell you about.
>>>> With the new version, apart from the Language Builder, do I need
>>>> SampleDSL_InjectorCreation.xml as in the sample project of the
>>>> AdressBook?
>>>>
>>>> Thank you in advance,
>>>> Jose E. Rivera
>>>>
>>>> Juan M. Vara escribió:
>>>>> Hi again Quentin
>>>>>
>>>>> Just to prevent you :-)
>>>>> Freddy told me it could be some problem with the TCS version. So,
>>>>> in the meantime I'm trying with the lates one to check if the
>>>>> problem was there.
>>>>>
>>>>> I'll tell you about the result.
>>>>>
>>>>> Thanks again
>>>>> Juancho
>>>>>
>>>>> Quentin Glineur escribió:
>>>>>> Hi,
>>>>>>
>>>>>> It is likely that the ANTLR grammar is generated broken.
>>>>>> Could you check or post it ?
>>>>>>
>>>>>> Quentin GLINEUR
>>>>>>
>>>>>> Juan M. Vara a écrit :
>>>>>>> Hi Jose
>>>>>>>
>>>>>>> I'm facing the very same error in a much more simpler situation.
>>>>>>> I'm just trying to make some tests with the KM3 concrete syntax.
>>>>>>>
>>>>>>> Did you manage to find the problem??
>>>>>>>
>>>>>>> I'll try to give more details:
>>>>>>> · BTW I'm using the KM3.km3 and KM3.tcs files from the ZOO, so I
>>>>>>> hope I have not been able to introduce any mistake on the TCS
>>>>>>> coding :-)
>>>>>>> · The same Eclipse configuration works fine for the SPL language.
>>>>>>> I have been able to run both the injector and the extractor for
>>>>>>> this language
>>>>>>>
>>>>>>> Thanks on advance for any help regarding this matter.
>>>>>>> Juancho
>>>>>>>
>>>>>>> Jose E. Rivera escribió:
>>>>>>>> Hi all,
>>>>>>>>
>>>>>>>> I have download the TCSSample (AddressBook) with the TCSToolkit
>>>>>>>> and it works find :) Then, i have replaced the AddressBook
>>>>>>>> example with my own TCS file and metamodel (in KM3 and Ecore)
>>>>>>>> and i get in SampleDSL_InjectorCreation.xml the following error:
>>>>>>>> "Unable to determine generatted class" while jar generation.
>>>>>>>>
>>>>>>>> What kind of error could have caused this problem?
>>>>>>>>
>>>>>>>> (I attach both TCS file and error report)
>>>>>>>>
>>>>>>>> Thank you very much,
>>>>>>>> Jose E. Rivera
>>>>>>>>
>>>>>>>> ....
>>>>>>>> JARGeneration:
>>>>>>>>
>>>>>>>> BUILD FAILED
>>>>>>>> C:\...SampleDSL_InjectorCreation.xml:5: The following error
>>>>>>>> occurred while executing this line:
>>>>>>>> C:\...TCS2JAR\build.xml:23: The following error occurred while
>>>>>>>> executing this line:
>>>>>>>> C:\...\TCS2JAR\build.xml:120: Unable to determine generated class
>>>>>>>> ....
>>>>>>>>
>>>>>>
Previous Topic:[TCS]:Build faied in injecteur and Extracteur
Next Topic:[TCS] Problem building TCS Language project
Goto Forum:
  


Current Time: Fri Mar 29 09:07:24 GMT 2024

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

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

Back to the top