Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-core-dev] Platform.getInstallLocation()'s contract

Below is the javadoc for Platform#getInstallLocation():

"Returns the location of the base installation for the running platform
null is returned if the platform is running without a configuration
location.
(...)
Returns: the location of the platform's installation area or null if none"

By looking at:

http://help.eclipse.org/help30/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html

it seems the install area is the parent of startup.jar. But the javadoc
relates it to the configuration location (likely just a cut & paste error).
Also, it suggests it may be null. Should that (no install location)
actually be possible? What about non-file install URLs, do we support that?

Rafael



Back to the top