Hello, i just wanted to try cactus and i get a disturbing result under maven.
The test freeze with no apparent reason (the tomcat is listening on port 9090
used by the test but does not seem to give any response to http requests).
If someone could give me any clue!

I followed docs and created a src/test-cactus directory containing cactus unit 
tests.

i created a simple jsp unit test:

------
package bla;
import org.apache.cactus.JspTestCase;
/*
 * Created on 24-août-2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */

/**
 * @author delbd
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class TestSimple extends JspTestCase {
        public void testMachin(){
                System.out.println("machin was here");
        }
        
}
------

then i run maven like this:

$ maven cactus -Dmaven.test.skip=true -Dcactus.test.skip=false
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.1

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.compile.src.set
Overriding previous definition of reference to cactus.scanner.classpath

cactus:init-report:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/classes

cactus:compile:

cactus:cactifywar:
war:init:

war:war-resources:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/classes

java:jar-resources:

test:prepare-filesystem:

test:test-resources:

test:compile:

test:test:

war:webapp:
    [echo] Assembling webapp dissco_shark
    [mkdir] Created dir: 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/dissco_shark/WEB-INF/lib
    [mkdir] Created dir: 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/dissco_shark/WEB-INF/tld
    [mkdir] Created dir: 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/dissco_shark/WEB-INF/classes
    [copy] Copying 27 files to 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/dissco_shark/WEB-INF/classes

war:war:
    [echo] Building WAR dissco_shark
    [jar] Building jar: 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/dissco_shark.war

    [cactifywar] Analyzing war: 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/dissco_shark.war
    [cactifywar] Building war: 
/home/delbd/dev/dissco/workspace/Dissco_shark/target/dissco_shark-cactus.war
    [cactifywar] Warning: selected war files include a WEB-INF/web.xml which 
will be ignored (please use webxml attribute to war task)

cactus:test-war:
    [cactus] -----------------------------------------------------------------
    [cactus] Running tests against Tomcat 5.5.7 @ http://localhost:9090
    [cactus] -----------------------------------------------------------------

and it stays there for hours (not even a timeout!)

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Is there life after /sbin/halt -p?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to