Philip Weaver wrote:
> 
> I'm attempting to build Apache Turbine using the included Ant tool but am
> encountering problems.
> 
> Details:
>     Mac OS 9.0.4/MRJ 2.2.x
>     jaxp.jar & parser.jar (in classpath)
>     ant-1.2.jar & /lib (classpath additions)
>     Main Class Name: org.apache.tools.ant.Main
>     Parameters: -buildfile build-turbine.xml
> 
> When Ant complies, I get tons of errors. The first error is "IOException
> getting canonical path". It's looking for
> MacOS/Apache-Turbine-20001114/jakarta-servletapi/ BUT I see no
> 'jakarta-servletapi' directory anywhere? What's up with that?
> 
> Another issue is that I saw a reference during the compile to
> java.util.LinkedList but I thought Turbine supported JDK 1.1. Is this
> incorrect?
> 
> If anyone happens to have a JBindery doc for Ant that will build turbine,
> please assist.
> 
> <output>
> 
> Buildfile: build-turbine.xml
> IOException getting canonical path for
> /MacOS/Apache-Turbine-20001114/jakarta-servletapi/lib/servlet.jar: OSErr:
> -50
> 
> check_for_optional_packages:
> 
> env:
> build.compiler = classic
> java.class.path = /MacOS/System Folder/Extensions/MRJ
> Libraries/MRJClasses/jaxp.jar:/MacOS/System Folder/Extensions/MRJ
> Libraries/MRJClasses/JDKClasses.zip:/MacOS/System Folder/Extensions/MRJ
> Libraries/MRJClasses/JDKToolsClasses.zip:/MacOS/System Folder/Extensions/MRJ
> Libraries/MRJClasses/MRJClasses.zip:/MacOS/System Folder/Extensions/MRJ
> Libraries/MRJClasses/MRJSDKClasses.zip:/MacOS/System Folder/Extensions/MRJ
> Libraries/MRJClasses/parser.jar:/MacOS/System Folder/Extensions/MRJ
> Libraries/MRJClasses/:/MacOS/Apache-Turbine-20001114/Apache-Turbine-20001114
> /lib/:/MacOS/Apache-Turbine-20001114/Apache-Turbine-20001114/build/ant-1.2.j
> ar
> java.home = /MacOS/System Folder/Extensions/MRJ Libraries
> servlet.jar = ../../jakarta-servletapi/lib/servlet.jar
> user.home = /MacOS/System Folder/Preferences
> 
> prepare:
> 
> prepare-jsp:
> 
> compile:
>     [javac] Compiling 150 source files to
> /MacOS/Apache-Turbine-20001114/Apache-Turbine-20001114/bin/classes/
> IOException getting canonical path for
> /MacOS/Apache-Turbine-20001114/jakarta-servletapi/lib/servlet.jar: OSErr:
> -50
>     [javac]
> /MacOS/Apache-Turbine-20001114/Apache-Turbine-20001114/bin/src/org/apache/js
> erv/JServUtils.java:68: Class javax.servlet.http.Cookie not found in import.
>     [javac] import javax.servlet.http.Cookie;
>     [javac]        ^
>     [javac]

First off, Turbine has moved to supporting Java 1.2.  This was done a
couple of months ago.  You might want to check the archives for the
discussion.

The second part would be whether or not the Mac will support relative
paths, like in the servlet.jar env variable.  Have you tried to set that
with an absolute path?  Do you have that jar?


josh


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to