java - how to configure lombok in eclipse luna - Stack Overflow
For Integrattion with ECLIPSE LUNA in Windows 7 please foollow the below steps:
- Download the jar -> lombok-1.14.6.jar.
Using command prompt go to java installed directory and type
java -jar ${your_jar_path}\lombok-1.14.6.jar.
Here ${your_jar_path} is your lombok-1.14.6.jar jar store directory.
- After this it will prompt for Eclipse already installed in your system and you need to select where you want to integrate.
After this you need to open eclipse.ini file and make entry below
-vmargs
as
-Xbootclasspath/a:lombok.jar -javaagent:lombok.jar
Start your eclipse now and create a Maven project and make entry in pom.xml as mentioned below:
<dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.14.6</version> <scope>provided</scope> </dependency>
Read full article from java - how to configure lombok in eclipse luna - Stack Overflow
No comments:
Post a Comment