Folks,
I have a build of FreeMarker 2.3.16 that *should* run on GAE. I'm saying "should" because I don't use GAE myself, so it's up to you to verify it.
Go to <https://sourceforge.net/projects/freemarker/files/>, and grab "freemarker-gae-pre1.jar" from freemarker/2.3.16 directory. The file is labelled "pre1" as it's considered a prerelease -- all you people who wish to use FreeMarker on GAE, please start using it and hammer at it, and report back any problems you can find. That said, I sincerely hope there will be none. The changes themselves are fairly light - I removed the dependency on Swing from AST classes, and worked around GAE's reflection security bugs.
The development for this version is done in SVN branch <https://freemarker.svn.sourceforge.net/svnroot/freemarker/branches/2.3-gae>.
This doesn't replace our longer term effort of having default FreeMarker be able to run under GAE, but is intended to provide you people with an instant solution.
Attila.
On 2010.02.03., at 17:11, Stephen Huey wrote:
> Hello everyone, I'm having trouble getting FreeMarker running on Google App Engine even with the hacked TextBlock class that was posted on the GAE for Java group. I just subscribed to this list, and looking through the FreeMarker archives, I see that Jeremy wrote Attila a couple days ago to ask about putting him in contact with someone at Google for support on this issue. I'm curious what Jeremy meant by that--who is he putting Attila in touch with, and what is expected of that?
>
> More to the point, I am chiefly looking for an easy way to bypass the dependency on javax.swing.tree.TreeNode, but I'm guessing there won't be any easy way around it--at least none that would seem easier than simply trying another solution like Velocity instead. I was curious as to whether or not someone working on FreeMarker has come up with a fix that we could access even if it's not part of a stable release.
>
> Thanks so much,
> Stephen
|