Re: CactifyWarTask cannot be found

2006-07-07 Thread Mohsen Saboorian

Thank you Kenny,
The problem is now fixed. It was because I mistakenly copied
cactus.jar into ant's lib directory, which prevented the other
cactus.jar to be considered by ant.
I think this should not be happend since I already provided other
related jars. The only think I can say, is that error was related to
the order of jar files, set into classpath.

Thanks.

On 7/7/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote:

On Fri, 7 Jul 2006, Mohsen Saboorian wrote:

Hi,

I've just downloaded the 1.7.2 releases for both J2EE version 1.2 and 1.3,
and went into samples/servlet and ran 'ant'.

It worked fine.

My ant version is Apache Ant version 1.6.2 compiled on July 16 2004


Can you add the following to line 152 of the build.xml (for the 1.2
version) - just before the ?



Cactus Classpath: ${debug.cactus.classpath}

The output I get is:

 [echo] Cactus Classpath:
/var/tmp2/jakarta-cactus-12-1.7.2/lib/servletapi-2.2.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/aspectjrt
-1.2.1.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/cactus-1.7.2.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/cactus-ant-1.7.2.jar:/var/tmp2
/jakarta-cactus-12-1.7.2/lib/cargo-0.5.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/commons-httpclient-2.0.2.jar:/var/tmp2/jakarta-cactus
-12-1.7.2/lib/commons-logging-1.0.4.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/junit-3.8.1.jar

Maybe you see some discrepancies here..

-- Kenney



> Hi,
> I'm really confused with a problem with the cactifization ant task.
> I've followed with previous related subjects here, but none of them
> had my answer.
>
> I'm using Cactus 1.7.2. there is a servlet sample inside the binary
> dist. when I try to run the ant task, it gives me:
>
> taskdef A class needed by class
> org.apache.cactus.integration.ant.CactifyWarTask cannot be found:
> org/codehaus/cargo/module/webapp/WarArchive
>
> I'm sure that cargo.jar is in the class path since there is a path
> defined in the build.xml:
>
>   
> 
> 
> 
> 
> 
> 
> 
> 
>   
>
> also ${carg.jar} points to a correct location.
>
> here is the line which gives me error:
> 
>
> What is the problem?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: CactifyWarTask cannot be found

2006-07-07 Thread Kenney Westerhof
On Fri, 7 Jul 2006, Mohsen Saboorian wrote:

Hi,

I've just downloaded the 1.7.2 releases for both J2EE version 1.2 and 1.3,
and went into samples/servlet and ran 'ant'.

It worked fine.

My ant version is Apache Ant version 1.6.2 compiled on July 16 2004


Can you add the following to line 152 of the build.xml (for the 1.2
version) - just before the ?



Cactus Classpath: ${debug.cactus.classpath}

The output I get is:

 [echo] Cactus Classpath:
/var/tmp2/jakarta-cactus-12-1.7.2/lib/servletapi-2.2.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/aspectjrt
-1.2.1.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/cactus-1.7.2.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/cactus-ant-1.7.2.jar:/var/tmp2
/jakarta-cactus-12-1.7.2/lib/cargo-0.5.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/commons-httpclient-2.0.2.jar:/var/tmp2/jakarta-cactus
-12-1.7.2/lib/commons-logging-1.0.4.jar:/var/tmp2/jakarta-cactus-12-1.7.2/lib/junit-3.8.1.jar

Maybe you see some discrepancies here..

-- Kenney



> Hi,
> I'm really confused with a problem with the cactifization ant task.
> I've followed with previous related subjects here, but none of them
> had my answer.
>
> I'm using Cactus 1.7.2. there is a servlet sample inside the binary
> dist. when I try to run the ant task, it gives me:
>
> taskdef A class needed by class
> org.apache.cactus.integration.ant.CactifyWarTask cannot be found:
> org/codehaus/cargo/module/webapp/WarArchive
>
> I'm sure that cargo.jar is in the class path since there is a path
> defined in the build.xml:
>
>   
> 
> 
> 
> 
> 
> 
> 
> 
>   
>
> also ${carg.jar} points to a correct location.
>
> here is the line which gives me error:
> 
>
> What is the problem?
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

--
Kenney Westerhof
http://www.neonics.com
GPG public key: http://www.gods.nl/~forge/kenneyw.key

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



CactifyWarTask cannot be found

2006-07-07 Thread Mohsen Saboorian

Hi,
I'm really confused with a problem with the cactifization ant task.
I've followed with previous related subjects here, but none of them
had my answer.

I'm using Cactus 1.7.2. there is a servlet sample inside the binary
dist. when I try to run the ant task, it gives me:

taskdef A class needed by class
org.apache.cactus.integration.ant.CactifyWarTask cannot be found:
org/codehaus/cargo/module/webapp/WarArchive

I'm sure that cargo.jar is in the class path since there is a path
defined in the build.xml:

 
   
   
   
   
   
   
   
   
 

also ${carg.jar} points to a correct location.

here is the line which gives me error:


What is the problem?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]