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 139217 - Adding source roots is not synchronized
Summary: Adding source roots is not synchronized
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Eclipse project importer (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@projects
URL:
Keywords:
: 140030 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-08 08:46 UTC by Maksim Khramov
Modified: 2016-07-07 08:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2008-07-08 08:46:53 UTC
Product Version: NetBeans IDE Dev (Build 200807040005)
Java: 1.6.0_07; Java HotSpot(TM) Client VM 10.0-b23

Adding source roots to Eclipse project is not synchronizing with Netbeans
Comment 1 David Konecny 2008-07-15 12:01:29 UTC
*** Issue 140030 has been marked as a duplicate of this issue. ***
Comment 2 asteiner_xlnt 2009-09-03 17:02:57 UTC
To help clarify this issue (if it needs clarification),
Whenever you add an Eclipse source folder, NetBeans does not notice the new source.
Whenever you rename or delete an Eclipse source folder, NetBeans notices that the original source folder is no longer
accessible, and hides it in the Projects Navigator.  That, however, I believe is normal NetBeans behavior, and outside
the scope of the Eclipse Project Importer. 

Comparing the data in Eclipse Project's .classpath file on every resynchronize to their NetBeans counterpart should
resolve this issue, however I don't know how you would account for folder renaming (or if for NetBeans' sake you need to).

To Replicate:
1) Create a new Eclipse Java Project.
2) Create a new source folder named "srcTwo".  There should now be 2 source folders: "src" and "srcTwo"
3) Import the project into NetBeans.
4) Go back to Eclipse, right-click "srcTwo", click Refactor, click Rename... Name it "srcThree".
5) In NetBeans, "srcTwo" will disappear, and "srcThree" will not show up.
6) Go back to Eclipse and rename "srcThree" back to "srcTwo".
5) In NetBeans, "srcTwo" will reappear.
Comment 3 Jesse Glick 2009-09-21 22:20:07 UTC
Not planning on working on noncritical Eclipse importer bugs for 6.8.
Comment 4 Martin Balin 2016-07-07 08:39:37 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss