Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » I20040226:
I20040226: [message #203042] Fri, 27 February 2004 10:20 Go to next message
Eclipse UserFriend
Platform.getInstanceLocation().toOSString() causes a compilation error in
I20040226 (undefined method) but works fine with M7.

Is this a known API change or a bug? How can I get the OS string now?

TIA
Re: I20040226: [message #204021 is a reply to message #203042] Mon, 01 March 2004 09:06 Go to previous message
Eclipse UserFriend
Originally posted by: jeff_mcaffer.REMOVE.ca.ibm.com

There was a message about this on eclipse-dev. getInstanceLocation() is a
new method for 3.0. It was recently changed to return a Location rather
than an IPath.

You can use getLocation() but eventually (after 3.0 as a minimum) this
method will be deprecated. All "locations" in the runtime are now Locations
and expressed in terms of URLs to give maximum flexibility.

Jeff

"Marcelo Paternostro" <marcelop@ca.ibm.com> wrote in message
news:c1nn0g$h0q$1@eclipse.org...
> Platform.getInstanceLocation().toOSString() causes a compilation error in
> I20040226 (undefined method) but works fine with M7.
>
> Is this a known API change or a bug? How can I get the OS string now?
>
> TIA
>
>
Previous Topic:Editors: Opening and Closing
Next Topic:question on hyperlink
Goto Forum:
  


Current Time: Tue Jul 22 08:36:17 EDT 2025

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

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

Back to the top