Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBorislav Kapukaranov2012-09-06 10:10:04 -0400
committerBorislav Kapukaranov2012-09-06 10:10:04 -0400
commit4b68d5a489f561dfada9780039dc4b96bfcc8485 (patch)
tree6e6750781927953d3e8c318f4d702dcbc0fb0d41
parenta3c914e1df089795a1d3f3473fa98db1983d56d1 (diff)
downloadorg.eclipse.virgo.virgo-build-4b68d5a489f561dfada9780039dc4b96bfcc8485.tar.gz
org.eclipse.virgo.virgo-build-4b68d5a489f561dfada9780039dc4b96bfcc8485.tar.xz
org.eclipse.virgo.virgo-build-4b68d5a489f561dfada9780039dc4b96bfcc8485.zip
Fixes the integration test runs on Windows by ensuring valid URIs2.29
-rw-r--r--common/common.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/common/common.xml b/common/common.xml
index 8c35a2a..f97b780 100644
--- a/common/common.xml
+++ b/common/common.xml
@@ -153,7 +153,18 @@
<!-- init the property containing the ivy-cache and the integration repo location placeholders -->
<delete file="${basedir}/../user-ivy.properties"/>
- <echo file="${basedir}/../user-ivy.properties" message="ivy.cache=${ivy.cache.dir}&#xa;"/>
+ <!-- replace the backslashes with slashes in the ivy.cache.dir -->
+ <echo message="${ivy.cache.dir}" file="tmp.file" />
+ <loadfile property="transformed.ivy.cache.dir" srcFile="tmp.file">
+ <filterchain>
+ <tokenfilter>
+ <replaceregex pattern="\\" replace="/" flags="g"/>
+ </tokenfilter>
+ </filterchain>
+ </loadfile>
+ <delete file="tmp.file"/>
+
+ <echo file="${basedir}/../user-ivy.properties" message="ivy.cache=${transformed.ivy.cache.dir}&#xa;"/>
</target>
<target name="diagnostics" description="diagnostics">

Back to the top