|
|
|
Re: AM3 XML injector [message #374289 is a reply to message #374181] |
Mon, 17 November 2008 10:35 |
Hugo Bruneliere Messages: 674 Registered: July 2009 |
Senior Member |
|
|
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
-------------------------------------------------
--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
|
|
|
|
Re: AM3 XML injector [message #563215 is a reply to message #374178] |
Mon, 03 November 2008 14:20 |
Hugo Bruneliere Messages: 674 Registered: July 2009 |
Senior Member |
|
|
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
>
--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
|
|
|
|
Re: AM3 XML injector [message #563375 is a reply to message #374181] |
Mon, 17 November 2008 10:35 |
Hugo Bruneliere Messages: 674 Registered: July 2009 |
Senior Member |
|
|
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
-------------------------------------------------
--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
|
|
|
|
Powered by
FUDForum. Page generated in 0.05193 seconds