diff options
author | Roel Spilker <r.spilker@gmail.com> | 2014-02-10 22:29:04 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2014-02-10 22:29:04 +0100 |
commit | cb8d1d034338c9e5c3516953cdd3bc4339cb664c (patch) | |
tree | 873811ecc775f9046bf2715be3d0152b467db41c | |
parent | 3355ed89f3ab12a84b3494f5eb2e361e0e3df262 (diff) | |
download | lombok-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.xml | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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}(<classpathentry kind=.lib. path=)(.*)$" /> - <substitution expression="\1\2<classpathentry kind="lib" path="${augment.bin}" sourcepath="${augment.src}"/>\${line.separator}\2\3\4" /> + <substitution expression="\1\2<classpathentry kind="lib" path="____AUGMENT_BIN____" sourcepath="____AUGMENT_BIN____"/>\${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> |