Skip to main content



      Home
Home » Archived » AM3 » RE: AM3 XML injector
RE: AM3 XML injector [message #374178] Mon, 03 November 2008 07:21 Go to next message
Eclipse UserFriend
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 #374179 is a reply to message #374178] Mon, 03 November 2008 09:20 Go to previous messageGo to next message
Eclipse UserFriend
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 #374181 is a reply to message #374179] Tue, 04 November 2008 07:04 Go to previous messageGo to next message
Eclipse UserFriend
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 #374289 is a reply to message #374181] Mon, 17 November 2008 05:35 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Ecore2KM3 Question
Next Topic:Ecore2KM3 Question
Goto Forum:
  


Current Time: Sun Jul 06 15:46:48 EDT 2025

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

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

Back to the top