HINT: If you'd like to develop lombok in eclipse, run 'ant eclipse' first. It creates the necessary project infrastructure and downloads dependencies. Note that, in order to run "LombokizedEclipse.launch", you need to have "Eclipse SDK" installed.
--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
A fast but maybe useless answer: I do have an eclipse run configuration called LombokizedEclipse.launch, which still works. I created it a long time ago and remember hardly anything. From github:HINT: If you'd like to develop lombok in eclipse, run 'ant eclipse' first. It creates the necessary project infrastructure and downloads dependencies. Note that, in order to run "LombokizedEclipse.launch", you need to have "Eclipse SDK" installed.
On Fri, Sep 19, 2014 at 5:51 PM, Martin Grajcar <maaar...@gmail.com> wrote:A fast but maybe useless answer: I do have an eclipse run configuration called LombokizedEclipse.launch, which still works. I created it a long time ago and remember hardly anything. From github:HINT: If you'd like to develop lombok in eclipse, run 'ant eclipse' first. It creates the necessary project infrastructure and downloads dependencies. Note that, in order to run "LombokizedEclipse.launch", you need to have "Eclipse SDK" installed.Thanks. I don't think I was clear in my original post. I created my eclipse project using `ant eclipse`. But once compiled, I am having trouble figuring out how to debug this once it is compiled.

The closest I have figured out, is to launch my ant build process on a separate project with remote debugger then attach my remote debugger to the process and put a breakpoint in the Lombok code.:ANT_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=1044But that seems like a very convoluted way to try to debug Lombok code.
Additionally, when I try to debug the Lombok code, and the process moves into some of the libs (ex: net.java.openjdk.custom-javac6.jar), the debugging line doesn't seem to match the source code line.
So I can only presume that I must be doing something wrong, or there is a better way to launch the procedure.Any suggestions would be great.
I'll have a look at your debugging problem next week.
Also, did you look at lombok.patcher? That's where the eclipse and ecj magic happens.
Roel
On Sun, Sep 21, 2014 at 4:44 AM, Eric B <eben...@gmail.com> wrote:On Fri, Sep 19, 2014 at 5:51 PM, Martin Grajcar <maaar...@gmail.com> wrote:A fast but maybe useless answer: I do have an eclipse run configuration called LombokizedEclipse.launch, which still works. I created it a long time ago and remember hardly anything. From github:HINT: If you'd like to develop lombok in eclipse, run 'ant eclipse' first. It creates the necessary project infrastructure and downloads dependencies. Note that, in order to run "LombokizedEclipse.launch", you need to have "Eclipse SDK" installed.Thanks. I don't think I was clear in my original post. I created my eclipse project using `ant eclipse`. But once compiled, I am having trouble figuring out how to debug this once it is compiled.Don't you have this run configuration?
Additionally, when I try to debug the Lombok code, and the process moves into some of the libs (ex: net.java.openjdk.custom-javac6.jar), the debugging line doesn't seem to match the source code line.This is well-known. Lombok uses just some stubs so it compiles, I guess getting the real sources would help. IIRC it was complicated enough to make me live without them.
I'll have a look at your debugging problem next week.
Also, did you look at lombok.patcher? That's where the eclipse and ecj magic happens.
It is a separate project on github, next to lombok: https://github.com/rzwitserloot/lombok.patcher
Thanks. I don't think I was clear in my original post. I created my eclipse project using `ant eclipse`. But once compiled, I am having trouble figuring out how to debug this once it is compiled.Don't you have this run configuration?
Nope - don't have that run/debug configuration in my project. Strange. I tried to clean my folder (removed .project, .settings, etc) and ran ant clean, ant eclipse, but still don't have the runtime configuration show up. Any chance you can share the config please?
Additionally, when I try to debug the Lombok code, and the process moves into some of the libs (ex: net.java.openjdk.custom-javac6.jar), the debugging line doesn't seem to match the source code line.This is well-known. Lombok uses just some stubs so it compiles, I guess getting the real sources would help. IIRC it was complicated enough to make me live without them.Great - my problem is that I am not sure where/what to step through, so I figured starting at the entry point and stepping through slowly would point out where I need to go. But with the wrong sources, it is very difficult to figure this out.Wonder why not just use the real sources instead of stubs; the org.eclipse libs are all publicly available.
It is a separate project on github, next to lombok: https://github.com/rzwitserloot/lombok.patcher
Roel
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombok+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombok+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombok+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombok+unsubscribe@googlegroups.com.