Basically runservertests starts the Web Container if
its not started already. There is another attribute
that goes in runservertest called "testTarget" which
points to a Junit test target. This is the one which
specifies which classes to test.
Not sure if this answers ur question!!;-)
Cheers
Raj
--- Charles Brunson <[EMAIL PROTECTED]> wrote:
> I'm trying to use Cactus's runservertests task so
> I've created
> a start_tomcat target in my build.xml. I basically
> copied the
> one from the cactus web page.
>
> What I'm finding is that when it starts tomcat it
> just sits there
> because it has no way to background the java
> process. Am I missing
> something here? I'm wondering how others have gotten
> this to work.
>
> Here's my start_tomcat target:
>
> <target name="start_tomcat">
> <java
> classname="org.apache.catalina.startup.Bootstrap"
> fork="yes"
> jvm="${net-nile.jdk_home}/bin/java">
> <jvmarg
> value="-Dcatalina.home=${testx.tomcat_home}"/>
> <jvmarg
> value="-Dcatalina.base=${testx.tomcat_base}"/>
> <arg value="start"/>
> <classpath>
> <fileset refid="net-nile.jdk.classpath"/>
> <fileset dir="${testx.tomcat_home}">
> <include name="bin/bootstrap.jar"/>
> </fileset>
> </classpath>
> </java>
> </target>
>
>
>
>
>
> --
> Chuck Brunson
> x56912
> 719-277-6912
> [EMAIL PROTECTED]
> AIM: chuck9206
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>