maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Ewins <Brian.Ew...@btinternet.com>
Subject Re: Cactus Plugin Issues again
Date Wed, 04 Dec 2002 13:28:02 GMT
Shouldn't that be:
<echo message="path${plugin.getDependencyPath('cactus')}"/>

EPugh@upstate.com wrote:
> Hi all,
> 
> I saw some refactoring patches went in last night, but it seems that the
> getDependencyPath still fails..  I am testing this by:
> 
> <echo message="path${plugin.getDependencyPath('cactus:cactus')}"/>
> 
> And getting just "path"...
> 
> I just want to confirm that other people are still getting the same issues.
> I don't want to get too far ahead of my test cases while writing code!
> 
> Eric
> 
> -----Original Message-----
> From: Jason van Zyl [mailto:jason@zenplex.com]
> Sent: Tuesday, December 03, 2002 9:49 AM
> To: Turbine Maven Users List
> Subject: RE: Cactus Plugin Issues again
> 
> 
> On Tue, 2002-12-03 at 09:36, EPugh@upstate.com wrote:
> 
>>Terrific..  If you have a fix, I'll be very happy to test it.  I looked
>>around at some other plugin.getDependencyPath, and other ones fail as
> 
> well,
> 
>>so it looks like it is larger then just the cactus plugin.
> 
> 
> Yup, it is. I added a test last night but still won't pass yet. I'll
> probably find it tonight.
> 
> 
>>Eric Pugh
>>
>>-----Original Message-----
>>From: Jason van Zyl [mailto:jason@zenplex.com]
>>Sent: Monday, December 02, 2002 9:41 PM
>>To: Turbine Maven Users List
>>Subject: RE: Cactus Plugin Issues again
>>
>>
>>On Mon, 2002-12-02 at 19:16, EPugh@upstate.com wrote:
>>
>>>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..
>>
>>I'll take a peek, I'm sure it has to do with the refactoring I did. I'll
>>add a test and fix it.
>>
>>
>>>Eric Pugh
>>>
>>>
>>>
>>>-----Original Message-----
>>>From: EPugh@upstate.com [mailto:EPugh@upstate.com]
>>>Sent: Monday, December 02, 2002 7:02 PM
>>>To: turbine-maven-user@jakarta.apache.org
>>>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


Mime
View raw message