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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)
hi.Vincent this is the point confuse me. my work environment is: eclipse + maven + cactus.but when I run maven cactus:test or maven test I get the same result .all I can see is [junit] but not [cactus]. :( - Original Message - From: Vincent Massol [EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)
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 [EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)
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 [EMAIL PROTECTED]: 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 [EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)
Confirmation on CVS HEAD there is a cactus.test.skip property. So use in your project.properties or in command line the next setting maven.test.skip=true cactus.test.skip=false But you better have to fix your junit first as skipping them is not a good solution Nicolas 2005/6/1, Nicolas Chalumeau [EMAIL PROTECTED]: 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, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)
I say on cvs head ie 1.8dev. It wasn't release yet release version=1.8dev date=in CVS ... action dev=felipeal type=add issue=CACTUS-201 Goal codecactus:test/code is not executed if property codecactus.test.skip/code (and not codemaven.test.skip/code anymore) is set. /action Nicolas 2005/6/1, Samuel Crescencio [EMAIL PROTECTED]: 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: [EMAIL PROTECTED] 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 [EMAIL PROTECTED]: 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 [EMAIL PROTECTED] 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:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail
Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)
That's right, it's only on CVS. In fact, we were about to release a 1.7.1 release, but didn't have time to do so. -- Felipe On Wed, 2005-06-01 at 17:31 +0200, Nicolas Chalumeau wrote: I say on cvs head ie 1.8dev. It wasn't release yet release version=1.8dev date=in CVS ... action dev=felipeal type=add issue=CACTUS-201 Goal codecactus:test/code is not executed if property codecactus.test.skip/code (and not codemaven.test.skip/code anymore) is set. /action - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]