Uninstall wipes out my eclipse.ini file

39 views
Skip to first unread message

kisuke

unread,
Feb 5, 2013, 2:31:08 PM2/5/13
to eclim-dev
Hello,

Eclim was working relatively well for a while in embedded mode, but
started giving me hassles with it not finding gvim location. It was
automatically opening all my files in vim mode when it wasn't always
that case.

Since I didn't have time to debug all this today at work, I decided to
uninstall it for now. Unfortunately it wiped out some (maybe every)
things. My project settings are gone. Can't find workspaces. Run
configs missing. The eclipse.ini file looks like the most basic
config file ever. I uninstalled it by:

java -Dvim.skip=true -Declipse.home=/home/me/Tools/eclipse -jar /home/
me/Tools/vi-eclim/eclim_2.2.4.jar uninstall

My Eclipse version was Juno, in a non-standard locations...

kisuke

unread,
Feb 5, 2013, 2:53:43 PM2/5/13
to eclim-dev
And it thinks my version is Eclipse 3.5.2 now, which is what I first
had installed last year... :(

Eric Van Dewoestine

unread,
Feb 6, 2013, 1:40:15 AM2/6/13
to ecli...@googlegroups.com
On 2013-02-05 11:31:08, kisuke wrote:
> Hello,
>
> Eclim was working relatively well for a while in embedded mode, but
> started giving me hassles with it not finding gvim location. It was
> automatically opening all my files in vim mode when it wasn't always
> that case.
>
> Since I didn't have time to debug all this today at work, I decided to
> uninstall it for now. Unfortunately it wiped out some (maybe every)
> things. My project settings are gone. Can't find workspaces. Run
> configs missing. The eclipse.ini file looks like the most basic
> config file ever. I uninstalled it by:

Hmm, the uninstall won't touch any projects, workspace, or anything
like that. It just calls the eclipse p2 uninstallIU command, the p2
garbage collector, and removes the eclim vim files.

I'll play with this when I get a chance, but I don't see how an eclim
uninstall would impact any of those things.

> java -Dvim.skip=true -Declipse.home=/home/me/Tools/eclipse -jar /home/
> me/Tools/vi-eclim/eclim_2.2.4.jar uninstall
>
> My Eclipse version was Juno, in a non-standard locations...

--
eric

Eric Van Dewoestine

unread,
Feb 6, 2013, 1:43:51 AM2/6/13
to ecli...@googlegroups.com
On 2013-02-05 11:53:43, kisuke wrote:
> And it thinks my version is Eclipse 3.5.2 now, which is what I first
> had installed last year... :(

What thinks your version is Eclipse 3.5.2... eclipse does? Again I
don't see how eclim could have any affect on this, it's just calling
the eclipse p2 command line tools.

> On Feb 5, 2:31�pm, kisuke <kisuke.urah...@gmail.com> wrote:
> > Hello,
> >
> > Eclim was working relatively well for a while in embedded mode, but
> > started giving me hassles with it not finding gvim location. �It was
> > automatically opening all my files in vim mode when it wasn't always
> > that case.
> >
> > Since I didn't have time to debug all this today at work, I decided to
> > uninstall it for now. �Unfortunately it wiped out some (maybe every)
> > things. �My project settings are gone. Can't find workspaces. �Run
> > configs missing. �The eclipse.ini file looks like the most basic
> > config file ever. �I uninstalled it by:
> >
> > java -Dvim.skip=true -Declipse.home=/home/me/Tools/eclipse �-jar /home/
> > me/Tools/vi-eclim/eclim_2.2.4.jar uninstall
> >
> > My Eclipse version was Juno, in a non-standard locations...

--
eric

Kisuke

unread,
Feb 6, 2013, 7:46:40 AM2/6/13
to ecli...@googlegroups.com
Well that's not good :(
I know at least the eclipse.ini has been changed because the -Xmx has been changed to 512m and the timestamp on the file had been changed to the time I ran the uninstaller.  I had -Xmx set to 2500m or so.  We can't build or run our software on 512.
I had been updating Eclipse using the 'check for updates' way.  Maybe the updates and plugins are still there, but I don't know enough about Eclipse to make it access those things again.

2013/2/6 Eric Van Dewoestine <erva...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "eclim-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eclim-dev+...@googlegroups.com.
To post to this group, send email to ecli...@googlegroups.com.
Visit this group at http://groups.google.com/group/eclim-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



Eric Van Dewoestine

unread,
Feb 6, 2013, 10:35:21 AM2/6/13
to ecli...@googlegroups.com
On 2013-02-06 07:46:40, Kisuke wrote:
> Well that's not good :(
> I know at least the eclipse.ini has been changed because the -Xmx has been
> changed to 512m and the timestamp on the file had been changed to the time
> I ran the uninstaller. I had -Xmx set to 2500m or so. We can't build or
> run our software on 512.

I just ran a test by updating my eclipse.ini, changing the value, and
then running the eclim uninstaller, and my eclipse.ini was unchanged
by the uninstall process.

> I had been updating Eclipse using the 'check for updates' way. Maybe the
> updates and plugins are still there, but I don't know enough about Eclipse
> to make it access those things again.

So you've upgraded eclipse from 3.5.2 (or perhaps earlier) all the way
up to the current Juno release from eclipse's updater? I'm actually
surprised that they have that as a option between Indigo and Juno.
I'll make a note to myself to test an Indigo to Juno upgrade along
with an eclim uninstall. Although, if eclipse is doing something
funky, I'm not sure how much influence I can have over that short of
raising the issue with them, but I'll give it a go and see what I can
find.

--
eric
Reply all
Reply to author
Forward
0 new messages