jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Crescencio <samuel.crescen...@nexxera.com>
Subject Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)
Date Wed, 01 Jun 2005 14:52:33 GMT
Hello all,

Yes Nicolas, maven.test.skip also skip cactus tests.  Any kind of tests is 
skipped when maven.test.skip=true.  In my case, DbUnit and JWebUnit tests are 
also skipped.

[]'s
-------------------------------------------------------------------
Samuel Crescêncio
Extreme Programmer & Coach - Pagamento Eletrônico
Fones: +55 48 99119078  +55 48 21065698
email: samuel.crescencio@nexxera.com ICQ# 38035403
Nexxera Tecnologia e Serviços SA - http://www.nexxera.com
               "Seu ambiente eletrônico de negócios"
-------------------------------------------------------------------


Nicolas Chalumeau wrote:
> Normal cactus perform first junit test then cactus test.
> So here you have junit test faillure so the cactus test are not execute.
> 
> I don't remember if the maven.test.skip is use both for junit and
> cactus or there is a cactus.test.skip too...
> 
> Nicolas,
> 
> 2005/6/1, sheep <sheep@xmindex.com.cn>:
> 
>>hi.
>>here is the maven cactus:test run result
>>//------------------------------------------------------------------------------------------------------
>>build:start:
>>
>>cactus:check-plugin-dependencies:
>>
>>cactus:init:
>>
>>cactus:test:
>>cactus:check-plugin-dependencies:
>>
>>cactus:init:
>>Overriding previous definition of reference to cactus.classpath
>>Overriding previous definition of reference to cactus.scanner.classpath
>>
>>cactus:init-report:
>>
>>java:prepare-filesystem:
>>
>>java:compile:
>>    [echo] Compiling to F:\sheep\workspace\test/target/classes
>>    [echo]
>>==========================================================
>>
>>  NOTE: Targetting JVM 1.5, classes
>>  will not run on earlier JVMs
>>
>>==========================================================
>>
>>Tag library requested that is not present: 'license' in plugin: 'maven-war-plugin-1.6.1'
>>
>>cactus:compile:
>>
>>cactus:cactifywar:
>>war:init:
>>
>>war:war-resources:
>>    [copy] Copying 1 file to F:\sheep\workspace\test\target\servlet\WEB-INF
>>
>>java:prepare-filesystem:
>>
>>java:compile:
>>    [echo] Compiling to F:\sheep\workspace\test/target/classes
>>    [echo]
>>==========================================================
>>
>>  NOTE: Targetting JVM 1.5, classes
>>  will not run on earlier JVMs
>>
>>==========================================================
>>
>>java:jar-resources:
>>
>>test:prepare-filesystem:
>>
>>test:test-resources:
>>
>>test:compile:
>>
>>test:test:
>>    [junit] Running servlet.TestAdminServlet                                     
        //sheep add start : I run maven cactus:test  here it may [cactus] but [junit]  //sheep
add end
>>    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 2.313 sec
>>    [junit] [ERROR] TEST servlet.TestAdminServlet FAILED
>>
>>BUILD FAILED
>>File...... C:\Documents and Settings\Administrator\.maven\cache\maven-test-plugin-1.6.2\plugin.jelly
>>Element... fail
>>Line...... 181
>>Column.... 54
>>There were test failures.
>>Total time: 14 seconds
>>Finished at: Wed Jun 01 17:16:54 CST 2005
>>
>>//------------------------------------------------------------------------------------------------------
>>----- Original Message -----
>>From: "Vincent Massol" <vmassol@pivolis.com>
>>To: "'Cactus Users List'" <cactus-user@jakarta.apache.org>
>>Sent: Wednesday, June 01, 2005 5:04 PM
>>Subject: RE: maven + cactus problem (Missing Cactus property [cactus.contextURL] but
I have set cactus.contextURL in cactus.properties)
>>
>>
>>>Hi sheep,
>>>
>>>You don't need this file if you're using the Maven plugin for Cactus.
>>>
>>>You should read
>>>http://jakarta.apache.org/cactus/integration/maven/using.html. That's all
>>>you should need.
>>>
>>>Thanks
>>>-Vincent
>>>
>>>
>>>>-----Original Message-----
>>>>From: sheep [mailto:sheep@xmindex.com.cn]
>>>>Sent: mercredi 1 juin 2005 05:38
>>>>To: users@maven.apache.org; cactus-user@jakarta.apache.org
>>>>Subject: maven + cactus problem (Missing Cactus property
>>>>[cactus.contextURL] but I have set cactus.contextURL in cactus.properties)
>>>
>>>[snip]
>>>
>>>
>>>
>>>
>>>
>>>
>>>_____________________________________________________________________________
>>>Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails,
photos et vidéos !
>>>Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
> 

Mime
View raw message