-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lombok install interferes with RCP export wizard #145
Comments
👤 evan.mclean 🕗 Nov 27, 2009 at 03:02 UTC What steps will reproduce the problem?
What is the expected output? What do you see instead? What version of the product are you using? On what operating system? Please provide any additional information below. |
👤 reinierz 🕗 Dec 04, 2009 at 21:13 UTC |
👤 dcendents 🕗 Dec 08, 2009 at 15:56 UTC I really like the idea behind project Lombok, however I cannot start using it until We use the headless build and I installed lombok on our target platform installation Internal compiler error: java.lang.NoClassDefFoundError: |
👤 reinierz 🕗 Dec 08, 2009 at 16:17 UTC You may be able to work around this problem by adding tools.jar to your system classpath. |
👤 dcendents 🕗 Dec 09, 2009 at 13:47 UTC I don't want to add things to the system classpath, I want the projects as I have a script that builds the classpath installation, so adding lombok is not an I tried to add tools.jar to my plugin libraries, but now during the headless build I You aren't using a compiler based around javac v1.6, so lombok will not work properly. I have the following properties in build.properties: JavaSE-1.6=C:/dev/Java/jre6/lib/rt.jar |
👤 christophe.moine 🕗 Dec 16, 2009 at 14:06 UTC I have the problem when exporting a product using the command line: Eclipse generates ant build file with this: lombok is not taken into account at all during compilation. I tried to pass vmargs, without success, any ideas ? |
👤 mail.carsten.lenz 🕗 Dec 17, 2009 at 10:05 UTC For running a headless build you can add the line: build.compiler=modern to your build.properties file in the /buildConfiguration directory of your And of course you need lombok.jar in the classpath the plugins which use lombok For exporting: we ran into the same issue with no solution yet. You somehow have to |
👤 christophe.moine 🕗 Dec 18, 2009 at 16:40 UTC Thanks a lot. It almost worked, but I have another issue which has nothing to do with I will try with delombok instead (put into the customCallback.xml), it should work in I think that solution (customCallback.xml & delombok) should work with export as |
👤 christophe.moine 🕗 Dec 21, 2009 at 09:51 UTC Unfortunatly, the customCallbacks.xml is not called during when exporting a |
👤 reinierz 🕗 Dec 21, 2009 at 11:22 UTC So, if I understand this correctly, the Eclipse RCP deployment wizard produces an on-the-fly ant build file We could investigate if we can make lombok work in the ecj annotation processor environment, but if this is If you guys can chase down some sort of class name, project, or preferably, the source file that generates this |
👤 dcendents 🕗 Dec 21, 2009 at 15:27 UTC In my case, a simple RCP application built using the headless build, setting the 1- Install lombok in the target platform (used for building the code), this is We also use obfuscate4e and no problem to report there as well, the generated code Christophe, you might want to do this instead of messing with the headless build Will look forward to use lombok now! |
👤 mail.carsten.lenz 🕗 Dec 21, 2009 at 16:40 UTC I thought I tried this on the PDE Export Wizard. My experience was that the export |
👤 evan.mclean 🕗 Dec 21, 2009 at 23:05 UTC I should add that the RCP project doesn't even have to be using Lombok, Lombok just |
👤 christophe.moine 🕗 Dec 22, 2009 at 09:51 UTC Thanks Dcendents, as I said changing "build.compiler" to modern almost works (because I made some research on PDE code, but it seems quite a pain to extend it. There is 3
I am using Eclipse 3.3, I wonder it there was changes in recent releases. I don't know if we could use frameworks like ASM to hook those methods ? Seems like Moreover, there might be some side effect for changing this: what if there is no Is it to complicated to make "Export" work with Eclipse Compiler ? |
👤 dcendents 🕗 Dec 22, 2009 at 10:05 UTC I also work in an industrial context. I just feel scripting the build with ant makes |
👤 reinierz 🕗 Dec 30, 2009 at 01:34 UTC Hey guys, I think Roel and I just fixed this issue, though my eclipse isn't ready for RCP projects (I think... I You can download the edge build, with this fix in it, from here: |
👤 christophe.moine 🕗 Dec 30, 2009 at 09:25 UTC Still not working for me, I am using eclipse 3.3: C:\work\work3.2.metadata.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.containe C:\work\work3.2.metadata.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.containe Did I made something wrong ? |
👤 reinierz 🕗 Dec 31, 2009 at 05:47 UTC Yikes. That is an utterly useless error message. InvocationTargetException means we use reflection Eclipse 3.3 could be a problem; last time I checked lombok works with eclipses as far back as 3.2, but that Does anyone else have this error? At any rate, it would help if someone can tell me exactly how one creates an RCP project. We've never done |
👤 christophe.moine 🕗 Dec 31, 2009 at 10:31 UTC Reinierz, for an RCP project, the best thing I think it to import my "testrcp.zip" into Ensure the following in the run configuration:
Hope that helps a little, Christophe. |
👤 christophe.moine 🕗 Dec 31, 2009 at 10:31 UTC |
👤 reinierz 🕗 Jan 02, 2010 at 17:27 UTC I get this: java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter I presume I don't have the right plugins for my eclipse. |
👤 christophe.moine 🕗 Jan 08, 2010 at 16:52 UTC Strange, I can't tell what is wrong. I am using Eclipse 3.3, maybe that is why. Do you have a more complete stack ? |
👤 reinierz 🕗 Jan 08, 2010 at 20:30 UTC I forgot the 'add required plugins' bit. Fixed that. Now, when I run it, I get 0 errors, along with a completely blank window containing absolutely I'm running in lombok-edge, on eclipse 3.5.0. |
👤 christophe.moine 🕗 Jan 09, 2010 at 21:33 UTC Yep, it works, Can you export the plugin correctly ? |
👤 reinierz 🕗 Jan 10, 2010 at 00:01 UTC Followed the instructions as per the actual bug report (top of this page). It took rather long for some reason In other words, it all seems to work for me. |
End of migration |
…k#407) * changed background LightImplementation of LightPsiClass fixed projectlombok#145 * added manual test example projectlombok#303 * Upgrading Gradle version to improve build speeds
Migrated from Google Code (issue 72)
The text was updated successfully, but these errors were encountered: