Jan-Kees van Andel schrieb:
I think I found the problem Matthias referred to. On line 139 in
GroovyWeaver.groovy, I see the following line:
WeavingContext.getRefreshContext().setRecompileRecommended(ScriptingConst.ENGINE_TYPE_JAVA,
Boolean.FALSE);

If I change it into:
WeavingContext.getRefreshContext().setRecompileRecommended(ScriptingConst.ENGINE_TYPE_GROOVY,
Boolean.FALSE);

...the MyFaces 1.2 example works.

I can commit it, as well as the other fix for EXTSCRIPT-27, but since
I don't completely oversee the ext-scripting architecture, I thought
I'll ask before doing anything. ;-)

It looks like a bug. The MyFaces 2.0 example already works, because of
the IntialScanAnnotationListener that's being invoked by MyFaces 2.0.

The Spring example also didn't work, but I've changed the dependencies
in the pom to be the same as in the MyFaces 1.2 pom. I didn't put much
effort into it, but this is what I did:
- add core-java6
- add myfaces12-extensions
- remove the SNAPSHOT from the myfaces dependencies

I'll also commented on the JIRA issue and attached a patch, containing
all this stuff.

/JK
I will commit that tomorrow then I have a full day for ext-scripting, as for the NPE it is fixed.

Werner

Reply via email to