Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to a plugin install directory
How to a plugin install directory [message #153676] Thu, 06 November 2003 12:31 Go to next message
Eclipse UserFriend
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>&nbsp;&nbsp;&nbsp; =
String=20
dir=3DMyPlugin.GetDefault().getDescriptor().getInstallURL(). toExternalFor=
m();</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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&nbsp; =
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>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>How can I do it?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_000C_01C3A494.31863560--
Re: How to a plugin install directory [message #153788 is a reply to message #153676] Thu, 06 November 2003 15:39 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.NO.SPAM.us.ibm.com

See:

http://eclipsewiki.swiki.net/114#platformurl

--
Thanks, Rich Kulp

Previous Topic:Spawning a new thread
Next Topic:Unable to start Tomcat 4.1.29 with Eclipse 2.1.2
Goto Forum:
  


Current Time: Wed May 07 00:43:11 EDT 2025

Powered by FUDForum. Page generated in 0.03429 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top