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 259103 - When updating from Subversion, the new files are not visible in a project
Summary: When updating from Subversion, the new files are not visible in a project
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC All
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-02 23:44 UTC by ajeh
Modified: 2016-06-23 06:59 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 ajeh 2016-05-02 23:44:13 UTC
When Subversion contains the new files, updating does not add them to a project.
They have to be added manually after update is complete.
Essentially a project is not re-loaded and re-parsed after update.
Comment 1 Ondrej Vrabec 2016-05-03 08:58:42 UTC
> They have to be added manually after update is complete.
What do you mean? How do you manually add the files? What kind of NB project are you using? C++?
Comment 2 ajeh 2016-05-04 14:12:47 UTC
c++

adding like in "new existing item"
Comment 3 Ondrej Vrabec 2016-05-04 14:19:55 UTC
(In reply to ajeh from comment #2)
> c++
> 
> adding like in "new existing item"

Passing to the cnd team then. C++ projects should listen on their metadata file event changes and properly update its project UI respectively.
Comment 4 Alexander Simon 2016-05-04 15:40:33 UTC
If you create C/C++ source file in IDE, new source file is added in file system and in the project meta-data (configuratios.xml).
If you create file by hand, IDE does not know additional information about file.
So it is expected behavior if new source file is not added in project tree (project meta-data).
Possible scenarios:
1. Anybody create new source file by hand, commit it in VCS. You get new source file by VCS.
Result: file is not in project tree.
2. Anybody create new source file by IDE, commit file and project meta-data in VCS. You get new source file and project meta-data by VCS.
Result: IDE reloads meta-data and new file is in project tree.

Please reopen the issue if you mean another scenario.
Comment 5 ajeh 2016-05-08 13:42:25 UTC
None of that is true or relevant.

I explained, that when an update from SVN brings in the files committed by someone else (net new files) then they are not becoming a part of the project.

An update must reload the project, but until the project is closed and re-opened, those files are not visible in the tree.
Comment 6 Alexander Simon 2016-06-23 06:59:29 UTC
should be fixed when bug #250313 was fixed.
Please verify in development Netbeans version.