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 201535 - Copy files from Sources Folder to another location
Summary: Copy files from Sources Folder to another location
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1.2
Hardware: PC Windows 7 x64
: P3 normal with 1 vote (vote)
Assignee: Tomas Mysik
: 253334 (view as bug list)
Depends on:
Reported: 2011-09-02 04:51 UTC by xwisdom
Modified: 2015-07-10 13:48 UTC (History)
3 users (show)

See Also:
Exception Reporter:

IDE Log connected to bug 201535 (41.86 KB, text/plain)
2014-08-03 20:38 UTC, cfoellmann

Note You need to log in before you can comment on or make changes to this bug.
Description xwisdom 2011-09-02 04:51:46 UTC
I would like to recommend a feature that we can use to manually trigger the "Copy  files from Source folder to another location". The current "Scan for External Changes" option doesn't always copy new or externally modified files.
Comment 1 CheeseSucker 2011-12-05 11:32:56 UTC
I have problems with this feature too.

I have this setup so that files are copied to the web root. This works great most of the time. However, sometimes after pulling other sources using TortoiseGit, the external directory is not updated. This causes obscure bugs until we figure out the files aren't synchronized anymore.

We currently work around this by deleting the external folder, and then reenabling the "copy sources" feature. This triggers a synchronization, but is very inconvenient.

I suppose this warrants a bug report also.
Comment 2 Ondrej Brejla 2012-04-24 15:16:47 UTC
Isn't that a project part?
Comment 3 e_web_le 2012-07-19 11:35:20 UTC
i had trouble too,
i'm working with a seperat Project Folder & git. It worked fine but suddenly after checking out files of a branch the window project folder & file folder were empty & no folder structure were displayed.
After closing & restarting netbeans folder structure are displayed again, but after checkout other branches i realized that the files aren't synchronized  anymore on my localhost. i did the workaround of CheeseSucker & it's working again. Can't excactly define why it suddenly happen & it was not the first time it happen!
Comment 4 Deldadam 2013-03-19 19:22:51 UTC
One vote from me too. I've came to the the same conclusion exactly. Do the auto "scan", but add an option/button that can be clicked to force copying source files  if we need it.

My headache is if I'm working on PHP/web projects, where e.g. image files are also included in the source folder. Currently you need to use external apps to edit/change these images, and sometimes happens, - even if NB is running - that the currently applied changes in the image file in the source folder is not recognized by NB, and the new (edited) image file is not copied over to the "Copy to Folder", leaving there an unchanged (and outdated) copy of the original image.

Comment 5 cfoellmann 2014-08-03 20:38:33 UTC
Created attachment 148502 [details]
IDE Log connected to bug 201535
Comment 6 cfoellmann 2014-08-03 20:44:40 UTC
I use the "Copy files from Sources Folder to another location" to clone my project files (tracked in Git) into a subfolder of an application (WordPress) that is tracked in Git itself.

Normally it works but "sometimes" is breaks (SEE
Workaround to get it to work:
I need to rename the '.git' folder (deactivate git for the destination) of the application "above" the destination of the copy process
Comment 7 Antonin Nebuzelsky 2015-07-10 13:48:51 UTC
*** Bug 253334 has been marked as a duplicate of this bug. ***