aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2014-02-10 22:29:04 +0100
committerRoel Spilker <r.spilker@gmail.com>2014-02-10 22:29:04 +0100
commitcb8d1d034338c9e5c3516953cdd3bc4339cb664c (patch)
tree873811ecc775f9046bf2715be3d0152b467db41c
parent3355ed89f3ab12a84b3494f5eb2e361e0e3df262 (diff)
downloadlombok-cb8d1d034338c9e5c3516953cdd3bc4339cb664c.tar.gz
lombok-cb8d1d034338c9e5c3516953cdd3bc4339cb664c.tar.bz2
lombok-cb8d1d034338c9e5c3516953cdd3bc4339cb664c.zip
fix to the new eclipseForDebugging target, which didnt work on windows due to backslashes in paths getting eliminated when using a path in a regexp replace string.
-rw-r--r--build.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index 05e36913..bf2ba1d9 100644
--- a/build.xml
+++ b/build.xml
@@ -370,8 +370,10 @@ the common tasks and can be called on to run the main aspects of all the sub-scr
<replaceregexp file=".classpath" flags="is" encoding="UTF-8">
<regexp pattern="^(.*?)(.)${intentionallyBreakTheRegexp}(&lt;classpathentry kind=.lib. path=)(.*)$" />
- <substitution expression="\1\2&lt;classpathentry kind=&quot;lib&quot; path=&quot;${augment.bin}&quot; sourcepath=&quot;${augment.src}&quot;/&gt;\${line.separator}\2\3\4" />
+ <substitution expression="\1\2&lt;classpathentry kind=&quot;lib&quot; path=&quot;____AUGMENT_BIN____&quot; sourcepath=&quot;____AUGMENT_BIN____&quot;/&gt;\${line.separator}\2\3\4" />
</replaceregexp>
+ <replace file=".classpath" token="____AUGMENT_BIN____" value="${augment.bin}" />
+ <replace file=".classpath" token="____AUGMENT_SRC____" value="${augment.src}" />
<echo>Added to project classpath from your eclipse installation: ${pluginName}.</echo>
</target>