MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
schanamolu
Post subject: Lombok doesnt recognise Installation myeclipse Directory.  PostPosted: Jun 25, 2012 - 03:59 PM
Veteran Member
Veteran Member


Joined: Apr 03, 2006
Posts: 59

Hi,

I try to Install Lombok.jar into myeclipse, its complaining it couldnt recognise the myeclipse installation directory.

Please check the following Link. Let me know

http://projectlombok.org/slideshow.html


I thinking myeclipse installation directory is the folliowing path:

C:\MyEclipse\MyEclipse 10

Let me know as Iam kind of stuck

Thanks,
Sreedhar
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jun 26, 2012 - 08:08 AM



Joined: Nov 11, 2010
Posts: 2151

Sreedhar,

The lombok installer doesn't recognize MyEclipse because it is installed into a different file structure from the standard eclipse install.

Alternatively you can set it up manually to work with MyEclipse. Copy the lombok.jar to the MyEclipse installation folder. Edit the myeclipse.ini and add -javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar to the end of the file.

The contents of the myeclipse.ini should be as below :

#utf8 (do not remove)
-startup
../../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
../../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_4.2.0.v201201111650
-install
C:\Program Files\Genuitec\Profiles\MyEclipse 10.5
-vm
C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
-configuration
C:\Program Files\Genuitec\Profiles\MyEclipse 10.5\configuration
-vmargs
-Xmx512m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore
-javaagent:lombok.jar
-Xbootclasspath/a:lombok.jar

Now start the IDE and add the lombok.jar to the project's buildpath.

Let us know how it works for you.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits