facebook

Lombok doesnt recognise Installation myeclipse Directory.

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #327545 Reply

    schanamolu
    Member

    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

    #327580 Reply

    support-swapna
    Moderator

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Lombok doesnt recognise Installation myeclipse Directory.

You must be logged in to post in the forum log in