Author: thomas.diesler(a)jboss.com
Date: 2007-01-24 09:16:52 -0500 (Wed, 24 Jan 2007)
New Revision: 2077
Modified:
branches/jbossws-1.2.0/integration-jboss40/build.xml
Log:
Exclude ejb3 classes if not available
Modified: branches/jbossws-1.2.0/integration-jboss40/build.xml
===================================================================
--- branches/jbossws-1.2.0/integration-jboss40/build.xml 2007-01-24 14:12:36 UTC (rev
2076)
+++ branches/jbossws-1.2.0/integration-jboss40/build.xml 2007-01-24 14:16:52 UTC (rev
2077)
@@ -36,6 +36,7 @@
<target name="jboss40-init" depends="prepare, thirdparty">
<fail message="Not available: ${jboss40.client}/jboss-client.jar"
unless="jboss40.available"/>
+ <available file="${jboss40.client}/jboss-ejb3-client.jar"
property="jboss40.ejb3.available"/>
</target>
<!-- ================================================================== -->
@@ -50,19 +51,37 @@
| documentation compiles.
-->
- <target name="jboss40-compile"
depends="jboss40-compile-classes,jboss40-compile-etc" description="Compile
all source files."/>
+ <target name="jboss40-compile"
depends="jboss40-compile-classes,jboss40-compile-ejb3-classes,jboss40-compile-etc"
+ description="Compile all source files."/>
<!-- Compile integration java sources -->
<target name="jboss40-compile-classes"
depends="jboss40-init,core-compile">
<mkdir dir="${jboss40.output.classes.dir}"/>
- <javac srcdir="${jboss42.java.dir}" sourcepath=""
destdir="${jboss40.output.classes.dir}" encoding="utf-8"
debug="${javac.debug}" verbose="${javac.verbose}"
+ <javac srcdir="${jboss42.java.dir}" sourcepath=""
destdir="${jboss40.output.classes.dir}"
+ encoding="utf-8" debug="${javac.debug}"
verbose="${javac.verbose}"
deprecation="${javac.deprecation}"
failonerror="${javac.fail.onerror}">
<include name="org/jboss/ws/integration/jboss42/**"/>
+ <exclude
name="org/jboss/ws/integration/jboss42/DeployerInterceptorEJB3.java"/>
+ <exclude
name="org/jboss/ws/integration/jboss42/ServiceEndpointGeneratorEJB3.java"/>
+ <exclude
name="org/jboss/ws/integration/jboss42/ServiceEndpointInvokerEJB3.java"/>
<classpath refid="jboss40.integration.classpath"/>
<classpath path="${core.output.classes14.dir}"/>
<classpath path="${core.output.classes.dir}"/>
</javac>
</target>
+ <target name="jboss40-compile-ejb3-classes"
depends="jboss40-init,core-compile" if="jboss40.ejb3.available">
+ <mkdir dir="${jboss40.output.classes.dir}"/>
+ <javac srcdir="${jboss42.java.dir}" sourcepath=""
destdir="${jboss40.output.classes.dir}"
+ encoding="utf-8" debug="${javac.debug}"
verbose="${javac.verbose}"
+ deprecation="${javac.deprecation}"
failonerror="${javac.fail.onerror}">
+ <include
name="org/jboss/ws/integration/jboss42/DeployerInterceptorEJB3.java"/>
+ <include
name="org/jboss/ws/integration/jboss42/ServiceEndpointGeneratorEJB3.java"/>
+ <include
name="org/jboss/ws/integration/jboss42/ServiceEndpointInvokerEJB3.java"/>
+ <classpath refid="jboss40.integration.classpath"/>
+ <classpath path="${core.output.classes14.dir}"/>
+ <classpath path="${core.output.classes.dir}"/>
+ </javac>
+ </target>
<!-- Compile etc files (manifests and such) -->
<target name="jboss40-compile-etc" depends="jboss40-init">
Show replies by date