Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsRE: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/374178/#msg_374178
Does anyone know if AM3 still provides XML injector functionality? I have
AM3 installed and one of my ant scripts uses am3.loadModel for an XML
file, but is coming back with the following:
BUILD FAILED
/Users/mark/Documents/workspace/mikael2.low.tran1/build.xml: 6: Problem:
failed to create task or type am3.loadModel
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken
place.
Total time: 101 milliseconds
Any idea?
Mark]]>Mark Melia2008-11-03T12:21:56-00:00Re: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/563215/#msg_563215
Mark Melia a écrit :
> Hi,
>
> Does anyone know if AM3 still provides XML injector functionality? I
> have AM3 installed and one of my ant scripts uses am3.loadModel for an
> XML file, but is coming back with the following:
>
> Buildfile: /Users/mark/Documents/workspace/mikael2.low.tran1/build.xml
>
> loadModels:
> [echo] load metamodels
>
> BUILD FAILED
> /Users/mark/Documents/workspace/mikael2.low.tran1/build.xml: 6: Problem:
> failed to create task or type am3.loadModel
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken
> place.
>
>
> Total time: 101 milliseconds
>
> Any idea?
The problem is that the "am3.loadModel" task is not found. It does not
seem to come from the XML injection.
When you run the ANT script launching your task, do you specify that you
want to do it using the same JRE as the workspace?
This option needs to be checked from the "JRE" tab of your ANT script
launch configuration.
Best regards,
Hugo
> Mark
>]]>Hugo Bruneliere2008-11-03T14:20:03-00:00Re: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/374179/#msg_374179
Mark Melia a écrit :
> Hi,
>
> Does anyone know if AM3 still provides XML injector functionality? I
> have AM3 installed and one of my ant scripts uses am3.loadModel for an
> XML file, but is coming back with the following:
>
> Buildfile: /Users/mark/Documents/workspace/mikael2.low.tran1/build.xml
>
> loadModels:
> [echo] load metamodels
>
> BUILD FAILED
> /Users/mark/Documents/workspace/mikael2.low.tran1/build.xml: 6: Problem:
> failed to create task or type am3.loadModel
> Cause: The name is undefined.
> Action: Check the spelling.
> Action: Check that any custom tasks/types have been declared.
> Action: Check that any <presetdef>/<macrodef> declarations have taken
> place.
>
>
> Total time: 101 milliseconds
>
> Any idea?
The problem is that the "am3.loadModel" task is not found. It does not
seem to come from the XML injection.
When you run the ANT script launching your task, do you specify that you
want to do it using the same JRE as the workspace?
This option needs to be checked from the "JRE" tab of your ANT script
launch configuration.
Best regards,
Hugo
> Mark
>]]>Hugo Bruneliere2008-11-03T14:20:03-00:00Re: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/563264/#msg_563264
Thanks for your reply
> When you run the ANT script launching your task, do you specify that you
> want to do it using the same JRE as the workspace?
> This option needs to be checked from the "JRE" tab of your ANT script
> launch configuration.
Yes I have done this but still no joy, yet I can get it to work with a
previous version on the eclipse CVS, any ideas?
Regards,
Mark]]>Mark Melia2008-11-04T12:04:19-00:00Re: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/374181/#msg_374181
Thanks for your reply
> When you run the ANT script launching your task, do you specify that you
> want to do it using the same JRE as the workspace?
> This option needs to be checked from the "JRE" tab of your ANT script
> launch configuration.
Yes I have done this but still no joy, yet I can get it to work with a
previous version on the eclipse CVS, any ideas?
Regards,
Mark]]>Mark Melia2008-11-04T12:04:19-00:00Re: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/374289/#msg_374289
Mark Melia a écrit :
> Hi Hugo,
>
> Thanks for your reply
>
>> When you run the ANT script launching your task, do you specify that
>> you want to do it using the same JRE as the workspace?
>> This option needs to be checked from the "JRE" tab of your ANT script
>> launch configuration.
> Yes I have done this but still no joy, yet I can get it to work with a
> previous version on the eclipse CVS, any ideas?
>
> Regards,
> Mark
>
You seems to have a similar problem than Jerome so I propose you the
same answer ;-)
Due to some recent major modifications of the ATL HEAD version, the old
AM3 plugins (available as explained from http://wiki.eclipse.org/AM3/How_Install_AM3_From_SVN) are currently not
compatible with this ATL version.
--
-------------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (INRIA & EMN) - Room B206
École des Mines de Nantes
4, rue Alfred Kastler
44307 Nantes Cedex 3 - France
EMail: hugo.bruneliere@inria.fr
-------------------------------------------------]]>Hugo Bruneliere2008-11-17T10:35:37-00:00Re: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/563375/#msg_563375
Mark Melia a écrit :
> Hi Hugo,
>
> Thanks for your reply
>
>> When you run the ANT script launching your task, do you specify that
>> you want to do it using the same JRE as the workspace?
>> This option needs to be checked from the "JRE" tab of your ANT script
>> launch configuration.
> Yes I have done this but still no joy, yet I can get it to work with a
> previous version on the eclipse CVS, any ideas?
>
> Regards,
> Mark
>
You seems to have a similar problem than Jerome so I propose you the
same answer ;-)
Due to some recent major modifications of the ATL HEAD version, the old
AM3 plugins (available as explained from http://wiki.eclipse.org/AM3/How_Install_AM3_From_SVN) are currently not
compatible with this ATL version.
--
-------------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (INRIA & EMN) - Room B206
École des Mines de Nantes
4, rue Alfred Kastler
44307 Nantes Cedex 3 - France
EMail: hugo.bruneliere@inria.fr
-------------------------------------------------]]>Hugo Bruneliere2008-11-17T10:35:37-00:00Re: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/374302/#msg_374302
Just to confirm the SVN plugins still do not support all the ant tasks.
Perhaps this should be highlighted on the SVN install page?
Regards,
Ronan]]>Ronan B2009-02-05T13:00:32-00:00Re: AM3 XML injector
https://www.eclipse.org/forums/index.php/mv/msg/122595/563678/#msg_563678
Just to confirm the SVN plugins still do not support all the ant tasks.
Perhaps this should be highlighted on the SVN install page?
Regards,
Ronan]]>Ronan B2009-02-05T13:00:32-00:00