If you're using sun JDK 1.2.2 try changing the build.compiler setting
in build/build.xml to the following.
<property name="build.compiler" value="classic"/>
Julian.
On Thu, 27 Apr 2000, you wrote:
> Hello,
>
> I'm trying to build Jetspeed from scratch running under RedHat Linux 6.1.
> I have both the IBM JDK 1.1.8 and Sun JDK 1.2.2 installed on the system.
>
> I'm not familiar with the Ant build tool and I think some of my problems
> are related to this. The documentation is also a bit unclear on what your
> classpath should be before doing the build, build/README states that you
> need the servlet.jar file from Tomcat and all the files in the lib
> directory in your classpath before doing the build. But build.sh sets the
> classpath up with all the files in the lib directory, so I assume it is not
> necessary to have them in your classpath as well.
>
> Here is the error message I get when trying to build with jdk 1.2.2 :
>
> Buildfile: build.xml
> Detected Java Version: 1.2
> Project base dir set to: /usr/local/src/jetspeed/build
> Executing Target: core
> Compiling 296 source files to /usr/local/src/jetspeed/bin/classes
>
> Found 1 system error:
>
> *** Error: Could not find package named:
>
> /usr/local/src/jetspeed/bin/classes/java/lang,
>
> /usr/local/src/jakarta-tomcat/lib/servlet.jar(java/lang),
>
> /usr/local/jdk1.2.2/lib/tools.jar(java/lang),
>
> /usr/local/src/jetspeed/lib/ecs.jar(java/lang),
>
> /usr/local/src/jetspeed/lib/turbine-2.0.jar(java/lang),
>
> /usr/local/src/jetspeed/lib/cocoon.jar(java/lang),
>
> /usr/local/src/jetspeed/lib/cocoon-ext-servlet2.2.jar(java/lang)
> ,
>
> /usr/local/src/jetspeed/lib/castor.jar(java/lang),
>
> /usr/local/src/jetspeed/lib/village.jar(java/lang),
>
> /usr/local/src/jetspeed/lib/xalan.jar(java/lang),
>
> /usr/local/src/jetspeed/lib/xerces.jar(java/lang),
>
> /usr/local/src/jetspeed/build/ant.jar(java/lang),
>
> /usr/local/src/jetspeed/build/projectx-tr2.jar(java/lang) or
>
> /usr/local/src/jetspeed/bin/src/java/lang
>.. snip
--
Julian R. Coombes
[EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]