[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-releng-dev] [eclipse-build]Build N20040220 (Timestamp: 200402200010):Compile errors in build
|
My apologies for this confusion. There
has been some miscommunication and I failed to check as widely as I should
have when doing that change.
The change was to API that is brand
new and was never really advertised. Previously this function was
provided by Platform.getLocation(). The introduction of getInstanceLocation
was a precursor to the changes that you saw last night. Unfortunatly,
getLocation() was erroneously marked as @deprecated and people were pointed
to getInstanceLocation().
The model going forward is that Eclipse
may be run in many different physical configurations. The user, instance
and configuration areas may be cascaded (layered) and at arbitrary URLs.
The new Location type reflects these realities. In practice,
for IDE scenarios in the near/medium term, people can assume that the instance
location (aka workspace) is on the filesystem and that the URL returned
from getInstanceLocation().getURL() is in fact a file: URL.
So, if you are comfortable with your
plugin only working on filesystem based workspaces (again, most IDE related
plugins should be), you can use Platform.getLocation(). This is old
API that we will need to retain for some time (I have removed the @deprecated
tag).
Jeff
Markus Keller <markus_keller@xxxxxxxxxx>
Sent by: platform-releng-dev-admin@xxxxxxxxxxx
02/20/2004 04:00 AM
Please respond to
platform-releng-dev |
|
To
| platform-releng-dev@xxxxxxxxxxx
|
cc
|
|
Subject
| Re: [platform-releng-dev]
[eclipse-build]Build N20040220 (Timestamp: 200402200010):Compile
errors in build |
|
The compilation errors are due to a breaking API change
in
org.eclipse.core.runtime.Platform:
Platform.getInstanceLocation() used to return an IPath, but now returns
a
org.eclipse.osgi.service.datalocation.Location, which apparently doesn't
implement IPath.
Could core.runtime owners please tell us whether this change will persist
and if yes, how client code should be adapted?
Thanks,
Markus
eclipse-releng@xxxxxxxxxxx
Sent by: platform-releng-dev-admin@xxxxxxxxxxx
2004-02-20 06:51
Please respond to
platform-releng-dev@xxxxxxxxxxx
To
platform-releng-dev@xxxxxxxxxxx
cc
Subject
[platform-releng-dev] [eclipse-build]Build N20040220 (Timestamp:
200402200010):Compile errors in build
Build N20040220 (Timestamp: 200402200010): Compile errors in build.
See
attached compile logs.
Attachment:
/builds/N/src/N-N20040220-200402200010/compilelogs/plugins/org.eclipse.help.base_3.0.0/helpbase.jar.bin.log
Description: Binary data
Attachment:
/builds/N/src/N-N20040220-200402200010/compilelogs/plugins/org.eclipse.jdt.ui_3.0.0/jdt.jar.bin.log
Description: Binary data
Attachment:
/builds/N/src/N-N20040220-200402200010/compilelogs/plugins/org.eclipse.pde.core_3.0.0/pdecore.jar.bin.log
Description: Binary data