How to a plugin install directory [message #153676] |
Thu, 06 November 2003 12:31  |
Eclipse User |
|
|
|
Originally posted by: lovoni6.hotmail.com
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01C3A494.31863560
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi everybody
I tried to get my plugin install directory with the following statment:
String =
dir=3DMyPlugin.GetDefault().getDescriptor().getInstallURL(). toExternalFor=
m();
But I do get a string like that: platform:/plugin/MyPluginDir
I want to have something like c:\eclipse\plugins\MyPluginDir instead of =
platform:/plugin/MyPluginDir.
Eclipse install directory is c:\eclipse
How can I do it?
Thanks!!
------=_NextPart_000_000C_01C3A494.31863560
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff background=3D"">
<DIV><FONT face=3DArial size=3D2>Hi everybody<BR><BR>I tried to get my =
plugin=20
install directory with the following statment:<BR> =
String=20
dir=3DMyPlugin.GetDefault().getDescriptor().getInstallURL(). toExternalFor=
m();</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>But I do get a string like that:=20
platform:/plugin/MyPluginDir</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I want to have something like =
<STRONG><FONT=20
color=3D#0000ff>c:\eclipse\plugins\</FONT></STRONG>MyPluginDir =
instead of=20
<STRONG>platform:/plugin</STRONG>/MyPluginDir.</FONT></DIV >
<DIV><FONT face=3DArial size=3D2>Eclipse install directory is=20
c:\eclipse</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>How can I do it?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_000C_01C3A494.31863560--
|
|
|
|
Powered by
FUDForum. Page generated in 0.03429 seconds