Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[corona-dev] [159697] Configuration item for CORONA_CONFIG_HOME.

Hi All,

           

            I’ve implemented a new preference page for corona, where you can change/set CORONA_CONFIG_HOME directory,

            Following plugins were changed.

·         corona

·         corona.container.config

·         corona.container.manager

·         corona.container.project.ui

 

 

            Currently, information about corona configuration directory is retrieved in following way.

           

                        a)   Check for CORONA_CONFIG_HOME property if it’s set,

b)       Check for CORONA_CONFIG_HOME environment variable if it’s set.

c)       Check for CORONA_CONFIG_HOME variable in corona.container.config plugin preference store.

 

I’ve also created a NullObjectConfiguration objects which provide dummy configuration, if CORONA_CONFIG_HOME is not set.

 

If you’d like to test this functionality, please notice the bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=159849, as this functionality depends on it.

 

In short:

Sometimes refreshment of PCX view does not work properly, the reason is that refresh operation might work on second instance of PCX view.

Second instance is created when you close eclipse with PCX view active, and reopen it again. Than it seams that two separate PCX view instances are created, (just place a breakpoint in ProjectContainerExplorerView#createPartControl(Composite parent) method and open corona,). If on perspective bar, two java perspectives are visible, you can be sure that there are separate PCX view instances.

 

Actually it’s quite easy to test it without above bug. All you have to do is to close PCX view and than close eclipse instance, when you reopen the eclipse no PCX view will be restored but you can open it manually. (Or you can just start corona with a clean workspace).

 

Piotr,

 

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.

Back to the top