jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From istho...@chennai.tcs.co.in
Subject Problem in running samples in the cactus
Date Wed, 13 Nov 2002 15:04:31 GMT

Hai,

The problem came for running the samples mentioned in howto_sample.html

I am using Cactus 1.3, with Ant 1.4.1 and Tomcat server 4.0.4

Since I am testing it on Tomcat 4.0, I ran the test for only for Tomcat using the command
ant test.tomcat.40

Its throwing error: The <fail> task doesn't support the "unless" attribute.

The classpath is also set for using the cactus-ant.jar.

Could you help me out of this trouble. Details below....
*****************************************************************
D:\cactus\jakarta-cactus-13-1.3\sample-servlet\build>ant test.tomcat.40
Buildfile: build.xml

check.test.tomcat.40:

display.properties:
     [echo] ----- Cactus Servlet Sample 1.3 -----
     [echo]
     [echo] java.class.path = D:\j2sdk1.4.0\lib\tools.jar;D:
\ant\jakarta-ant-1.4.1\lib\jaxp.jar;D:\ant\jakarta-ant-1.4.1\lib\crimson.jar;D:
\ant\jakarta-ant-1.4.1\lib\ant.jar;C:\Program Files\Exceed.nt\hcljrcsv.jar;C:\Program
Files\Exceed.nt\;D:\ant\jakarta-ant-1.4.1\lib\ant.jar;D:\config;D:
\config\log_client.properties
;D:\cactus\jakarta-cactus-13.1.3\lib\junit.jar;D:\cactus\jakarta-cactus-13.1.3\l
ib\cactus.jar;D:\Apache Tomcat 4.0\common\lib\servlet.jar;D:\cactus\jakarta-cact
us-13.1.3\lib\commons-httpclient-20020421.jar;D:\cactus\jakarta-cactus-13.1.3\li
b\log4j-1.2rc1.jar;D:\cactus\jakarta-cactus-13.1.3\lib\aspectjrt.jar;D:\TestClas
ses;D:\Apache Tomcat 4.0\webapps\sciapp\WEB-INF\lib\junit.jar;D:\Apache Tomcat 4
.0\webapps\sciapp\WEB-INF\lib\cactus.jar;D:\Apache Tomcat 4.0\webapps\sciapp\WEB
-INF\lib\log4j-1.2rc1.jar;D:\Apache Tomcat 4.0\webapps\sciapp\WEB-INF\classes\co
m\stanchart\sci\TestClasses;D:\Apache Tomcat 4.0\webapps\sciapp\WEB-INF\classes\
com\stanchart\sci\utils;D:\TestClasses;D:\cactus\jakarta-cactus-13.1.3\lib\cactu
s-ant.jar
     [echo]
     [echo] java.home = D:\j2sdk1.4.0\jre
     [echo] user.home = C:\WINNT\Profiles\scbsci30
     [echo] ant.home = D:\ant\jakarta-ant-1.4.1
     [echo]
     [echo] cactus.framework.jar = D:\cactus\jakarta-cactus-13.1.3\lib\cactus.jar
     [echo] cactus.ant.jar = d:\ant\jakarta-ant-1.4.1\lib\cactus-ant.jar
     [echo] servlet.jar = D:\Apache Tomcat 4.0\common\lib\servlet.jar
     [echo] aspectjrt.jar = D:\cactus\jakarta-cactus-13.1.3\lib\aspectjrt.jar
     [echo] commons.httpclient.jar = D:
\cactus\jakarta-cactus-13.1.3\lib\commons-httpclient-20020421.jar
     [echo] httpunit.jar = ${httpunit.jar}
     [echo] junit.jar = D:\cactus\jakarta-cactus-13.1.3\lib\junit.jar
     [echo]
     [echo] log4j.jar (optional) = D:\cactus\jakarta-cactus-13.1.3\lib\log4j-1.2rc1.jar
     [echo]
     [echo] test.port = 8080
     [echo]

check.properties:

BUILD FAILED

D:\cactus\jakarta-cactus-13-1.3\sample-servlet\build\build.xml:153: The <fail> t
ask doesn't support the "unless" attribute.
**************************************************************************************

With Warm Regards,
ISThomas


***The information contained in this message is legally privileged and confidential
information intended only for the use of the addressed individual or entity indicated in
this message (or responsible for delivery of the message to such person). It must not be
read, copied, disclosed, distributed or used by any person other than the addressee.
Unauthorised use, disclosure or copying is strictly prohibited and may be unlawful.
 Opinions, conclusions and other information on this message that do not relate to the
official business of any of the constituent companies of the TATA CONSULTANCY SERVICES
shall be understood as neither given nor endorsed by the Group. If you have received this
message in error, you should destroy this message and kindly notify the sender by e-mail.
Thank you.***


--
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