So I was finally able to build 4.9.0 from source. It turns out that I had an "environmental mess", with both Java 5 and 6 installed, as well as with Javacc 5 (I had to downgrade to 2.1 to build OL 4.9.0). I ended up creating a clean Ubuntu environment and managed to do it following the wiki steps.
I also encountered some "Java heap space" problems while building (like the ones described here http://old.nabble.com/Out-of-memory-tt20785546.html#a20785546 ), and applying Henry's fix as described in the thread solved them (the one regarding compiler.swf9.execflex=true) Now I'm off to the real deal: trying to see if I can get the new Flex SDK integrated and running following Raju's initial tests. That will allow OL to be used a little bit longer for updated Flash apps, while the focus changes to HTML5. Anyone from the dev team (IF there's still a dev team) or community interested in helping out? Best, Will On Mon, Mar 19, 2012 at 5:37 PM, Raju Bitter < [email protected]> wrote: > Will, did you follow the build instructions on the Wiki page? > http://wiki.openlaszlo.org/SubversionBuildInstructions > > If you build OpenLaszlo 4.9, you need to use a different version of > the JavaCC parser, version 2.1. Maybe that's causing the strange error > method on your machine. Which version of javacc do you have installed? > For my 4.9 build, I get: > $:~/src/svn/vendor$ javacc -version > Java Compiler Compiler Version 2.1 (Parser Generator) > > If you have javacc 5.0 installed, do the following steps. Go into > $LZ_VENDOR_ROOT, and update to revision 16963 as shown here. This will > restore the JavaCC 2.1 version in the vendor folder. Then launch the > installer, and install the 2.1 version. Add the javacc2.1/bin folder > to your path. If that doesn't resolve the problem, I can only > recommend that you build in Linux instead. > $:~/src/svn/vendor$ svn update -r 16963 > D javacc-5.0.zip > A JavaCC2_1.class > Updated to revision 16963. > $:~/src/svn/vendor$ java JavaCC2_1 > WebGain Installer > Copyright 1997-2001 WebGain Inc. > ... (now install JavaCC 2.1 using the GUI installer) > > - Raju >
