Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Using "external" library in JET template
Using "external" library in JET template [message #605296] Sat, 05 May 2007 21:08
Kevin Lo is currently offline Kevin LoFriend
Messages: 5
Registered: July 2009
Junior Member
Hi everyone,

I'm just starting to learn using JET, and my case is as follows:
I create a new plug in project and write some classes that make use of JET
package (JETEmitter class) to produce some classes (just like explained in
JET Tutorial 2 and its example) , based on ecore-model. Because the argument
needs the ecore package, I have to import the emf.ecore into my template.
The question is: What should I do to make the generated Java template class
can import the emf.ecore package "correctly"?
I did write import="org.eclipse.emf.ecore.*" within the <%@ jet ....%>
tag, and could see this import statement too in the generated class in
..JETEmitters folder, but I got an error report "the import org.eclipse
cannot be resolved".
What should I do to make this right? Do I have to add something within the

Many thanks for any idea and suggestions.
Previous Topic:[Teneo] dataStore.initialize() fails (four .ecore)
Next Topic:[Teneo] Error with generated FK name, name too long
Goto Forum:

Current Time: Thu Jan 21 05:48:47 GMT 2021

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

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

Back to the top