Search and Top Navigation
Ticket #4973: ui_build_on_unix_2.diff
File ui_build_on_unix_2.diff, 0.7 KB (added by kevin.wells, November 24, 2009 03:03AM UTC)
Index: build/build.xml
===================================================================
--- build/build.xml (revision 3476)
+++ build/build.xml (working copy)
@@ -59,8 +59,7 @@
<for param="file">
<path><fileset dir="${dist.dir}/ui/minified/" includes="*.js" /></path>
<sequential>
- <basename file="@{file}" property="target" />
- <propertyregex override="yes" property="target" input="${target}" regexp="(.+)\.min\.js$" replace="\1"/>
+ <propertyregex override="yes" property="target" input="@{file}" regexp=".*[\\/](.+)\.min\.js$" replace="\1"/>
<concat destfile="${dist.dir}/ui-headered/${target}.min.js">
<header file="${dist.dir}/headers/${target}.js" />
<fileset file="@{file}" />
Download in other formats:
Original Format
File ui_build_on_unix_2.diff, 0.7 KB (added by kevin.wells, November 24, 2009 03:03AM UTC)
Index: build/build.xml
===================================================================
--- build/build.xml (revision 3476)
+++ build/build.xml (working copy)
@@ -59,8 +59,7 @@
<for param="file">
<path><fileset dir="${dist.dir}/ui/minified/" includes="*.js" /></path>
<sequential>
- <basename file="@{file}" property="target" />
- <propertyregex override="yes" property="target" input="${target}" regexp="(.+)\.min\.js$" replace="\1"/>
+ <propertyregex override="yes" property="target" input="@{file}" regexp=".*[\\/](.+)\.min\.js$" replace="\1"/>
<concat destfile="${dist.dir}/ui-headered/${target}.min.js">
<header file="${dist.dir}/headers/${target}.js" />
<fileset file="@{file}" />