[jboss-cvs] JBossAS SVN: r112739 - in projects/jboss-jca/trunk: core and 1 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Mar 8 11:51:38 EST 2012


Author: jesper.pedersen
Date: 2012-03-08 11:51:37 -0500 (Thu, 08 Mar 2012)
New Revision: 112739

Modified:
   projects/jboss-jca/trunk/common/build.xml
   projects/jboss-jca/trunk/core/build.xml
   projects/jboss-jca/trunk/deployers/build.xml
Log:
Include generated sources in the -sources.jar artifact

Modified: projects/jboss-jca/trunk/common/build.xml
===================================================================
--- projects/jboss-jca/trunk/common/build.xml	2012-03-08 16:32:43 UTC (rev 112738)
+++ projects/jboss-jca/trunk/common/build.xml	2012-03-08 16:51:37 UTC (rev 112739)
@@ -328,12 +328,14 @@
     </jar>
 
     <jar destfile="${target.dir}/${name}-common-impl-sources.jar"
-         basedir="src/main/java"
          index="true"
          indexMetaInf="true"
          update="true"
-         level="9"
-         excludes="**/common/api/**,**/common/spi/**,**/papaki/**">
+         level="9">
+      <fileset dir="src/main/java"
+               excludes="**/common/api/**,**/common/spi/**,**/papaki/**"/>
+      <fileset dir="${build.common.dir}"
+               includes="**/*.java"/>
       <manifest>
         <attribute name="Implementation-Title" value="IronJacamar Common Implementation - Sources"/>
         <attribute name="Implementation-Version" value="${version}"/>

Modified: projects/jboss-jca/trunk/core/build.xml
===================================================================
--- projects/jboss-jca/trunk/core/build.xml	2012-03-08 16:32:43 UTC (rev 112738)
+++ projects/jboss-jca/trunk/core/build.xml	2012-03-08 16:51:37 UTC (rev 112739)
@@ -386,12 +386,14 @@
     </jar>
 
     <jar destfile="${target.dir}/${name}-core-impl-sources.jar"
-         basedir="src/main/java"
          index="true"
          indexMetaInf="true"
          update="true"
-         level="9"
-         excludes="**/core/api/**,**/core/spi/**">
+         level="9">
+      <fileset dir="src/main/java"
+               excludes="**/core/api/**,**/core/spi/**"/>
+      <fileset dir="${build.core.dir}/impl"
+               includes="**/*.java"/>
       <manifest>
         <attribute name="Implementation-Title" value="IronJacamar Core Implementation - Sources"/>
         <attribute name="Implementation-Version" value="${version}"/>

Modified: projects/jboss-jca/trunk/deployers/build.xml
===================================================================
--- projects/jboss-jca/trunk/deployers/build.xml	2012-03-08 16:32:43 UTC (rev 112738)
+++ projects/jboss-jca/trunk/deployers/build.xml	2012-03-08 16:51:37 UTC (rev 112739)
@@ -366,13 +366,14 @@
   <target name="artifacts-base">
     <!-- Common -->
     <jar destfile="${target.dir}/${name}-deployers-common-sources.jar"
-         basedir="src/main/java"
          index="true"
          indexMetaInf="true"
          update="true"
-         level="9"
-         includes="**/deployers/**"
-         excludes="**/deployers/fungal/**">
+         level="9">
+      <fileset dir="src/main/java"
+               excludes="**/deployers/fungal/**"/>
+      <fileset dir="${build.deployers.dir}/impl"
+               includes="**/*.java"/>
       <manifest>
         <attribute name="Implementation-Title" value="IronJacamar Deployers Common - Sources"/>
         <attribute name="Implementation-Version" value="${version}"/>



More information about the jboss-cvs-commits mailing list