|Problem loading model after updating to latest version of JET [message #54387]
||Tue, 16 December 2008 14:52
| Mark Wood
Registered: July 2009
Earlier today I was playing with custom JET functions and had to update to
the latest version JET in order to get something to work. I'm currently
using version 0.9.1. Anyway, I now have the problem that my JET project
has stopped working.
Basically JET doesn't seem to be able to load the model I am telling it
to. My main.jet file allows the generation of files that use templates
that don't require any interaction with my model. However, those that do
require the model are not generated e.g.
<c:iterate select="//namedElements[self::Entity]" var="entityCursor">
<c:setVariable var="entityName" select="$entityCursor/@name" />
<c:log>Entity Name:- <c:get select="$entityName" /></c:log>
template="/jetwebsitegenerator/templates/java/persistentbean.java.jet " />
The c:log statement in the c:iterate statement is never executed (despite
there being Entities in the model to process. The trace says:
Trace: loop initialized
Trace: finished loop
Clearly it reads the statement but just isn't iterating over the model
elements as it should.
I have spent around 4 hours now looking at this problem and trying to fix
it. I have checked and double checked my plugin.xml which contains the
The only warning I have about plugin.xml is:
"Referenced class 'jettestproject.compiled._jet_transformation' in
attribute 'templateLoaderClass' is not on the plug-in classpath".
However, the templates are not the problem, it seems to be the actual
model itself that just isn't being loaded. N.B. The _jet_transformation
class definitely does exist in the jet2java folder.
I've tried cleaning and re-building the project many times. I just can't
see what the problem could be.
Does anyone have any idea what I might be able to try?
Powered by FUDForum
. Page generated in 0.02032 seconds