Author: manaRH
Date: 2013-11-22 11:54:53 -0500 (Fri, 22 Nov 2013)
New Revision: 15640
Modified:
branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build.xml
Log:
https://issues.jboss.org/browse/WFK2-332 fixed also windows wrong path and added
conversion of backslashes in win paths
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-22 15:01:07 UTC (rev
15639)
+++ branches/enterprise/WFK-2_1/jboss-seam-gen/dist/build.xml 2013-11-22 16:54:53 UTC (rev
15640)
@@ -219,14 +219,21 @@
<target name="setup-librarylist"
depends="setup-librarylist-ear,setup-librarylist-war">
- <condition property="regexp-library-delimiter" value=":"
else=";">
- <isset property="isUnix"/>
+ <condition property="regexp-library-delimiter" value=";"
else=":">
+ <isset property="isWindows"/>
</condition>
<property name="library.list.inner"
refid="library.fileset"/>
<property name="indent" value="
"/>
+ <!-- this changes all backspaces in paths to standard / -->
<propertyregex property="library.list.inner"
override="true"
+ regexp="\\"
+ replace="/"
+ input="${library.list.inner}"
+ global="true"/>
+ <propertyregex property="library.list.inner"
+ override="true"
regexp="${regexp-library-delimiter}"
replace='"), ${line.separator} ${indent} new
File(PROJECT_HOME + "'
input="${library.list.inner}"