aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2015-07-29 22:00:30 +0200
committerRoel Spilker <r.spilker@gmail.com>2015-11-17 23:10:37 +0100
commitd41f1b5d3f08b663e4f75b52107d52b19ccf20e5 (patch)
tree9a29c2f328f7e7428d3fee76d72c5465b7ca5b5a
parent0bd688d7e624d95fef921f8b463209d70b92779a (diff)
downloadlombok-d41f1b5d3f08b663e4f75b52107d52b19ccf20e5.tar.gz
lombok-d41f1b5d3f08b663e4f75b52107d52b19ccf20e5.tar.bz2
lombok-d41f1b5d3f08b663e4f75b52107d52b19ccf20e5.zip
have the generated test runtargets works well with shadowloader so we can debug
-rw-r--r--build.xml1
-rw-r--r--buildScripts/eclipse-run-tests.template2
2 files changed, 2 insertions, 1 deletions
diff --git a/build.xml b/build.xml
index e157632b..b562fcb4 100644
--- a/build.xml
+++ b/build.xml
@@ -487,6 +487,7 @@ ${sourceWarning}</echo>
<filter token="ECJ_LOCATION" value="${test.location.ecj}" />
<filter token="RT_LOCATION" value="${test.location.bootclasspath}" />
<filter token="JAVA_VERSION" value="${test.javaversion}" />
+ <filter token="PATH_SEP" value="${path.separator}" />
</filterset>
</copy>
<echo>WARNING: If you wish to test JDK8 features in eclipse, there must be a JDK8 installation configured in your eclipse, and it must be called 'JavaSE-1.8'.</echo>
diff --git a/buildScripts/eclipse-run-tests.template b/buildScripts/eclipse-run-tests.template
index 06bc22b7..530341ab 100644
--- a/buildScripts/eclipse-run-tests.template
+++ b/buildScripts/eclipse-run-tests.template
@@ -26,5 +26,5 @@
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.@JAVA_VERSION@"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="lombok.RunAllTests"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="lombok"/>
- <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:dist/lombok.jar -Ddelombok.bootclasspath=@RT_LOCATION@ -Dshadow.override.lombok=true"/>
+ <stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-javaagent:dist/lombok.jar -Dshadow.override.lombok=${project_loc:lombok}/bin@PATH_SEP@${project_loc:lombok}/lib/runtime/* -Ddelombok.bootclasspath=@RT_LOCATION@"/>
</launchConfiguration>