I'm pissed - Lost application/project settings

Sorry, gotta vent a bit...

Why can't IDEA keep plugin-settings if the plugin is currently not loaded for some reason?
This has just caused me some major effort for restoring a project that uses JBoss as its
application server. It all started with updating the JBoss plugin to the latest version
some days ago. Something must have gone wrong though because today, when I opened this
project, all references to J2EE classes were marked in red. It turned out that the JBoss
plugin was gone. With it, all my JBoss app-server configurations (in IDE settings) are
gone, all web/app/ejb modules (about 15) lost their app-server and the best of all, my
JBoss run-configs vanished as well.

The app-server configs were more or less easy to re-create, the module .iml files could be
restored from CVS (I had to do this twice though. The first time I did it from within
IDEA, just to realize that the files are simply overwritten when the project is closed).
And of course, the .iws workspace file that contained all the run-configurations was not
under CVS. Even worse, there's no Local History for the file as well. The only way was to
get it from a rather old backup...

Please don't let IDEA throw any settings away just because the plugin that provides them
is currently unavailable. That's just not funny.

Rant over.

Sascha

5 comments

I'm pretty sure I've removed plugins before and re-installed them later with
setting still there. Are your sure it's not the JBoss plugin's fault?

"Sascha Weinreuter" <sascha.weinreuter@NOSPAM-cit.de> wrote in message
news:dkftmk$fub$1@is.intellij.net...

Sorry, gotta vent a bit...

>

Why can't IDEA keep plugin-settings if the plugin is currently not loaded
for some reason? This has just caused me some major effort for restoring a
project that uses JBoss as its application server. It all started with
updating the JBoss plugin to the latest version some days ago. Something
must have gone wrong though because today, when I opened this project, all
references to J2EE classes were marked in red. It turned out that the
JBoss plugin was gone. With it, all my JBoss app-server configurations (in
IDE settings) are gone, all web/app/ejb modules (about 15) lost their
app-server and the best of all, my JBoss run-configs vanished as well.

>

The app-server configs were more or less easy to re-create, the module
.iml files could be restored from CVS (I had to do this twice though. The
first time I did it from within IDEA, just to realize that the files are
simply overwritten when the project is closed). And of course, the .iws
workspace file that contained all the run-configurations was not under
CVS. Even worse, there's no Local History for the file as well. The only
way was to get it from a rather old backup...

>

Please don't let IDEA throw any settings away just because the plugin that
provides them is currently unavailable. That's just not funny.

>

Rant over.

>

Sascha



0

Brad wrote:

I'm pretty sure I've removed plugins before and re-installed them later with
setting still there. Are your sure it's not the JBoss plugin's fault?


Yes, and it wasn't the first time. But there may be a difference between 'regular' plugin
settings and the settings that are related to a J2EE App-Server integration. The latter
are just gone in the moment you start IDEA/load a project without the responsible plugin
being present.

Sascha

0

Sorry guys, but there's absolutely nothing I can do from within the plugin. The whole settings handling is completely under IDEA's control - I'm just adding some parameters here and there.

0

Martin Fuhrer wrote:

Sorry guys, but there's absolutely nothing I can do from within the plugin. The whole settings handling is completely under IDEA's control - I'm just adding some parameters here and there.


I know - don't worry ;)

Sascha

0

This also bugged me quite a few times, mainly with the JBoss plugin but
I think it happened with something else too, also appserver-related,
just can't remember... this "lost appserver settings" are really a pain
in the a**... please "fix" this!

Messi

Sascha Weinreuter wrote:

Sorry, gotta vent a bit...

Why can't IDEA keep plugin-settings if the plugin is currently not
loaded for some reason? This has just caused me some major effort for
restoring a project that uses JBoss as its application server. It all
started with updating the JBoss plugin to the latest version some days
ago. Something must have gone wrong though because today, when I opened
this project, all references to J2EE classes were marked in red. It
turned out that the JBoss plugin was gone. With it, all my JBoss
app-server configurations (in IDE settings) are gone, all web/app/ejb
modules (about 15) lost their app-server and the best of all, my JBoss
run-configs vanished as well.

The app-server configs were more or less easy to re-create, the module
.iml files could be restored from CVS (I had to do this twice though.
The first time I did it from within IDEA, just to realize that the files
are simply overwritten when the project is closed). And of course, the
.iws workspace file that contained all the run-configurations was not
under CVS. Even worse, there's no Local History for the file as well.
The only way was to get it from a rather old backup...

Please don't let IDEA throw any settings away just because the plugin
that provides them is currently unavailable. That's just not funny.

Rant over.

Sascha

0

Please sign in to leave a comment.