[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipse-dev] Eclipse creates runtime-workspace in common area
|
The default run-time workspace location works the same way as the default
workspace - it is set to the product install tree, which is obviously wrong
for shared/read-only installs.
To run in those configurations, specify an alternative location for the
run-time workspace using the provided entry in the launch configuration
dialog.
Regards,
Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745 T/L 969-2745
Fax. 905 413-4854
Andrew Haley
<aph@xxxxxxxxxx> To: eclipse-dev@xxxxxxxxxxx
Sent by: cc:
eclipse-dev-admin@ Subject: [eclipse-dev] Eclipse creates runtime-workspace in common area
eclipse.org
10/09/2002 09:51
AM
Please respond to
eclipse-dev
I've come across a problem with Eclipse trying to create a directory
under its install dir.
When you have a plug-in project and select Run > Run As > Run-time
workbench, a directory called runtime-workspace is created beneath the
directory where Eclipse itself is installed. Clearly, this cannot
work on a multi-user system where that directory is shared between
users, but I'm not sure where the runtime-workspace directory should
go.
I would have expected any scratch area that Eclipse creates must be
below the data area specified by "-data". This patch puts the
runtime-workspace there.
Andrew.
Index: BasicLauncherTab.java
===================================================================
RCS file:
/usr/cygnus/eclipse-cvsroot/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/BasicLauncherTab.java,v
retrieving revision 1.3
diff -c -2 -p -r1.3 BasicLauncherTab.java
*** BasicLauncherTab.java 30 Sep 2002 14:56:52 -0000
1.3
--- BasicLauncherTab.java 9 Oct 2002 13:46:14 -0000
*************** public class BasicLauncherTab
*** 218,226 ****
static String getDefaultWorkspace() {
ExternalModelManager.initializePlatformPath();
! IPath ppath =
! new Path(
! PDECore.getDefault
().getPluginPreferences().getString(
!
ICoreConstants.PLATFORM_PATH));
! IPath runtimeWorkspace =
ppath.append(RT_WORKSPACE);
return runtimeWorkspace.toOSString();
}
--- 218,222 ----
static String getDefaultWorkspace() {
ExternalModelManager.initializePlatformPath();
! IPath runtimeWorkspace = Platform.getLocation
().append(RT_WORKSPACE);
return runtimeWorkspace.toOSString();
}
_______________________________________________
eclipse-dev mailing list
eclipse-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/eclipse-dev