From 1062c88a081f2a3a2ef70c924dc6fbe298aca5fd Mon Sep 17 00:00:00 2001 From: Michael Keppler Date: Sat, 23 Sep 2023 11:55:42 +0200 Subject: [PATCH] infra: filter duplicated resources When importing all projects in Eclipse, the Maven modules are imported as standalone projects, but also appear as child folders of the root module. That in turn leads to always having each file appear twice when opening the resource selection dialog, running a file search etc. Mark the child folders in the root module project as derived, which will hide them in most file related operations afterwards. --- .derived | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.derived b/.derived index 514ac5d91..dd01565b8 100644 --- a/.derived +++ b/.derived @@ -1,6 +1,18 @@ # AutoDeriv plugin configuration. # To make this work, you need to install the plugin from https://nodj.github.io/AutoDeriv/ -# target folders of eclipse and maven +# target folders of Eclipse and Maven target bin + +# The nested Maven modules are all shown as folders of this project, leading to duplicate search results etc. +# Set them derived in this project only (doesn't have any effect on the Eclipse projects for the same Maven modules). +net.sf.eclipsecs.branding +net.sf.eclipsecs.checkstyle +net.sf.eclipsecs.core +net.sf.eclipsecs.doc +net.sf.eclipsecs.sample +net.sf.eclipsecs.target +net.sf.eclipsecs.ui +net.sf.eclipsecs-feature +net.sf.eclipsecs-updatesite