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

Provide resource filter that matches nested projects #55

Open
rherrmann opened this issue Mar 5, 2017 · 1 comment
Open

Provide resource filter that matches nested projects #55

rherrmann opened this issue Mar 5, 2017 · 1 comment

Comments

@rherrmann
Copy link
Owner

Nested projects filters are intended to assist with multi-module maven projects or similar project structures as described here: http://jmini.github.io/blog/2017/2017-01-27_ressource-filter.html

In this context, it would help to have a filter that matches nested projects already known to the workspace so that the parent projects shows only root files and folders with projects that are not yet known to the workspace.

rherrmann added a commit that referenced this issue Mar 5, 2017
See: #55 Provide resource filter that matches nested projects
@rherrmann
Copy link
Owner Author

Commit 510727a adds an experimental resource filter that matches nested projects. To use the filter, open the properties dialog of the parent project, go to the Resource > Resource Filters page and add a filter with these properties:

image

Known limitations:

  • projects nested more than one level (e.g. parent-project/child-project/grand-child-project) aren't fully recognized - the grand-child-project is filtered from the parent as soon as the child-project is known to the workspace even if the grand-child-project is not known to the workspace
  • if nested projects are added or removed from the workspace, the parent project needs to be refreshed manually.

If this change proves useful, 'unit' tests for NestedProjectFilter need be added to back the current end-to-end tests in NestedProjectFilterIntegrationPDETest.

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

No branches or pull requests

1 participant