[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cactus-user
Subject:    RE: Problem in running samples in the cactus
From:       isthomas () chennai ! tcs ! co ! in
Date:       2002-11-14 10:16:40
[Download RAW message or body]


Hi Nick,

I have tried using ant 1.5.1...but again trouble...giving details below. I had set all the
properties as required....
***********************
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] java.class.path = D:\j2sdk1.4.0\lib\tools.jar;D:\ant\jakarta-ant-1.5
.1\lib\xml-apis.jar;D:\ant\jakarta-ant-1.5.1\lib\xercesImpl.jar;D:\ant\jakarta-a
nt-1.5.1\lib\optional.jar;D:\ant\jakarta-ant-1.5.1\lib\ant.jar;C:\Program Files\
Exceed.nt\hcljrcsv.jar;C:\Program Files\Exceed.nt\;D:\ant\jakarta-ant-1.5.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\lib\cactus.jar;D:\Apache Tomcat
4.0\common\lib\servlet.jar;D:\cactus\jakarta-cactus-13.1.3\lib\commons-httpclien
t-20020421.jar;D:\cactus\jakarta-cactus-13.1.3\lib\log4j-1.2rc1.jar;D:\cactus\ja
karta-cactus-13.1.3\lib\httpunit.jar;D:\cactus\jakarta-cactus-13.1.3\lib\aspectj
rt.jar;D:\TestClasses;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\com\stanchart\sci\TestClasses;D:\Apache Tomcat 4.0\webapps\sciap
p\WEB-INF\classes\com\stanchart\sci\utils;D:\TestClasses;D:\cactus\jakarta-cactu
s-13.1.3\lib\cactus-ant.jar

     [echo] java.home = D:\j2sdk1.4.0\jre
     [echo] user.home = C:\WINNT\Profiles\scbsci28
     [echo] ant.home = D:\ant\jakarta-ant-1.5.1

     [echo] cactus.framework.jar = D:\cactus\jakarta-cactus-13.1.3\lib\cactus.jar
     [echo] cactus.ant.jar = d:\cactus\jakarta-cactus-13.1.3\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 = D:\cactus\jakarta-cactus-13.1.3\lib\httpunit.jar
     [echo] junit.jar = D:\cactus\jakarta-cactus-13.1.3\lib\junit.jar

     [echo] log4j.jar (optional) = D:\cactus\jakarta-cactus-13.1.3\lib\log4j-1.2rc1.jar

     [echo] test.port = 8080


check.properties:

BUILD FAILED
file:./build-share.xml:153: Missing property or property pointing to an invalid
file (check your build.properties file)
*************************

With Warm Regards,
ISThomas


                                                                                            
                    "Nicholas                                                               
                    Lesiecki"            To:     "Cactus Users List"                        
                    <nick@eblox.co        <cactus-user@jakarta.apache.org>                  
                    m>                   cc:                                                
                                         Subject:     RE: Problem in running samples in the 
                    11/13/2002            cactus                                            
                    09:38 PM                                                                
                    Please respond                                                          
                    to "Cactus                                                              
                    Users List"                                                             
                                                                                            
                                                                                            




You need to upgrade to Ant 1.5--Ant 1.4 will give you the message you
describe.

Cheers,
Nick

> -----Original Message-----
> From: isthomas@chennai.tcs.co.in [mailto:isthomas@chennai.tcs.co.in]
> Sent: Wednesday, November 13, 2002 8:05 AM
> To: Cactus Users List
> Subject: Problem in running samples in the cactus
> Importance: High
>
>
>
> 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\c
> rimson.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-c
> actus-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-ca
> ctus-13.1.3\li
> b\log4j-1.2rc1.jar;D:\cactus\jakarta-cactus-13.1.3\lib\aspectjrt.j
> ar;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>



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





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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic