jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Balki Nakshatrala <Ba...@Yodlee.com>
Subject RE: error building jakarta-cactus-23-1.2 sample with JDK 1.2...
Date Thu, 10 Jan 2002 03:39:23 GMT
Forgot to paste the error earlier:)


C:\EurekaSoftware\jakarta-cactus-23-1.2\sample\build>ant all
Buildfile: build.xml

init:
     [echo] --------- Cactus Sample 1.2 ---------
     [echo]
     [echo] java.class.path =
C:\EurekaSoftware\jdk1.2.2\lib\tools.jar;C:\NextGen\tools\an
t\lib\xerces.jar;C:\NextGen\tools\ant\lib\xalan.jar;C:\NextGen\tools\ant\lib
\Tidy.jar;C:\N
extGen\tools\ant\lib\stylebook-1.0-b3_xalan-2.jar;C:\NextGen\tools\ant\lib\o
ptional.jar;C:
\NextGen\tools\ant\lib\log4j.jar;C:\NextGen\tools\ant\lib\junit.jar;C:\NextG
en\tools\ant\l
ib\jaxp.jar;C:\NextGen\tools\ant\lib\httpunit.jar;C:\NextGen\tools\ant\lib\c
rimson.jar;C:\
NextGen\tools\ant\lib\cactus-ant.jar;C:\NextGen\tools\ant\lib\ant.jar;.;c:\s
rc\v1\gather\b
uild-qa\gather.zip;c:\src\v1\gather\scripts;c:\NextGen\ext\tomcat\webapps\pr
oto\WEB-INF\li
b\classes12.zip
     [echo]
     [echo] java.home = C:\EurekaSoftware\jdk1.2.2\jre
     [echo] user.home = C:\Documents and Settings\balki
     [echo]
     [echo] basedir = C:\EurekaSoftware\jakarta-cactus-23-1.2\sample
     [echo]
     [echo] cactus.jar = ../../../NextGen/ext/jars/test/cactus.jar
     [echo] cactus.ant.jar = ../../../NextGen/ext/jars/test/cactus-ant.jar
     [echo] servlet.jar = ../../../NextGen/ext/jars/servlet.jar
     [echo] junit.jar = ../../../NextGen/ext/jars/test/junit.jar
     [echo] httpclient.jar = ../../../NextGen/ext/jars/test/httpclient.jar

clean:
   [delete] Deleting directory
C:\EurekaSoftware\jakarta-cactus-23-1.2\sample\target
   [delete] Deleting 2 files from
C:\EurekaSoftware\jakarta-cactus-23-1.2\sample

prepare:
    [mkdir] Created dir:
C:\EurekaSoftware\jakarta-cactus-23-1.2\sample\target\src
     [copy] Copying 25 files to
C:\EurekaSoftware\jakarta-cactus-23-1.2\sample\target\src

prepare-compile:
    [mkdir] Created dir:
C:\EurekaSoftware\jakarta-cactus-23-1.2\sample\target\classes

compile:
    [javac] Compiling 25 source files to
C:\EurekaSoftware\jakarta-cactus-23-1.2\sample\ta
rget\classes
    [javac]
C:\EurekaSoftware\jakarta-cactus-23-1.2\sample\target\src\org\apache\cactus\
sa
mple\TestSampleServlet.java:376: Exception java.lang.Exception must be
caught, or it must
be declared in the throws clause of this method.
    [javac]             URLDecoder.decode(cookie.getValue()));
    [javac]                              ^
    [javac] Note: 15 files use or override a deprecated API.  Recompile with
"-deprecation
" for details.
    [javac] 1 error, 1 warning

BUILD FAILED

C:\EurekaSoftware\jakarta-cactus-23-1.2\sample\build\build.xml:188: Compile
failed, messag
es should have been provided.

Total time: 14 seconds



-----Original Message-----
From: Balki Nakshatrala [mailto:Balki@yodlee.com]
Sent: Wednesday, January 09, 2002 5:11 PM
To: 'cactus-user@jakarta.apache.org'
Subject: error building jakarta-cactus-23-1.2 sample with JDK 1.2...



Hi,

I am new to cactus and am trying to run the cactus sample.
It builds successfully with JDK 1.3, but gives the following error when
build in JDK 1.2.2 environement.
Can anyone please tell me why?

I am using ant 1.4.1 and tomcat 4.0.

thanx,
balki

--
To unsubscribe, e-mail:
<mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:cactus-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message