mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
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:
1 parent
3355ed89f3
commit
cb8d1d0343
1 file changed
+3
-1
@@ -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>
|
||||
|
||||
|
||||
Reference in new issue
Block a user