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] Wed, 05 September 2012 20:26
Jim Foscue is currently offline Jim Foscue
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: Fri Apr 18 10:14:09 EDT 2014

Powered by FUDForum. Page generated in 0.01757 seconds