I recommend the following bash alias: alias ant-1.4='ANT_HOME=~/Laszlo/tools/jakarta-ant-1.5.1 JAVA_HOME=/ System/Library/Frameworks/JavaVM.framework/Versions/1.4/Home ~/Laszlo/ tools/jakarta-ant-1.5.1/bin/ant'
You can use it for building pre-3.4 too. On 2006-10-11, at 14:31 EDT, Jim Grandy wrote: > Please don't change a link in /Library/Java/Home! That's just wrong, > and it'll get reset whenever you do a system upgrade. Please just add > a line to your .bashrc: > > export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/ > Versions/1.4.2/home/" > > jim > > On Oct 11, 2006, at 10:47 AM, Benjamin Shine wrote: > >> Looks like you are using Java 1.5. Java 1.5 fails on the doc build. >> We know about this, but don't understand it. See earlier mail on this >> list from Jim Grandy of how to change your default java version on >> the mac; it's just changing a link in /Library/Java/Home, I think. >> >> Someone who likes xsl, configuration issues, and suffering could look >> into why this fails on Java 1.5. >> >> -ben >> >> >> On Oct 11, 2006, at 10:36 AM, Frisco Del Rosario wrote: >> >>> JRSundman and I are both working on the dguide. My ant tasks seem >>> to be failing in shorter time than his. After an ant clean, ant doc >>> fails here: >>> >>> format-one: >>> [style] Processing /Users/laszlosystems/src/svn/openlaszlo/ >>> trunk/docs/src/build/reference/html/a.html to /Users/laszlosystems/ >>> src/svn/openlaszlo/trunk/docs/reference/a.html >>> [style] Loading stylesheet /Users/laszlosystems/src/svn/ >>> openlaszlo/trunk/docs/src/xsl/format.xsl >>> [style] : Error! file:/Users/laszlosystems/src/svn/openlaszlo/ >>> trunk/docs/src/xsl/xref.xsl: line 181: Template 'wrap-link' not >>> defined in this stylesheet. >>> [style] : Fatal Error! Could not compile stylesheet >>> [style] Failed to process /Users/laszlosystems/src/svn/ >>> openlaszlo/trunk/docs/src/build/reference/html/a.html >>> >>> BUILD FAILED >>> /Users/laszlosystems/src/svn/openlaszlo/trunk/build.xml:517: The >>> following error occurred while executing this line: >>> /Users/laszlosystems/src/svn/openlaszlo/trunk/docs/src/build.xml: >>> 337: The following error occurred while executing this line: >>> /Users/laszlosystems/src/svn/openlaszlo/trunk/docs/src/build.xml: >>> 45: Fatal error during transformation >>> >>> -- >>> Frisco Del Rosario >>> Tester, OpenLaszlo and IDE4Laszlo >>> >>> >>> >> >> >> _______________________________________________ >> Laszlo-dev mailing list >> [email protected] >> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev > > > _______________________________________________ > Laszlo-dev mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
