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 Wagner Moro Aioffi <ai...@dcc.ufmg.br> on 2005/03/23 13:40:37 UTC

Maven do not run cactus test

	Hi, I'm trying to use maven to be my build tool, but I cannot do cactus 
test to work. Maven build the War application, build the cactus test, 
deploy the war, start the tomcat server and stop the server without 
error, however run no cactus test.

	Below is the messages printed by Maven when build the application.

	Do someone have any idea why maven do not run cactus test?

	Thanks,

Wagner M. Aioffi

Master Student - LaPO/DCC/UFMG
Software Engenieer - Synergia/DCC/UFMG

"Meu interesse está no futuro, pois é lá que vou passar o resto da minha 
vida"
Charles Kettering

---------------------------Maven log ----------------------------------
java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
     [echo] No test source files to compile.

test:test:
     [echo] No tests to run.

war:webapp:
     [echo] Assembling webapp siltram

war:war:
     [echo] Building WAR siltram
     [jar] Building jar: 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram.war

     [cactifywar] Analyzing war: 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram.war
     [cactifywar] Building war: 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram-cactus.war

cactus:test-war:
     [cactus] 
-----------------------------------------------------------------
     [cactus] Running tests against Tomcat 4.0.x
     [cactus] 
-----------------------------------------------------------------
     [cactus] Deleting 5 files from 
C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomcat4x
     [cactus] Deleted 3 directories from 
C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomcat4x
BUILD SUCCESSFUL
Total time: 3 minutes 29 seconds
Finished at: Wed Mar 23 09:23:44 BRT 2005



Re: Maven do not run cactus test

Posted by Wagner Moro Aioffi <ai...@dcc.ufmg.br>.
	Nicolas, I set cactus.src.dir to point to my cactus test directory.

Nicolas Chalumeau wrote:
> I don't see here any cactus:compile call. Did you set the
> cactus.src.dir to point to your cactus test directory or did you use
> the default one (src/test-cactus) ?
> 
> Nicolas,
> 
> On Wed, 23 Mar 2005 09:40:37 -0300, Wagner Moro Aioffi
> <ai...@dcc.ufmg.br> wrote:
> 
>>        Hi, I'm trying to use maven to be my build tool, but I cannot do cactus
>>test to work. Maven build the War application, build the cactus test,
>>deploy the war, start the tomcat server and stop the server without
>>error, however run no cactus test.
>>
>>        Below is the messages printed by Maven when build the application.
>>
>>        Do someone have any idea why maven do not run cactus test?
>>
>>        Thanks,
>>
>>Wagner M. Aioffi
>>
>>Master Student - LaPO/DCC/UFMG
>>Software Engenieer - Synergia/DCC/UFMG
>>
>>"Meu interesse está no futuro, pois é lá que vou passar o resto da minha
>>vida"
>>Charles Kettering
>>
>>---------------------------Maven log ----------------------------------
>>java:jar-resources:
>>
>>test:prepare-filesystem:
>>
>>test:test-resources:
>>
>>test:compile:
>>     [echo] No test source files to compile.
>>
>>test:test:
>>     [echo] No tests to run.
>>
>>war:webapp:
>>     [echo] Assembling webapp siltram
>>
>>war:war:
>>     [echo] Building WAR siltram
>>     [jar] Building jar:
>>M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram.war
>>
>>     [cactifywar] Analyzing war:
>>M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram.war
>>     [cactifywar] Building war:
>>M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram-cactus.war
>>
>>cactus:test-war:
>>     [cactus]
>>-----------------------------------------------------------------
>>     [cactus] Running tests against Tomcat 4.0.x
>>     [cactus]
>>-----------------------------------------------------------------
>>     [cactus] Deleting 5 files from
>>C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomcat4x
>>     [cactus] Deleted 3 directories from
>>C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomcat4x
>>BUILD SUCCESSFUL
>>Total time: 3 minutes 29 seconds
>>Finished at: Wed Mar 23 09:23:44 BRT 2005
>>
>>---------------------------------------------------------------------
>>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
> 

-- 

	Atenciosamente,

Wagner M. Aioffi

Master Student - LaPO/DCC/UFMG
Software Engenieer - Synergia/DCC/UFMG

"Meu interesse está no futuro, pois é lá que vou passar o resto da minha 
vida"
Charles Kettering


Re: Maven do not run cactus test

Posted by Wagner Moro Aioffi <ai...@dcc.ufmg.br>.
	Hi Nicolas,

	Here are the all maven message. Maven compile the src code and put it 
into the test war.


  __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

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 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Co
ntrolador_Visao/target/classes
     [echo]
==========================================================

   NOTE: Targetting JVM 1.4, classes
   will not run on earlier JVMs

==========================================================


cactus:compile:

cactus:cactifywar:
war:init:

war:war-resources:
     [copy] Copying 1 file to 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CF
Sw\Controlador_Visao\target\siltram
     [copy] Copying 1 file to 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CF
Sw\Controlador_Visao\target\siltram\WEB-INF

java:prepare-filesystem:

java:compile:
     [echo] Compiling to 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Co
ntrolador_Visao/target/classes
     [echo]
==========================================================

   NOTE: Targetting JVM 1.4, classes
   will not run on earlier JVMs

==========================================================


java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:
     [echo] No test source files to compile.

test:test:
     [echo] No tests to run.

war:webapp:
     [echo] Assembling webapp siltram

war:war:
     [echo] Building WAR siltram
     [jar] Building jar: 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Co
ntrolador_Visao\target\siltram.war

     [cactifywar] Analyzing war: 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos
\CFSw\Controlador_Visao\target\siltram.war
     [cactifywar] Building war: 
M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\
CFSw\Controlador_Visao\target\siltram-cactus.war

cactus:test-war:
     [cactus] 
-----------------------------------------------------------------
     [cactus] Running tests against Tomcat 4.0.x
     [cactus] 
-----------------------------------------------------------------
     [cactus] Deleting 5 files from 
C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomca
t4x
     [cactus] Deleted 3 directories from 
C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\
tomcat4x
BUILD SUCCESSFUL
Total time: 3 minutes 29 seconds
Finished at: Wed Mar 23 09:23:44 BRT 2005

Nicolas Chalumeau wrote:
> I don't see here any cactus:compile call. Did you set the
> cactus.src.dir to point to your cactus test directory or did you use
> the default one (src/test-cactus) ?
> 
> Nicolas,
> 
> On Wed, 23 Mar 2005 09:40:37 -0300, Wagner Moro Aioffi
> <ai...@dcc.ufmg.br> wrote:
> 
>>        Hi, I'm trying to use maven to be my build tool, but I cannot do cactus
>>test to work. Maven build the War application, build the cactus test,
>>deploy the war, start the tomcat server and stop the server without
>>error, however run no cactus test.
>>
>>        Below is the messages printed by Maven when build the application.
>>
>>        Do someone have any idea why maven do not run cactus test?
>>
>>        Thanks,
>>
>>Wagner M. Aioffi
>>
>>Master Student - LaPO/DCC/UFMG
>>Software Engenieer - Synergia/DCC/UFMG
>>
>>"Meu interesse está no futuro, pois é lá que vou passar o resto da minha
>>vida"
>>Charles Kettering
>>
>>---------------------------Maven log ----------------------------------
>>java:jar-resources:
>>
>>test:prepare-filesystem:
>>
>>test:test-resources:
>>
>>test:compile:
>>     [echo] No test source files to compile.
>>
>>test:test:
>>     [echo] No tests to run.
>>
>>war:webapp:
>>     [echo] Assembling webapp siltram
>>
>>war:war:
>>     [echo] Building WAR siltram
>>     [jar] Building jar:
>>M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram.war
>>
>>     [cactifywar] Analyzing war:
>>M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram.war
>>     [cactifywar] Building war:
>>M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram-cactus.war
>>
>>cactus:test-war:
>>     [cactus]
>>-----------------------------------------------------------------
>>     [cactus] Running tests against Tomcat 4.0.x
>>     [cactus]
>>-----------------------------------------------------------------
>>     [cactus] Deleting 5 files from
>>C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomcat4x
>>     [cactus] Deleted 3 directories from
>>C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomcat4x
>>BUILD SUCCESSFUL
>>Total time: 3 minutes 29 seconds
>>Finished at: Wed Mar 23 09:23:44 BRT 2005
>>
>>---------------------------------------------------------------------
>>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
> 

-- 

	Atenciosamente,

Wagner M. Aioffi

Master Student - LaPO/DCC/UFMG
Software Engenieer - Synergia/DCC/UFMG

"Meu interesse está no futuro, pois é lá que vou passar o resto da minha 
vida"
Charles Kettering


Re: Maven do not run cactus test

Posted by Nicolas Chalumeau <ni...@gmail.com>.
I don't see here any cactus:compile call. Did you set the
cactus.src.dir to point to your cactus test directory or did you use
the default one (src/test-cactus) ?

Nicolas,

On Wed, 23 Mar 2005 09:40:37 -0300, Wagner Moro Aioffi
<ai...@dcc.ufmg.br> wrote:
> 
>         Hi, I'm trying to use maven to be my build tool, but I cannot do cactus
> test to work. Maven build the War application, build the cactus test,
> deploy the war, start the tomcat server and stop the server without
> error, however run no cactus test.
> 
>         Below is the messages printed by Maven when build the application.
> 
>         Do someone have any idea why maven do not run cactus test?
> 
>         Thanks,
> 
> Wagner M. Aioffi
> 
> Master Student - LaPO/DCC/UFMG
> Software Engenieer - Synergia/DCC/UFMG
> 
> "Meu interesse está no futuro, pois é lá que vou passar o resto da minha
> vida"
> Charles Kettering
> 
> ---------------------------Maven log ----------------------------------
> java:jar-resources:
> 
> test:prepare-filesystem:
> 
> test:test-resources:
> 
> test:compile:
>      [echo] No test source files to compile.
> 
> test:test:
>      [echo] No tests to run.
> 
> war:webapp:
>      [echo] Assembling webapp siltram
> 
> war:war:
>      [echo] Building WAR siltram
>      [jar] Building jar:
> M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram.war
> 
>      [cactifywar] Analyzing war:
> M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram.war
>      [cactifywar] Building war:
> M:\w\P\CMBH_SIL_Tramitacao_1_0\Artefatos\Modelos\CFSw\Controlador_Visao\target\siltram-cactus.war
> 
> cactus:test-war:
>      [cactus]
> -----------------------------------------------------------------
>      [cactus] Running tests against Tomcat 4.0.x
>      [cactus]
> -----------------------------------------------------------------
>      [cactus] Deleting 5 files from
> C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomcat4x
>      [cactus] Deleted 3 directories from
> C:\DOCUME~1\aioffi\LOCALS~1\Temp\cactus\tomcat4x
> BUILD SUCCESSFUL
> Total time: 3 minutes 29 seconds
> Finished at: Wed Mar 23 09:23:44 BRT 2005
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> 
>