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 226605 - Auto sync issue
Summary: Auto sync issue
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-24 12:05 UTC by kaijia
Modified: 2013-05-17 00:05 UTC (History)
2 users (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 kaijia 2013-02-24 12:05:53 UTC
Sorry for my English.

I have a project on /home/myname/NetbeansProject/Project and it will local sync to /var/www/project, I modified the config.php file in /var/www/project (to make it connect to the database, I don't want to change /home/myname/NetbeansProject/Project/config.php because SVN is enabled). 

But NB 7.3 will auto sync all my PHP project at startup, and I have to reconfigure /var/www/project/config.php everytime after NB has started, so I think some options in the settings bar is needed to disable local sync at startup.
Comment 1 Proxter 2013-03-06 08:47:53 UTC
Same on Mac OS X.
It is related to the "copy files from source folder to another location"-feature.

The modified-timestamp of the copied files is not preserved, the new files are written with current timestamp.
Comment 2 Tomas Mysik 2013-03-06 10:21:20 UTC
Well, it is a local copying, not syncing. But we could add a checkbox for the initial copying.

Thanks.
Comment 3 Proxter 2013-03-06 10:45:27 UTC
Initial copying isn't the problem here. I think the problem is releated to the file-comparison. It is new in 7.3 that the written files have the current timestamp as "modified timestamp" - I think that could be the reason why this is happening at all.
Comment 4 Tomas Mysik 2013-03-06 10:51:39 UTC
(In reply to comment #3)
> Initial copying isn't the problem here.

It is, read the initial description. If you have another error, please report it as a separate issue.

Thanks.
Comment 5 Proxter 2013-03-06 11:03:43 UTC
You are right, sorry i thought it was the same.
Comment 6 Tomas Mysik 2013-05-13 08:59:25 UTC
Fixed, checkbox for copying files on project open added.

http://hg.netbeans.org/web-main/rev/048df7f8373c
Comment 7 Quality Engineering 2013-05-14 02:23:40 UTC
Integrated into 'main-golden', will be available in build *201305132300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/048df7f8373c
User: Tomas Mysik <tmysik@netbeans.org>
Log: #226605 - Auto sync issue

Checkbox for copying files on project open added.
Comment 8 Quality Engineering 2013-05-17 00:05:08 UTC
Integrated into 'releases', will be available in build *201305162200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/d1882e764669
User: Tomas Mysik <tmysik@netbeans.org>
Log: #226605 - Auto sync issue

Checkbox for copying files on project open added.
(transplanted from 048df7f8373c09d0863a2138c2fa30fcd7095e30)