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.

This commit is contained in:
Roel Spilker committed 2014-02-10 22:29:04 +01:00
1 parent 3355ed89f3
commit cb8d1d0343
1 file changed
+3 -1
+3 -1
View File
@@ -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>