It seems that the plugin is not finding the path to the jars required...
>From the plugin.jelly:
<echo message="file:${plugin.getDependencyPath('cactus:cactus')}"/>
<!-- Copy Cactus jars -->
<copy todir="${maven.cactus.build.dir}/${pom.id}/WEB-INF/lib"
file="${plugin.getDependencyPath('cactus:cactus')}">
I added the echo, and the file doesn't seem to exist, or can't be found,
hence the error..
Eric Pugh
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 02, 2002 7:02 PM
To: [EMAIL PROTECTED]
Subject: Cactus Plugin Issues again
Hi all,
Using a fresh CVS checkout from Maven, my cactus tests have started failing.
I am running cactus:webapp, and all the imports of the cactus classes are
failing. Do I need to define the cactus jar's in my project.xml? I don't
seem to remember having to do that before.
Here is my error:
[unwar] Expanding: C:\portal\target\portal.war into
C:\portal\target\cactus\
portal
java:prepare-filesystem:
java:compile:
cactus:compile:
[mkdir] Created dir: C:\portal\target\cactus\classes
[javac] Compiling 1 source file to C:\portal\target\cactus\classes
[javac] [ERROR]
C:\portal\src\test-cactus\com\upstate\customerservice\credit
cards\service\CactusTestJetspeedCreditCardTransactionService.java:63: cannot
res
olve symbol
[javac] [ERROR] symbol : class ServletTestCase
[javac] [ERROR] location: package cactus
[javac] [ERROR] import org.apache.cactus.ServletTestCase;
[javac] [ERROR] ^
[javac] [ERROR]
C:\portal\src\test-cactus\com\upstate\customerservice\credit
cards\service\CactusTestJetspeedCreditCardTransactionService.java:64: cannot
res
olve symbol
[javac] [ERROR] symbol : class WebRequest
[javac] [ERROR] location: package cactus
[javac] [ERROR] import org.apache.cactus.WebRequest;
[javac] [ERROR] ^
[javac] [ERROR]
C:\portal\src\test-cactus\com\upstate\customerservice\credit
cards\service\CactusTestJetspeedCreditCardTransactionService.java:83: cannot
res
olve symbol
[javac] [ERROR] symbol : class ServletTestCase
[javac] [ERROR] location: class
com.upstate.customerservice.creditcards.serv
ice.CactusTestJetspeedCreditCardTransactionService
[javac] [ERROR] public class
CactusTestJetspeedCreditCardTransactionService
extends ServletTestCase {
[javac] [ERROR]
^
[javac] [ERROR] Note:
C:\portal\src\test-cactus\com\upstate\customerservice\
creditcards\service\CactusTestJetspeedCreditCardTransactionService.java uses
or
overrides a deprecated API.
[javac] [ERROR] Note: Recompile with -deprecation for details.
[javac] [ERROR] 3 errors
[ERROR] BUILD FAILED
[ERROR] Compile failed; see the compiler error output for details.
Total time: 4 seconds
C:\portal>
Thanks,
Eric Pugh