|
Re: [AM3] Cannot install AM3 for ATL3 plugins correctly [message #512157 is a reply to message #512115] |
Thu, 04 February 2010 09:01 |
Hugo Bruneliere Messages: 674 Registered: July 2009 |
Senior Member |
|
|
Hi Ronan,
Ronan a écrit :
> Hi,
> I have retrieved the AM3 source code from SVN. I get an error once
> eclipse attemots to build as follows:
> ATLUtils.java has the following error:
> modelFactory = CoreService.getModelFactory("EMF");
>
> I resolved the error temporarily by using the deprecated method,
> createModelFactory. I'm sure this isn't the ideal solution. Did nyone
> else get this?
The AM3 SVN trunk is synchronized with the ATL CVS head.
So if you get the latest source version of both, there is not such an error.
>
> Even with this fix in place the plugins do not function as everytime I
> try to run an ant script with AM3 tasks it in they are not recognised.
> They error is as follows:
> 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.
>
> I have set the ant build to run in the same JRE.
>
> I am running Eclipse 3.5, ATL3.1 and EMF 2.5 on WIndows VIsta.
The AM3 megamodeling prototype (from the AM3 SVN "plugins" folder) has
nothing to deal with ATL Ant tasks.
The old ATL Ant tasks (called "am3.xxx") are still available but they
should not be used anymore in most cases.
The new ATL Ant tasks are now part of ATL:
http://wiki.eclipse.org/ATL/User_Guide#ATL_ant_tasks
Best regards,
Hugo
>
> Any help is appreciated.
> Regards,
> Ronan
>
>
--
-------------------------------------------------
Hugo Bruneliere - R&D Engineer
AtlanMod research team (INRIA & EMN) - Room B206
Ecole des Mines de Nantes
4, rue Alfred Kastler
44307 Nantes Cedex 3 - France
Office: +33 (0)2 51 85 82 21
EMail: hugo.bruneliere@inria.fr
-------------------------------------------------
--------------------------------------------------------
Hugo Bruneliere, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04409 seconds