[jboss-svn-commits] JBL Code SVN: r35414 - labs/jbossrules/soa_branches/BRMS-5.1.1/brms-distribution.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Oct 4 12:09:15 EDT 2010


Author: zzoubkov at redhat.com
Date: 2010-10-04 12:09:14 -0400 (Mon, 04 Oct 2010)
New Revision: 35414

Modified:
   labs/jbossrules/soa_branches/BRMS-5.1.1/brms-distribution/build.xml
Log:
modeshape patch added for standalone BRMS release - change jboss_home property in build.xml and correct the list of available profiles


Modified: labs/jbossrules/soa_branches/BRMS-5.1.1/brms-distribution/build.xml
===================================================================
--- labs/jbossrules/soa_branches/BRMS-5.1.1/brms-distribution/build.xml	2010-10-04 15:26:44 UTC (rev 35413)
+++ labs/jbossrules/soa_branches/BRMS-5.1.1/brms-distribution/build.xml	2010-10-04 16:09:14 UTC (rev 35414)
@@ -41,6 +41,9 @@
       <fileset file="${module_base_dir}/../LICENSE-ASL-2.0.txt" />
       <fileset file="${module_base_dir}/../README_DEPENDENCIES.txt" />
     </copy>
+    <antcall target="patch.modeshape">
+      <!--param name="module_base_dir" value="${module_base_dir}" /-->
+    </antcall>
     <copy todir="${module_base_dir}/target/dist/brms-standalone/modeshape" overwrite="true">
       <fileset dir="${module_base_dir}/target/work/modeshape" includes="**/*" />
     </copy>
@@ -49,5 +52,14 @@
       <zipfileset dir="${module_base_dir}/target/dist/brms-standalone" prefix="brms-standalone-${project.version}" includes="**/*" filemode="755" />
     </zip>
 
-	</target>
+    </target>
+	
+    
+    <target name="patch.modeshape">
+      <replace file="${module_base_dir}/target/work/modeshape/build.xml" >
+	<replacefilter token="../../jboss-as/" value="../jboss-as-web/"/>
+	<replacefilter token="all, production, web, or default" 
+	value="production or default"/>
+      </replace>
+    </target>
 </project>



More information about the jboss-svn-commits mailing list