Skip to main content



      Home
Home » Archived » AM3 » [AM3] Cannot install AM3 for ATL3 plugins correctly
[AM3] Cannot install AM3 for ATL3 plugins correctly [message #575193] Wed, 03 February 2010 18:23 Go to next message
Eclipse UserFriend
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?

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.

Any help is appreciated.
Regards,
Ronan
Re: [AM3] Cannot install AM3 for ATL3 plugins correctly [message #575214 is a reply to message #575193] Thu, 04 February 2010 04:01 Go to previous message
Eclipse UserFriend
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
-------------------------------------------------
Previous Topic:[ATL] dealing with data type
Next Topic:KM3 Questions
Goto Forum:
  


Current Time: Tue Jul 22 19:39:52 EDT 2025

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

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

Back to the top