Cheers Scott! Will give it a go.
Steve Nisbet | Learning Resource Manager | Learning & Research Technologies | Library Research Info Systems | 0161 247 6753 | http://lrt.mmu.ac.uk On 12/12/2010 22:39, "Scott Wilson" <[email protected]> wrote: >On 12 Dec 2010, at 21:29, Steven Nisbet wrote: > >> Evening folks, >> >> I thought I'd try my hand at an install on MacOS, I've tried using the >>built in ANT which is at build 1.8.1 I know there have been some >>issues there, and so I got hold of a 1.7.1 copy and used that on a fresh >>check out. I got the following error in both cases >> >> Hope its nothing serious, but can anyone shed any light? Scott if I >>may ask can you share the versions you have on your own install on >>MacOS? > >I suspect its the JDK thats a problem - I build on Java 1.6, however I >think the default for Mac OS X may be 1.5. The IDN package was introduced >in Java 6 to support internationalisation of the web (IRIs, etc). If you >switch target JDK in the mac prefs to 1.6 you'll probably be OK. > >> >> Cheers all >> >> Steve Nisbet >> >> >> compile-core: >> [echo] Preparing to compile core of >>wookie-w3c-widget-parser-0.1.0-SNAPSHOT. >> >> pre-compile-core: >> [echo] Compiling files in /private/var/root/trunk/parser/java/src >> [echo] Build directory is >>/private/var/root/trunk/parser/java/build/classes >> [echo] Compile core of wookie-w3c-widget-parser-0.1.0-SNAPSHOT. >> [javac] Compiling 44 source files to >>/private/var/root/trunk/parser/java/build/classes >> [javac] >>/private/var/root/trunk/parser/java/src/org/apache/wookie/w3c/impl/Access >>Entity.java:17: cannot find symbol >> [javac] symbol : class IDN >> [javac] location: package java.net >> [javac] import java.net.IDN; >> [javac] ^ >> [javac] >>/private/var/root/trunk/parser/java/src/org/apache/wookie/w3c/impl/Access >>Entity.java:83: cannot find symbol >> [javac] symbol : method isEmpty() >> [javac] location: class java.lang.String >> [javac] if (uri.getHost() == null || >>uri.getHost().isEmpty()) throw new Exception("origin has no host"); >> [javac] ^ >> [javac] >>/private/var/root/trunk/parser/java/src/org/apache/wookie/w3c/impl/Access >>Entity.java:99: cannot find symbol >> [javac] symbol : variable IDN >> [javac] location: class org.apache.wookie.w3c.impl.AccessEntity >> [javac] String host = IDN.toASCII(uri.getHost()); >> [javac] ^ >> [javac] 3 errors >> >> BUILD FAILED >> /private/var/root/trunk/build.xml:200: The following error occurred >>while executing this line: >> /private/var/root/trunk/ant/ivy-java-common.xml:105: Compile failed; >>see the compiler error output for details. >> >> >> Steve Nisbet | Learning Resource Manager | Learning & Research >>Technologies | Library Research Info Systems | >> 0161 247 6753 | http://lrt.mmu.ac.uk >> "Before acting on this email or opening any attachments you should read >>the Manchester Metropolitan University email disclaimer available on its >>website http://www.mmu.ac.uk/emaildisclaimer " > "Before acting on this email or opening any attachments you should read the Manchester Metropolitan University email disclaimer available on its website http://www.mmu.ac.uk/emaildisclaimer "
