Re: Barracuda setup on Mac OS X - 1.4.1 PR8 JVM

Jacob Kjome <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
Nice investigative work! :-)

Now we have to get a doc about this and other quirks in getting Barracuda 
up-and-running up on BarracudaMVC.org.

Thanks for the report.  I'm sure it will be very helpful to others on MacOSX.

Jake

At 01:15 PM 1/15/2003 +1300, you wrote:
>Hi all,
>
>I hope this helps someone on Mac OS X to arrive a bit quicker to a first 
>install from CVS...
>
>As of January 2003, the JVM for the Mac is 1.3.1. When I installed 
>Barracuda from CVS (as perJacob's post to Ravi on 31Dec02), I got XML 
>related compile errors - it appears Apple have added an xml jar in their 
>Java installation. I found that the Mac's equivalent to 
>$JAVA_HOME/jre/lib/endorsed as found in Java 1.4 is 
>/Library/Java/extensions (you may have to create the extensions 
>directory). Note: From memory you can also have jars in 
>~/Library/Java/extensions to isolate special jars to a user profile 
>instead of being system wide; view the article in Apples Java developer area.
>With xerces and xalan jars copied to /Library/Java/extensions, the XML 
>related compile problem disappeared.
>
>I then found there were 1.3 dependencies in the Plankton code which 
>Barracuda is built on and it wouldn't compile. Therefore I downloaded Java 
>1.4.1 Pre-release 8 from Apple 
>(<http://connect.apple.com>http://connect.apple.com). Changed $JAVA_HOME 
>to /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home and set 
>up everything as per the post to Perez from Jacob on 12 Nov 2002.
>Note: Still used /Library/Java/extensions for xerces and xalan jars.
>
>The "ant jars" went well on the Macs' 1.4.1 PR8 apart from a hiccup on the 
>localization samples.
>For example...
><snip>
>localize] 
>/var/root/barcuda/Barracuda/src/org/enhydra/barracuda/config/xmlc/Config_sv.html:1803: 
>Warning: replacing illegal character code 154
>ing: replacing illegal character code 154
>  [localize] ...Invoking Javac compiler taskdef
>  [localize] Compiling 9 source files to 
> /var/root/barcuda/Barracuda/WEB-INF/classes
>  [localize] 
> /var/root/barcuda/Barracuda/WEB-INF/tmp$/src_xmlc/org/enhydra/barracuda/config/xmlc/ConfigHTML_de.java:553: 
> ';' expected
>  [localize]     public static final String NAME_ButtonZur?cksetzen = 
> "ButtonZur\u0178cksetzen";
>  [localize]
><snip>
>
>I just deleted 
>$BARRACUDA_HOME/src/org/enhydra/barracuda/config/xmlc/Config_*.html and 
>ran "ant jars" again and the script completed successfully. The "ant 
>install" also worked 100%.
>Using Tomcat 4.1.12 on Mac OS 10.2.3.
>
>Many thanks Jacob.
>
>Regards
>Stephen
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.