Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Starting multiple instances of eclipse with different workspaces

If you give an argument list as  the last parameter of the run method in
BootLoader, you should fix the problem:

new String[] {"-configuration", new File("...").toURL().toString()});

Olivier



                                                                                                                                     
                      Kai-Uwe_Maetzel@ot                                                                                             
                      i.com                      To:      eclipse-dev@xxxxxxxxxxx                                                    
                      Sent by:                   cc:                        BootLoader.startup(null, location, new String[] {"       
                      eclipse-dev-admin@         -configuration", new File(location + File.separator + "platform.cfg").toURL         
                      eclipse.org                ().toString()});                                                                    
                                                                                                                                     
                                                 Subject: [eclipse-dev] Starting multiple instances of eclipse with different        
                      02/05/2002 02:41           workspaces                                                                          
                      PM                                                                                                             
                      Please respond to                                                                                              
                      eclipse-dev                                                                                                    
                                                                                                                                     
                                                                                                                                     



What is the rational behind not allowing multiple running instances of
eclipse each with its own workspace?
Thanks, Kai

java.lang.reflect.InvocationTargetException: java.lang.RuntimeException:
Configuration file "D:\Eclipse\20020501\platform.cfg" is in use by another
instance of the platform,
or there was a failure in deleting the old lock file.  If no other platform
instances are running,
delete file "D:\Eclipse\20020501\platform.cfg.lock" and try starting the
platform again.
        at
org.eclipse.core.internal.boot.PlatformConfiguration.getConfigurationLock(PlatformConfiguration.java:1359)

        at
org.eclipse.core.internal.boot.PlatformConfiguration.initializeCurrent(PlatformConfiguration.java:1298)

        at
org.eclipse.core.internal.boot.PlatformConfiguration.<init>(PlatformConfiguration.java:801)

        at
org.eclipse.core.internal.boot.PlatformConfiguration.startup(PlatformConfiguration.java:1240)

        at
org.eclipse.core.internal.boot.InternalBootLoader.initialize(InternalBootLoader.java:502)

        at
org.eclipse.core.internal.boot.InternalBootLoader.startup(InternalBootLoader.java:841)

        at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:723)

        at org.eclipse.core.boot.BootLoader.run(BootLoader.java:349)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:162)
        at org.eclipse.core.launcher.Main.run(Main.java:588)
        at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)

_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev






Back to the top