You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Vincent Massol <vm...@octo.fr> on 2001/02/25 19:13:57 UTC

Integration of J2EEUnit with Gump

Sam,

I have added build\build-test-all.bat and build\build-test-all.xml to
automatically run the J2EEUnit on all servlet engines and for all servlet
APIs. If the environment variable pointing to the home directory of a given
servlet engine is not found, then the tests for that servlet engine are
skipped. If you could include that in the gump config. that would be nice.

Note 1 : I still have to finish an Ant listener so that it is easy to get
the results from these automatic tests (reading through all the logs is a
pain !)
Note 2 : I don't know yet how to automatically stop Orion, so I have not
included it in the automatic tests
Note 3 : I don't know why, but my scripts to start Tomcat 4.0 stopped
working ... I am still checking this ...

Note 4 : I have moved this discussion to struts-dev as I don't think it
belongs to library-dev !

Thanks.
Vincent

----- Original Message -----
From: "Sam Ruby" <ru...@us.ibm.com>
To: <li...@jakarta.apache.org>
Sent: Sunday, February 25, 2001 1:33 PM
Subject: Re: [POLL] General Consensus, Round 2 - J2EEUnit


> I had J2EEUnit clean compiling with gump, then another external dependency
> was added.  Vincent, t is not clear to me that you have permision to
> distribute Resin code, and this will have to be resolved before any
> proposal to donate J2EEUnit to the ASF could be considered.  (I won't
begin
> to comment on intermixing GPL and Caucho Developer Source Licenced code).
>
> The normal way to handle this is to make such dependencies optional.
> Following are the patches required to your build definition to make this
> happen.
>
> - Sam Ruby
>
> Index: build.xml
> ===================================================================
> RCS file: /cvsroot/j2eeunit/j2eeunit/build/build.xml,v
> retrieving revision 1.20
> diff -u -r1.20 build.xml
> --- build.xml  2001/02/24 22:52:59 1.20
> +++ build.xml  2001/02/25 11:42:10
> @@ -88,6 +88,9 @@
>          <property name="optimize" value="off"/>
>          <property name="deprecation" value="off"/>
>
> +        <!-- Determine availability of optional packages -->
> +        <available property="resin.present"
classname="com.caucho.server.http.ResinServer" />
> +
>          <!-- Filters -->
>          <filter token="version" value="${version}"/>
>          <filter token="year" value="${year}"/>
> @@ -251,6 +254,9 @@
>
>              <!-- Misc files -->
>              <exclude name="**/license.gpl"/>
> +
> +            <!-- Optional files -->
> +            <exclude name="**/ResinRun.java" unless="resin.present"/>
>
>              <classpath>
>                  <path>
>
>
>