Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Generating model source with maven and emf.ecore2java(Need help configuring maven/ant task to generate model source code)
Generating model source with maven and emf.ecore2java [message #908756] Thu, 06 September 2012 00:26
Jim Foscue is currently offline Jim FoscueFriend
Messages: 14
Registered: June 2012
Junior Member
I'm trying to auto generate my ecore model's code using emf.ecore2java from an ant task using maven. I'm getting the following errors:


generate:

BUILD FAILED
C:\Users\jfoscue\workspace\DataMetaModel\mil.mda.osf.model.cixs\build.xml:293: Problem: failed to create task or type em
f.Ecore2Java
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'm thinking ant can't find emf.ecore2java in the classpath. Does anyone know how to fix this?

Jim
Previous Topic:[EEF] Other than in a tree view
Next Topic:[EEF] Errors in the generated code.
Goto Forum:
  


Current Time: Mon Dec 22 00:12:29 GMT 2014

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

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