mx4j/build build.xml,1.98,1.99

Simone Bordet <[email protected]>
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/build
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3203/build

Modified Files:
	build.xml 
Log Message:
Fixed build for JDK 1.3: Hessian and Burlap can be built only in JDK 1.4+

Index: build.xml
===================================================================
RCS file: /cvsroot/mx4j/mx4j/build/build.xml,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** build.xml	10 Aug 2004 08:34:59 -0000	1.98
--- build.xml	10 Aug 2004 13:05:07 -0000	1.99
***************
*** 172,180 ****
     <target name="flags" description="Sets the flags for conditional compilation">
        <!-- JDK 1.4 flag -->
-       <condition property="jdk13.present">
-          <equals arg1="${ant.java.version}" arg2="1.3"/>
-       </condition>
        <condition property="jdk14.present">
!          <equals arg1="${ant.java.version}" arg2="1.4"/>
        </condition>
        <antcall target="jdk14-present"/>
--- 172,177 ----
     <target name="flags" description="Sets the flags for conditional compilation">
        <!-- JDK 1.4 flag -->
        <condition property="jdk14.present">
!          <available classname="java.util.logging.Logger"/>
        </condition>
        <antcall target="jdk14-present"/>
***************
*** 309,317 ****
           <exclude name="mx4j/tools/remote/**" unless="jaas.present"/>
           <exclude name="mx4j/tools/remote/rmi/SSL*" unless="jdk14.present"/>
!          <exclude name="mx4j/tools/remote/soap/web/jetty/**" unless="jetty.present"/>
           <exclude name="mx4j/tools/heartbeat/**" if="releasing"/>
           <exclude name="mx4j/tools/connector/**" if="releasing"/>
           <exclude name="mx4j/tools/adaptor/rmi/**" if="releasing"/>
           <exclude name="mx4j/tools/adaptor/interceptor/**" if="releasing"/>
           <classpath>
              <path refid="classpath"/>
--- 306,317 ----
           <exclude name="mx4j/tools/remote/**" unless="jaas.present"/>
           <exclude name="mx4j/tools/remote/rmi/SSL*" unless="jdk14.present"/>
!          <exclude name="mx4j/tools/remote/http/jetty/**" unless="jetty.present"/>
           <exclude name="mx4j/tools/heartbeat/**" if="releasing"/>
           <exclude name="mx4j/tools/connector/**" if="releasing"/>
           <exclude name="mx4j/tools/adaptor/rmi/**" if="releasing"/>
           <exclude name="mx4j/tools/adaptor/interceptor/**" if="releasing"/>
+          <exclude name="mx4j/tools/remote/**/hessian/**" unless="jdk14.present"/>
+          <exclude name="mx4j/tools/remote/**/burlap/**" unless="jdk14.present"/>
+          <exclude name="mx4j/tools/remote/caucho/**" unless="jdk14.present"/>
           <classpath>
              <path refid="classpath"/>



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.