Re: [equinox-dev] performance problems with Eclipse startup due to long DirectoryWatcher.poll() (25 minutes!)

2009-01-09 Thread Jacek PospychaƂa
Thanks Pascal and Simon. What concerns me is that this slow operation happens in p2.reconciler.dropins Activator.start(), actually stopping the startup of whole Eclipse app. My other problem is that this is not the only case. There are other, not yet clear or documented enough that cause slow

Re: [equinox-dev] performance problems with Eclipse startup due to long DirectoryWatcher.poll() (25 minutes!)

2009-01-09 Thread Pascal Rapicault
This action has be happen in the startup thread because otherwise the bundles from the dropins folder will not be in your running instance... UM was doing the same except that it did not had to do the metadata generation. But it may be that most of p2 operations are currently slow for large

Re: [equinox-dev] Move the equinox incubator to RT

2009-01-09 Thread Martin Lippert
Hi! Just a question: If we don't move a particular project to the RT space, what happens to it? Can it still be accessed somewhere or will it be completely deleted? The background of my question: We are currently discussing which projects of the aspects incubator area to more to RT. There

Re: [equinox-dev] Move the equinox incubator to RT

2009-01-09 Thread Thomas Watson
All projects that we move to RT will actually be copied from their current location in CVS to their new location in the RT Equinox incubator. The old content will remain in the old repository. After all the projects have been copied to the new location we will tag the old incubator repository

Re: [equinox-dev] Integrating plugin bundles in normal Java

2009-01-09 Thread Tom Hsu
Hi experts, I have successfully my app A from another main POJO class like the following: public static void main(String[] args) { String[] launcherArgs = { "-configuration", "C:\\pathTto\\configuration", "-install", "C:\\pathToIntall",

Re: [equinox-dev] Integrating plugin bundles in normal Java

2009-01-09 Thread Andrew Niefer
That main method will end up calling System.exit unless you define a system property osgi.noShutdown. You should instead call org.eclipse.equinox.launcher.Main#run(String[]). (ie new Main().run(args) ). -Andrew Tom Hsu tom@oracle.com Sent by: equinox-dev-boun...@eclipse.org

Re: [equinox-dev] Integrating plugin bundles in normal Java

2009-01-09 Thread Tom Hsu
Hi experts, Thanks Andrew. adding a -noExit equivalent to my argument prevents my system doing an automatic System.exit(0) on its own. Thus my POJO main method running: org.eclipse.core.launcher.Main.main(launcherArgs); can have control after my App A has been run. However, now my problem is

Re: [equinox-dev] Integrating plugin bundles in normal Java

2009-01-09 Thread Tom Hsu
Hi experts, Thanks Andrew. adding a -noExit equivalent to my argument prevents my system doing an automatic System.exit(0) on its own. Thus my POJO main method running: org.eclipse.core.launcher.Main.main(launcherArgs); can have control after my App A has been run. However, now my problem is