Menu

#1334 eclipse.ini overwrite

3.x
closed-rejected
5
2017-10-22
2014-11-23
No

Just installed the latest version of the FindBugs eclipse plugin; upon reloading the application, my eclipse.ini file had been overwritten causing error code 13. Any idea why this might have happened? Thanks!

Discussion

  • Andrey Loskutov

    Andrey Loskutov - 2014-11-23

    Hi Matthew,
    Which Eclipse/Java version are you using on which operating system?
    Could you please post the changed eclipse.ini file here?
    What was the change?

    I guess this is due p2 installer, which is trying to apply this:
    https://code.google.com/p/findbugs/source/browse/eclipsePlugin/META-INF/p2.inf
    to your installation.

    I haven't heard anything from other users, so something must be wrong with your Eclipse installation: is it special in some way?

    Regards,
    Andrey

     
  • Andrey Loskutov

    Andrey Loskutov - 2014-11-23
    • assigned_to: Andrey Loskutov
     
  • Matthew Mauriello

    Android Developer Tools Build: v22.0.0-675183 || Windows 7
    Running jdk1.7.0_21

    -startup
    plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
    -product
    com.android.ide.eclipse.adt.package.product
    --launcher.XXMaxPermSize
    256M
    -showsplash
    com.android.ide.eclipse.adt.package.product
    --launcher.XXMaxPermSize
    256m
    --launcher.defaultAction
    openFile
    -vm
    C:\Program Files\Java\jdk1.7.0_21\bin\javaw.exe
    -vmargs
    -Dosgi.requiredJavaVersion=1.7
    -Xms40m
    -Xmx768m
    -Declipse.buildId=v22.0.0-675183

    I had to add back:

    -vm
    C:\Program Files\Java\jdk1.7.0_21\bin\javaw.exe

    above.

     
  • Andrey Loskutov

    Andrey Loskutov - 2014-11-24

    ... Which means before installing FB plugin you already have changed the ini file and the line added by you was discarded after installation?

    If you can reproduce, please open bug against Eclipse (p2 installer) and add here the link to it. It looks like p2 don't respect possible changes on eclipse.ini while processing install directives, and applies changes to some default state (just my personal assumption).

    Thanks for the reporting!

     
  • Andrey Loskutov

    Andrey Loskutov - 2017-10-22
    • Status: open --> closed-rejected
     

Log in to post a comment.