[jboss-cvs] JBossAS SVN: r63239 - branches/Branch_4_2/ejb3.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 29 04:31:49 EDT 2007


Author: wolfc
Date: 2007-05-29 04:31:49 -0400 (Tue, 29 May 2007)
New Revision: 63239

Modified:
   branches/Branch_4_2/ejb3/build-from-5.xml
Log:
WIP: compile from AS 5 source using AS 4.2

Modified: branches/Branch_4_2/ejb3/build-from-5.xml
===================================================================
--- branches/Branch_4_2/ejb3/build-from-5.xml	2007-05-29 08:30:21 UTC (rev 63238)
+++ branches/Branch_4_2/ejb3/build-from-5.xml	2007-05-29 08:31:49 UTC (rev 63239)
@@ -17,7 +17,9 @@
 <!-- $Id$ -->
 
 <project default="main" name="JBoss/EJB3">
-
+   <property name="jboss.as.root" value="../../jboss-head"/>
+   <property name="javac.deprecation" value="false"/>
+   
    <!-- ================================================================== -->
    <!-- Setup                                                              -->
    <!-- ================================================================== -->
@@ -103,6 +105,8 @@
          <path refid="dom4j.dom4j.classpath"/>
          <!-- FIXME: temporary for EJBTHREE-485 -->
          <path refid="cglib.classpath"/>
+         
+         <path refid="jboss.jboss.vfs.classpath"/>
       </path>
 
       <!-- ======= -->
@@ -145,7 +149,7 @@
       <!-- ===== -->
 
       <!-- Where source files live -->
-      <property name="source.java" value="${module.source}/main"/>
+      <property name="source.java" value="${jboss.as.root}/ejb3/src/main"/>
       <property name="source.etc" value="${module.source}/etc"/>
       <property name="resources" value="${module.source}/resources"/>
 
@@ -228,6 +232,7 @@
    <!-- Compile all class files -->
    <target name="compile-classes" depends="init">
       <mkdir dir="${build.classes}"/>
+      <!-- patch 4.2 service ref delegate in -->
       <javac destdir="${build.classes}"
          optimize="${javac.optimize}"
          debug="${javac.debug}"
@@ -239,6 +244,38 @@
          includeJavaRuntime="${javac.include.java.runtime}"
          deprecation="${javac.deprecation}"
          failonerror="${javac.fail.onerror}">
+         <src path="../server/src/main"/>
+         <classpath refid="javac.classpath"/>
+         <include name="org/jboss/metadata/serviceref/ServiceRefDelegate.java"/>
+      </javac>
+      <!-- patch 5.0 server metamodel in -->
+      <javac destdir="${build.classes}"
+         optimize="${javac.optimize}"
+         debug="${javac.debug}"
+         source="1.5"
+         target="1.5"
+         depend="${javac.depend}"
+         verbose="${javac.verbose}"
+         includeAntRuntime="${javac.include.ant.runtime}"
+         includeJavaRuntime="${javac.include.java.runtime}"
+         deprecation="${javac.deprecation}"
+         failonerror="${javac.fail.onerror}">
+         <src path="${jboss.as.root}/server/src/main"/>
+         <classpath refid="javac.classpath"/>
+         <include name="org/jboss/metadata/**"/>
+         <include name="org/jboss/metamodel/descriptor/**"/>
+      </javac>
+      <javac destdir="${build.classes}"
+         optimize="${javac.optimize}"
+         debug="${javac.debug}"
+         source="1.5"
+         target="1.5"
+         depend="${javac.depend}"
+         verbose="${javac.verbose}"
+         includeAntRuntime="${javac.include.ant.runtime}"
+         includeJavaRuntime="${javac.include.java.runtime}"
+         deprecation="${javac.deprecation}"
+         failonerror="${javac.fail.onerror}">
          <src path="${source.java}"/>
          <classpath refid="javac.classpath"/>
          <include name="${javac.includes}"/>
@@ -247,6 +284,17 @@
          <exclude name="org/jboss/ejb3/clientmodule/**"/>
          <exclude name="org/jboss/ejb3/deployers/**"/>
          <exclude name="org/jboss/ejb3/embedded/**"/>
+         
+         <!-- FIXME -->
+         <exclude name="org/jboss/ejb3/cache/tree/StatefulTreeCache.java"/>
+         <exclude name="org/jboss/ejb3/cache/tree/SFSBFileCacheLoader.java"/>
+         <exclude name="org/jboss/ejb3/entity/JBCCache.java"/>
+         <exclude name="org/jboss/ejb3/entity/JBCCacheFactory.java"/>
+         <exclude name="org/jboss/ejb3/entity/OptimisticJBCCache.java"/>
+         
+         <exclude name="org/jboss/ejb3/security/Ejb3AuthenticationInterceptor.java"/>
+         <exclude name="org/jboss/ejb3/security/JaccHelper.java"/>
+         <exclude name="org/jboss/injection/ResourceHandler.java"/>
       </javac>
    </target>
 




More information about the jboss-cvs-commits mailing list