I have a version of STS 3.6.3.SR1 based on Eclipse Luna 4.4.1.
I have taken the following steps:
1) Dip and run the lombak runnable jar and give the path to my STS. 2) I checked the vmargs entries but there was no Xbootclasspath and added so it had,
-vmargs -Dosgi.requiredJavaVersion=1.6 -XX:MaxPermSize=256m -Dorg.eclipse.swt.browser.IEVersion=10001 -Xms512m -Xmx1024m -javaagent:C:\tools\Lombok\lombok.jar -Xbootclasspath/a:C:\tools\Lombok\lombok.jar
3) I have an exit and STS is open both from the shortcut and from the absent location of STS.exe
4) I checked the layout of my Java classes that are annotated with @Data and other lombak annotations. I see how getters and setters are generated. Even Auto assist displays this method.
5) I did Maven -> Update Project and even did Project Clean
6) CO confirmed that lombak is also installed from About STS help from help.
Even after all the above actions, there are many problems with the compiler that complain about the undefined getXXX () and setXXX () methods for all @Data or @Getter or @Setter annotations.
The Maven construct is successful, and the runtime behavior is excellent, since the class has its receivers and setters in compliance with the requirements.
Intelli J doesn't seem to be able to handle this, as other developers may use the library.
My pom also has the following entry:
<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.16.4</version> </dependency>
How do i allow it?
PS: I downloaded Eclipse Kepler build on top of STS to enable JBoss Fuse Tooling.
eclipse spring-tool-suite lombok eclipse-luna
Karthik R May 27 '15 at 9:30 a.m. 2015-05-27 09:30
source share