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 Nicolas Chalumeau <ni...@gmail.com> on 2005/06/01 11:41:53 UTC

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 <sh...@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" <vm...@pivolis.com>
> To: "'Cactus Users List'" <ca...@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

Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)

Posted by Felipe Leme <ma...@felipeal.net>.
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 <code>cactus:test</code> is not executed if property
>         <code>cactus.test.skip</code> (and not
> <code>maven.test.skip</code> anymore) is set.
>       </action>



Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)

Posted by Nicolas Chalumeau <ni...@gmail.com>.
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 <code>cactus:test</code> is not executed if property
        <code>cactus.test.skip</code> (and not
<code>maven.test.skip</code> anymore) is set.
      </action>

Nicolas

2005/6/1, Samuel Crescencio <sa...@nexxera.com>:
> 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 <sh...@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" <vm...@pivolis.com>
> >>To: "'Cactus Users List'" <ca...@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
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
>

Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)

Posted by Samuel Crescencio <sa...@nexxera.com>.
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 <sh...@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" <vm...@pivolis.com>
>>To: "'Cactus Users List'" <ca...@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
> 
> 

Re: maven + cactus problem (Missing Cactus property [cactus.contextURL] but I have set cactus.contextURL in cactus.properties)

Posted by Nicolas Chalumeau <ni...@gmail.com>.
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 <ni...@gmail.com>:
> 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,