Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Eclipse 4.7.0 (Oxygen) #1170

Merged
merged 6 commits into from Aug 29, 2017
Merged

Conversation

rkrzewski
Copy link
Collaborator

Please note that Oxygen introduced binary incompatible changes. If this PR is merged as is to master, new versions of Scala IDE plugins will no longer work on Eclipse Neon and lower. Please let me know if this OK, or platfom/oxygen should stay as a separate branch for another Eclipse release cycle, or do we need a workaround for single sourcing the IDE for Neon and Oxygen.

Eclipse 4.7M5 deprecated
IProjectDescription#setDynamicReferences(IProject[]) and introduced
dynamicReference parameter to org.eclipse.core.resources.builders
extension point

JDT internal implementation of IDynamicProjectReferences implementation
is reused here.
Earlier, `Resource.delete(boolean force, IProgressMonitor monitor)`
called `done()` on the provided monitor, but it no longer does. Hence,
the actual monitor needs to be passed to
`IWorkspace.run(IWorkspaceRunnable action, IProgressMonitor monitor)` in
order to be terminated properly. Previous implementation of
`SDTTestUtils.deleteProjects(projects: IScalaProject*)(implicit
progressMonitor: IProgressMonitor)` called
`IWorkspace.run(IWorkspaceRunnable action, IProgressMonitor monitor)`
with a fresh `NullProgressMonitor` and passed it's `progressMonitor` to
`IProject.delete(boolean: force, IProgressMonitor monitor) only.
Without this change expression evaluator tests crash with an OOM on
Eclipse Oxygen.
@benmccann
Copy link

Thank you for this!

@godenji
Copy link
Contributor

godenji commented Jul 18, 2017

What's the status here?

Scala 2.12.3 will soon be released, would be nice to get on the latest Scala and Eclipse releases -- that will give contributors a common base to work from moving forward.

I've got a PR in the works that integrates latest Scalariform release into Eclipse Neon, but would prefer to adapt changes to scala-ide master branch after this PR gets merged in (hopefully soon).

@nilskp
Copy link

nilskp commented Aug 9, 2017

Can we get an ETA?

@rkrzewski
Copy link
Collaborator Author

According to what @wpopielarski said on gitter yesterday, next release for Neon can be expected before end of August and then for Oxygen mid-September.

If you are interested in doing some pre-relase testing, follow Scala IDE on Eclipse Oxygen preview thread.

@kiritsuku
Copy link
Member

@wpopielarski I tested this on the latest master and everything works fine. Are you ready to update to Eclipse Oxygen? I'm going to merge this then and remove support for Neon.

@wpopielarski
Copy link
Member

I would merge zinc and your warnings fix change first and oxygen on it. just to be safe.

@rkrzewski
Copy link
Collaborator Author

@wpopielarski I'm not sure I understand. Should I rebase this branch on master once you merge #1177 and #1178? Just let me know.

@wpopielarski
Copy link
Member

wpopielarski commented Aug 28, 2017 via email

@rkrzewski
Copy link
Collaborator Author

All right, I'll do that.
It is working fine: I've been using it for a few months and about 20 people downloaded my unofficial build in August alone. Never heard any complaints ;)

@rkrzewski
Copy link
Collaborator Author

FYI, I've run the build on 3495767 with #1178 and #1170 merged in, all tests are passing and IDE works fine on my projects (up-to-date binaries are at https://storage.googleapis.com/scalaide_4_6_oxygen/site/).
I think we are good to go :)

@wpopielarski
Copy link
Member

wpopielarski commented Aug 29, 2017 via email

@kiritsuku kiritsuku merged commit 9e33ea4 into scala-ide:master Aug 29, 2017
@nilskp
Copy link

nilskp commented Aug 29, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants