You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by Shay <st...@adobe.com> on 2005/10/06 18:04:42 UTC

Cannot run samples from 1.7.1

BUILD FAILED
E:\jakarta-cactus-13-1.7.1\samples\ejb\build.xml:134: taskdef A class 
needed by class org.apache.cactus.integration.ant.CactifyWarTask cannot be 
found: org/codehaus/cargo/module/webapp/WarArchive

I've checked everything I can think of and nothing seems to be out of 
sorts.  I have cargo-0.5.jar and it's in the class path defined by the 
taskdef.  I've tried hard coding the paths with the same result.  I've 
tried different ways to do a taskdef with the same result.

I'm at a loss.  I'd like to use Cactus but I can't even get past this first 
step.  Any help would be much appreciated.

-Shay



Just because you're correct doesn't make you right...

Shay Thompson - sthompso@adobe.com
Adobe Systems, Bedrock QE Lead
Voice: x34728 or 651.766.4728


Re: Cannot run samples from 1.7.1

Posted by Kazuhito SUGURI <su...@lab.ntt.co.jp>.
Hi,

In article <6....@130.248.25.5>,
Thu, 06 Oct 2005 11:04:42 -0500,
Shay <st...@adobe.com> wrote: 
sthompso> BUILD FAILED
sthompso> E:\jakarta-cactus-13-1.7.1\samples\ejb\build.xml:134: taskdef A class 
sthompso> needed by class org.apache.cactus.integration.ant.CactifyWarTask cannot be 
sthompso> found: org/codehaus/cargo/module/webapp/WarArchive
sthompso> 
sthompso> I've checked everything I can think of and nothing seems to be out of 
sthompso> sorts.  I have cargo-0.5.jar and it's in the class path defined by the 
sthompso> taskdef.  I've tried hard coding the paths with the same result.  I've 
sthompso> tried different ways to do a taskdef with the same result.

I cannot reproduce your problem.

Fortunately, I had a Windows-XP box to set up, so, I tried as follows:
(already done in past: download and install j2sdk-1.4.2_08.)
step-1:	set JAVA_HOME env.
step-2: download apache-ant-1.6.5-bin.zip and unzip it.
	set ANT_HOME and PATH env.
step-3: download junit-3.8.1 and copy junit.jar to ANT_HOME\lib
step-4: download jboss-3.2.7.zip and unzip it to c:\tmp\jboss-3.2.7
step-5: download jakarta-cactus-13-1.7.1.zip and unzip it to
	c:\tmp\cactus-1.7.1
step-6: edit c:\tmp\cactus-1.7.1\samples\ejb\build.properties
	to use the JBoss-3.2.7 as a container:
		cactus.home.jboss3x = c:/tmp/jboss-3.2.7
step-7: run ant at c:\tmp\cactus-1.7.1\samples\ejb.

It works fine for me.
----
Kazuhito SUGURI