Using "external" library in JET template [message #605296] |
Sat, 05 May 2007 21:08 |
Kevin Lo 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
plugin.xml?
Many thanks for any idea and suggestions.
Regards
Kevin
|
|
|
Powered by
FUDForum. Page generated in 0.01763 seconds