On 2010-02-01, at 18:03, Danielle Wheeler wrote: > Hi Tucker, > I'm getting an error while trying to build OpenLaszlo Trunk on OS X 10.6 that > I've never seen before. Could you please tell me what I'm missing? > > BUILD FAILED > /Users/dwheeler/src/svn/openlaszlo/trunk/build-tools/build-opt.xml:60: > ReferenceError: "javax" is not defined.
Hi Danielle, We've just updated our build system in trunk to require ant 1.7. I've updated the instructions here: http://wiki.openlaszlo.org/SubversionBuildInstructions But here is a quick summary of what you will need to do to build on OS X: 1. Update the vendor files (ant and its supporting jars) (cd $LZ_VENDOR_ROOT; svn update) You will have to either install ant 1.7 from the zip file as described in the wiki, or, if you are on Snow Leopard, simply set your ANT_HOME to /usr/share/ant (which is ant 1.7 as distributed in Snow Leopard). I recommend that you do _not_ use the install_libs task in vendor as it will install many unnecessary jars. Instead, I recommend you copy just the ones you need to your ${HOME}/.ant/lib/ directory (you will need to ensure this directory exists): cp ${LZ_VENDOR_ROOT}/{ant-contrib,catalina-ant,jing,js}.jar ${HOME}/.ant/lib/ is sufficient for basic builds. If you also are building the documentation, you will also need the xalan and serializer jars. Let me know if you have any problems.
