RE: AM3 XML injector [message #374178] |
Mon, 03 November 2008 07:21  |
Eclipse User |
|
|
|
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?
Mark
|
|
|
|
|
Re: AM3 XML injector [message #374289 is a reply to message #374181] |
Mon, 17 November 2008 05:35   |
Eclipse User |
|
|
|
Dear Mark,
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.
You have to checkout the sources of compatible ATL plugins from the
development branch as explained from
http://wiki.eclipse.org/ATL/How_Install_ATL_(Dev)_From_CVS
Sorry for any inconvenience.
Best regards,
Hugo
--
-------------------------------------------------
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
-------------------------------------------------
|
|
|
Re: AM3 XML injector [message #374302 is a reply to message #374289] |
Thu, 05 February 2009 08:00  |
Eclipse User |
|
|
|
Hi Hego/Lisa,
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
|
|
|
Re: AM3 XML injector [message #563215 is a reply to message #374178] |
Mon, 03 November 2008 09:20  |
Eclipse User |
|
|
|
Hi Mark,
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
>
|
|
|
Re: AM3 XML injector [message #563264 is a reply to message #374179] |
Tue, 04 November 2008 07:04  |
Eclipse User |
|
|
|
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
|
|
|
Re: AM3 XML injector [message #563375 is a reply to message #374181] |
Mon, 17 November 2008 05:35  |
Eclipse User |
|
|
|
Dear Mark,
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.
You have to checkout the sources of compatible ATL plugins from the
development branch as explained from
http://wiki.eclipse.org/ATL/How_Install_ATL_(Dev)_From_CVS
Sorry for any inconvenience.
Best regards,
Hugo
--
-------------------------------------------------
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
-------------------------------------------------
|
|
|
Re: AM3 XML injector [message #563678 is a reply to message #374289] |
Thu, 05 February 2009 08:00  |
Eclipse User |
|
|
|
Hi Hego/Lisa,
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
|
|
|
Powered by
FUDForum. Page generated in 0.45993 seconds