Bug 488956 - [wizard] resource filter for folders in parent project
Summary: [wizard] resource filter for folders in parent project
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.9.0   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-03 10:53 EST by Karsten Thoms CLA
Modified: 2017-02-09 07:11 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Thoms CLA 2016-03-03 10:53:49 EST
When Xtext creates a project with build integration, the parent project contains the build description and also the subprojects. This leads to duplicate resources in the project. For example, search for the .xtext file with Open Resource. The file will be found 3 times:
- In the runtime project
- In the source folder of the runtime project below the parent project
- In the classes folder of the runtime project below the parent project

A resource filter on the parent project could hide the subproject folders. The subprojects are available as separate projects in the workspace, so all files can be found, but only once.
Comment 1 Christian Dietrich CLA 2017-02-09 07:11:10 EST
could look like


	<filteredResources>
		<filter>
			<id>1486642220246</id>
			<name></name>
			<type>10</type>
			<matcher>
				<id>org.eclipse.ui.ide.multiFilter</id>
				<arguments>1.0-name-matches-true-true-org\.xtext\.example\.mydsl.*</arguments>
			</matcher>
		</filter>
	</filteredResources>