This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 196901 - Hide NB metadata, build script, and build products from Eclipse
Summary: Hide NB metadata, build script, and build products from Eclipse
Status: NEW
Alias: None
Product: projects
Classification: Unclassified
Component: Eclipse project importer (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal with 1 vote (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 07:26 UTC by canay
Modified: 2012-06-14 17:06 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description canay 2011-03-21 07:26:35 UTC
I highly recommend to add resource filters for generated file and folders during importing process for eclipse projects.
It is important to work with both IDE's at the same time.

Here is a simple explanation.

Eclipse saves project settings to a xml file named ".project". If you append the foloowing code to this file during importing process:

	<filteredResources>
		<filter>
			<id>1300691000473</id>
			<name></name>
			<type>10</type>
			<matcher>
				<id>org.eclipse.ui.ide.multiFilter</id>
				<arguments>1.0-name-matches-false-false-nbbuild</arguments>
			</matcher>
		</filter>
		<filter>
			<id>1300691000484</id>
			<name></name>
			<type>10</type>
			<matcher>
				<id>org.eclipse.ui.ide.multiFilter</id>
				<arguments>1.0-name-matches-false-false-nbproject</arguments>
			</matcher>
		</filter>
		<filter>
			<id>1300691000520</id>
			<name></name>
			<type>6</type>
			<matcher>
				<id>org.eclipse.ui.ide.multiFilter</id>
				<arguments>1.0-name-matches-false-false-build.xml</arguments>
			</matcher>
		</filter>
		<filter>
			<id>1300691000532</id>
			<name></name>
			<type>10</type>
			<matcher>
				<id>org.eclipse.ui.ide.multiFilter</id>
				<arguments>1.0-name-matches-false-false-dist</arguments>
			</matcher>
		</filter>
	</filteredResources>


Eclipse doesn't show the the files generated by Netbeans to the Eclipse user. Which will be good because there is a possibilty which Eclipse user can remove or alter the files generated by Netbeans.

Regards