[jboss-cvs] JBossAS SVN: r112609 - in projects/jboss-jca/trunk: eclipse and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 6 04:50:03 EST 2012


Author: jeff.zhang
Date: 2012-02-06 04:50:02 -0500 (Mon, 06 Feb 2012)
New Revision: 112609

Modified:
   projects/jboss-jca/trunk/build.xml
   projects/jboss-jca/trunk/eclipse/build.xml
Log:
[JBJCA-731] rename eclipse target in build.xml and don't compile/package if unset eclipse.home property

Modified: projects/jboss-jca/trunk/build.xml
===================================================================
--- projects/jboss-jca/trunk/build.xml	2012-02-05 14:13:05 UTC (rev 112608)
+++ projects/jboss-jca/trunk/build.xml	2012-02-06 09:50:02 UTC (rev 112609)
@@ -329,6 +329,7 @@
     <ant dir="sjc" inheritRefs="true" target="jars"/>
     <ant dir="codegenerator" inheritRefs="true" target="jars"/>
     <ant dir="as" inheritRefs="true" target="jars"/>
+    <ant dir="eclipse" inheritRefs="true" target="jars"/>
   </target>
   
   <!-- ================================= 
@@ -362,7 +363,7 @@
   <!-- ================================= 
        Target: eclipse plugin
        ================================= -->
-  <target name="plugin">
+  <target name="eclipse">
     <ant dir="eclipse" inheritRefs="true" target="jars"/>
   </target>
 

Modified: projects/jboss-jca/trunk/eclipse/build.xml
===================================================================
--- projects/jboss-jca/trunk/eclipse/build.xml	2012-02-05 14:13:05 UTC (rev 112608)
+++ projects/jboss-jca/trunk/eclipse/build.xml	2012-02-06 09:50:02 UTC (rev 112609)
@@ -27,8 +27,9 @@
        Properties              
        ================================= -->
   <property name="build.eclipse.dir" value="${build.dir}/eclipse" />
+<!--
   <property name="eclipse.home" value="/opt/eclipse" />
-
+-->
   <path id="eclipse-sdk-jars">
 
     <fileset dir="${target.dir}">
@@ -52,7 +53,7 @@
   <!-- ================================= 
        Target: compile
        ================================= -->
-  <target name="compile">
+  <target name="compile" if="eclipse.home">
 
     <copy todir="libs/">
       <fileset dir="${target.dir}"
@@ -77,7 +78,7 @@
   <!-- ================================= 
        Target: jars 
        ================================= -->
-  <target name="jars" depends="compile">
+  <target name="jars" depends="compile" if="eclipse.home">
     <mkdir dir="${build.eclipse.dir}/jars" />
 
     <!-- eclipse -->



More information about the jboss-cvs-commits mailing list