Skip to main content

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: 15
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:


C:\Users\jfoscue\workspace\DataMetaModel\mil.mda.osf.model.cixs\build.xml:293: Problem: failed to create task or type em
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?

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

Current Time: Thu Jun 21 10:58:23 GMT 2018

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

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

Back to the top