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>

Reply via email to