In 4.7.1 and trunk (5.0.x) we have updated our build tools.  If you are 
building from source, you will need to do the same.

The build system now requires ant 1.7.

I've updated the instructions here:

 http://wiki.openlaszlo.org/SubversionBuildInstructions

Here is a quick summary of what you will need to do to update an existing build 
system:

1. Update the vendor files (ant and its supporting jars)

 (cd $LZ_VENDOR_ROOT; svn update)

2. You will have to either install ant 1.7 from the zip file as described in 
the wiki, or, if you are on OS X Snow Leopard, simply set your ANT_HOME to 
/usr/share/ant (which is ant 1.7 as distributed in Snow Leopard).

3. 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.

[If you are building on Cygwin, note that the .ant/lib must be in your Windows 
user directory, not your Cygwin directory, so say:

  cp ${LZ_VENDOR_ROOT}/{ant-contrib,catalina-ant,jing,js}.jar "`cygpath -u 
"$USERPROFILE"`"/.ant/lib

]

Reply via email to