Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] problems with ATL standalone
[ATL] problems with ATL standalone [message #95991] Mon, 24 November 2008 13:57
Eclipse UserFriend
Originally posted by: hein..fokus.fraunhofer

Hi all,

I'm trying to run the ATL engine programmatically.
I have wrote the following code:

AtlEMFModelHandler emfamh = new AtlEMFModelHandler();
URL firsturl = new
URL(" file:\\C:\\eclipse\\workspace-atl\\atltest\\model\\in\\first .ecore ");

ASMModel model = emfamh.loadModel("First",
emfamh.getMof(),
firsturl.openStream());

Unfortunately, I do always get a NullpointerException
at org.eclipse.m2m.atl.ATLLogger.log(ATLLogger.java:59)
at
org.eclipse.m2m.atl.drivers.emf4atl.AtlEMFModelHandler.loadM odel(AtlEMFModelHandler.java:296)


Is there something I've forgotten to initialize?

Thanks in advance
Cheers,
Christian
Previous Topic:[ATL] Dealing with imported elements for the output model
Next Topic:[ATL] How "getAppliedStereotypes()" operation works with ATL
Goto Forum:
  


Current Time: Thu Apr 25 17:03:00 GMT 2024

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

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

Back to the top