Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-update-dev] feature.xml


Don't know if you can solve that problem. I don't know the plugin but from the scenario you indicate it looks like the configuration file being saved as is user data. Its probably stored in the workspace. If you're user has multiple workspaces you probably won't be able to change it in each one.  

It also depends on if you are using 3.0 or 2.1 and whether the checkstyle plugins is using the new preference store in the config/user area  or the ones in the workspace.

If eclipse 2.1 you may be able to use an installHandler's completeConfigure methods to check the first time  an old workspace is opened with the new features there may be a reconcile called and the feature may get configured at that time.

Basically you'll have to understand how the plugin stores its configuration information and then understand all the scenario's where you need to change it and if in fact you can change it.

Its not a simple problem with a simple answer.  You may be better off just providing a welcome page or some other method that tells the user they need to change the configuration manually.

Thanks,

-----------------------------------
Peter Manahan
IBM Rational Tools
Common Install
------------------------------------
manahan@xxxxxxxxxx



Caio Filipini <caio_neo@xxxxxxxxxxxx>
Sent by: platform-update-dev-admin@xxxxxxxxxxx

16/04/2004 08:44 PM

Please respond to
platform-update-dev

To
platform-update-dev@xxxxxxxxxxx
cc
Subject
Re: [platform-update-dev] feature.xml





Ok, let me explain the whole thing better.

I am creating and update site, where I'll publish the
features for all plugins we use in our company.
They're third party plugins (more especifically,
Checkstyle Plugin). I've changed the plugin's default
configuration to fit our needs, so noone would have to
configure all its rules after installation.

The problem is: when no other version of the plugin is
already installed, it works fine. But, when an older
version is installed, Update Manager updates the
plugin, but it keeps working with the old
configuration. :(

Is there a way to tell Update Manager that it should
use the new config file? Or to replace the old one?

Thanks for your help and attention.

--
Caio N. Filipini


--- Dorian Birsan <birsan@xxxxxxxxxx> wrote: > What
do you mean? Installing it on top of the old
> feature/plugin ? For
> that, the answer is no.
> Howver, you can create your own custom install
> handler to do anything you
> want, including overwriting the old feature/plugin,
> but then you're on
> your own, you may corrupt the installation.
>
> -Dorian
>
>
>
>
> Caio Filipini <caio_neo@xxxxxxxxxxxx>
> Sent by: platform-update-dev-admin@xxxxxxxxxxx
> 04/16/2004 03:45 PM
> Please respond to
> platform-update-dev
>
>
> To
> platform-update-dev@xxxxxxxxxxx
> cc
>
> Subject
> [platform-update-dev] feature.xml
>
>
>
>
>
>
> Hello there!
>
> Is there a way of specifying in the feature.xml
> descriptor (or plugin.xml) that an update should
> overwrite the old version's configurations?
>
> Thanks a lot!
> --
> Caio N. Filipini
>
>
______________________________________________________________________
>
> Yahoo! Messenger - Fale com seus amigos online.
> Instale agora!
> http://br.download.yahoo.com/messenger/
> _______________________________________________
> platform-update-dev mailing list
> platform-update-dev@xxxxxxxxxxx
>
http://dev.eclipse.org/mailman/listinfo/platform-update-dev
>
>  

______________________________________________________________________

Yahoo! GeoCities: a maneira mais fácil de criar seu web site grátis!
http://br.geocities.yahoo.com/
_______________________________________________
platform-update-dev mailing list
platform-update-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-update-dev


Back to the top