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
8292678 Openjfx: all projects to use JUnit5 (Eclipse) #883
8292678 Openjfx: all projects to use JUnit5 (Eclipse) #883
Conversation
👋 Welcome back angorya! A progress list of the required criteria for merging this PR into |
@kleopatra or @nlisker - please review if you can. thanks! |
I don't see why the base project needs a |
'base' project does contain shims, other sources, generated sources. I think we should keep it. |
Not the |
I don't know, the file was created in 2013 by a certain Kevin Rushforth for RT-30490. Who am I to criticize the wisdom of the elders? Besides, this question is beyond the scope of this PR. |
It was actually added a couple years earlier, by this commit:
I do agree that removing it would best be done in a follow-up. |
Please submit an issue for removing the root project's classpath file. The 2 future changes to the Eclipse files should be fixing the apps and tests sub-projects. |
@andy-goryachev-oracle This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 8 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@nlisker) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
I wouldn't do it - it is convenient for git operations via context menu and also gives access to other non-java parts (doc-files for instance). But the main issue is that it is has a org.eclipse.buildship.core.gradleprojectnature, and gradle support in eclipse is brittle at best. |
/integrate |
@andy-goryachev-oracle |
/sponsor |
Going to push as commit eb8f2fe.
Your commit was automatically rebased without conflicts. |
@nlisker @andy-goryachev-oracle Pushed as commit eb8f2fe. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
How is the classpath file related to the git context menu? I just retested it and there's no difference. doc-files are also unaffected. Try to delete that file and tell me where you see the difference. |
you are right, sorry, I was talking about .project file. we can do it as part of JDK-8221708 - the main issue (and reluctance to mess with it) is that it might affect the initial 'import as a gradle project', and associated testing. is there a specific problem caused by the presence of this .classpath file? |
I removed it and didn't have any issue with this. The classpath file is not used when importing a project, just when it's configured, and in this case there is nothing to configure since this project has no dependencies on the classpath or modulepath.
It could be confusing for a non-Java project to have files associated with a Java project. Also, we want to minimize the amount of unneeded files (if Gradle knew how to generate these itself we wouldn't need to check them in). Since we are doing a cleanup, it is the right place to do it. |
created JDK-8293185 for removal of the root .classpath |
This change affects eclipse projects only - all eclipse projects are configured to use JUnit5.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/883/head:pull/883
$ git checkout pull/883
Update a local copy of the PR:
$ git checkout pull/883
$ git pull https://git.openjdk.org/jfx pull/883/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 883
View PR using the GUI difftool:
$ git pr show -t 883
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/883.diff