Looks like a bug to me. I need to download jdk 1.2 and will try it out. I will correct it in version 1.3 in CVS so you'll be able to get it from a nightly build by tomorrow.
Thanks and sorry for the inconvenience (I have to admit I have not done a good job to try it on older JVMs - I am using JDK 1.3.1 - I will do it in the future thanks). -Vincent > -----Original Message----- > From: Balki Nakshatrala [mailto:[EMAIL PROTECTED]] > Sent: 10 January 2002 03:39 > To: 'Cactus Users List' > Subject: RE: error building jakarta-cactus-23-1.2 sample with JDK 1.2... > > 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 \l > ib > \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:\N ex > tG > en\tools\ant\l > ib\jaxp.jar;C:\NextGen\tools\ant\lib\httpunit.jar;C:\NextGen\tools\ant\l ib > \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:[EMAIL PROTECTED]] > Sent: Wednesday, January 09, 2002 5:11 PM > To: '[EMAIL PROTECTED]' > 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:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:cactus-user- > [EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
