[seam-commits] Seam SVN: r15639 - branches/enterprise/WFK-2_1/jboss-seam-gen/dist.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Nov 22 10:01:07 EST 2013


Author: manaRH
Date: 2013-11-22 10:01:07 -0500 (Fri, 22 Nov 2013)
New Revision: 15639

Modified:
   branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build.xml
Log:
https://issues.jboss.org/browse/WFK2-332 fixed seam-gen test regexp for windows platform

Modified: branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build.xml
===================================================================
--- branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build.xml	2013-11-21 20:57:54 UTC (rev 15638)
+++ branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build.xml	2013-11-22 15:01:07 UTC (rev 15639)
@@ -19,6 +19,12 @@
             <os family="mac"/>
         </or>
     </condition>
+    <condition property="isUnix">
+       <os family="unix" />
+    </condition>
+    <condition property="isWindows">
+       <os family="windows" />
+    </condition>
     <condition property="seam.cmd" value="${cmd.prefix}seam" else="ant">
         <equals arg1="${seam-gen.properties}" arg2="${seam-gen.dir}/build.properties"/>
     </condition>
@@ -212,12 +218,16 @@
     </target>
 
     <target name="setup-librarylist" 
-        depends="setup-librarylist-ear,setup-librarylist-war">
+          depends="setup-librarylist-ear,setup-librarylist-war">
+       <condition property="regexp-library-delimiter" value=":" else=";">
+          <isset property="isUnix"/> 
+       </condition>
+
         <property name="library.list.inner" refid="library.fileset"/>
         <property name="indent" value="                          "/>
         <propertyregex property="library.list.inner"
                        override="true"
-                       regexp=":"
+                       regexp="${regexp-library-delimiter}"
                        replace='"), ${line.separator} ${indent} new File(PROJECT_HOME + "'
                        input="${library.list.inner}"
                        global="true"/>



More information about the seam-commits mailing list