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 166672 - Copy support failed - Not all files are being copied to webroot
Summary: Copy support failed - Not all files are being copied to webroot
Status: RESOLVED DUPLICATE of bug 172139
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows 7 x64
: P3 blocker with 2 votes (vote)
Assignee: Tomas Mysik
URL:
Keywords: RANDOM, USABILITY
Depends on:
Blocks:
 
Reported: 2009-06-06 19:22 UTC by stevebor1
Modified: 2009-09-14 09:54 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 stevebor1 2009-06-06 19:22:22 UTC
Netbeans 6.7 fails to copy all files on startup and debug

Using:
xampp 1.7.1 with webroot located at C:\xampp\htdocs
Netbeans project folder C:\Users\Steve\Documents\NetBeansProjects\MyDomain
Copy files from Source Folder to another location - Checked
Copy to folder: C:\xampp\htdocs\MyDomain

Steps.
Start xampp (apache & mysql)
Verify localhost page in browser
Remove any "MyDomain" from htdocs folder
Start Netbeans
*Copy support failed. Continue?* messege appears.
View htdocs folder for copied files.

MyDomain is created and files copied except files located in 'images', 'mobile' and 'templates' folder.
Comment 1 stevebor1 2009-06-06 19:37:26 UTC
I also launched Netbeans with elevated privileges (run as Administrator) with same issue
Comment 2 Jiri Prox 2009-06-08 13:56:38 UTC
What type of project do you use?
Comment 3 Jiri Prox 2009-06-08 17:05:27 UTC
From reporter's mail:
I am using php. 
I also tried same setup on another machine a notice the same copy issue, however the files that failed to copy were not
consistent with the first machine.
Comment 4 Filip Zamboj 2009-06-22 16:51:47 UTC
not reproducible on 
Product Version: NetBeans IDE 6.7 (Build 200906212001)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02

maybe fixed by fix already committed in http://www.netbeans.org/issues/show_bug.cgi?id=164795 to build 200905190201.
reporter, what exact version of netbeans do you have? Thanks 
Comment 5 stevebor1 2009-06-24 06:32:51 UTC
This  was in version 6.5 rc2 PHP bundle.
I will check against the resolution provided and also test in RC3.

This issue my be the same as specified in your previous post, although it IS still happening in RC2.
Comment 6 stevebor1 2009-06-30 07:14:05 UTC
I have just uninstalled RC3 and installed 6.7 final today. 
I am still having a problem with not all my files in my source folder being copied over to 'another folder'.

So, yes this is still happening :)

 
Comment 7 stalinbeltran2006 2009-07-22 17:49:35 UTC
I have same problem running PHP on Netbeans 6.7 (Windows XP Service Pack 3)
Every was working fine, but suddenly, files does't update on web folder (located in the same PC of the project)
This happend with 6.7 beta too, so I download and install final release 6.7, with results mentioned above.
Comment 8 pasmaill 2009-08-09 17:24:32 UTC
Hi
I'm having the same issue as stevebor1.

Using:
Product Version: NetBeans IDE Dev (Build 200908022240)
Java: 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02
System: Windows 7 version 6.1 running on x86; Cp1252; en_ZA (nb)
Project Type: PHP

xampp 1.7.1 with webroot located at C:\xampp\htdocs
Netbeans project folder C:\Users\pasmaill\Documents\NetBeansProjects\MyProject
Copy files from Source Folder to another location - Checked
Copy to folder: C:\xampp\htdocs\MyProject

Steps:
Start xampp (apache & mysql)
Verify localhost page in browser
Remove any "Myproject" from htdocs folder
Start Netbeans
"Copy support failed. Continue?" message appears. (Clicking on "Yes" or "No" does not seem to do anything at all)
View htdocs folder for copied files.

MyProject folder is created. The files in MyProject are copied and the folders are created but the contents of these
folders are not copied, ie only one level of files and folders are copied. It copies perfectly if the file is edited and
then saved.

I also tried it on NetBeans 6.7.1 (Build 200907230233) and it does the exact same thing except it does not display the
"Copy support failed. Continue?" message at startup.

Also this seems to be only an issue with my old projects (Created in NetBeans 6.7). If I create a new project then the
above steps aren't an issue. But the following steps do create a very similar issue:

Create a new project
Name: PhpProject2
Sources Folder: C:\Users\pasmaill\Documents\NetBeansProjects\PhpProject2
Check "Copy files from Sources Folder to another location"
Copy to folder: C:\xampp\htdocs\PhpProject2
Create project.
The source files are copied to C:\xampp\htdocs\PhpProject2 when the project is created
Then delete the C:\xampp\htdocs\PhpProject2 folder.
Open PhpProject2 project properties
Uncheck and then recheck "Copy files from Sources Folder to another location"
Click ok
"Copy support failed. Continue?" message appears.
View htdocs folder for copied files.

With these steps no files or folders are copied at all.

Sometimes the steps involving the properties window doesn't display the "Copy support failed. Continue?" message, then
try this:
Open PhpProject2 project properties
Uncheck "Copy files from Sources Folder to another location""
Click ok
Reopen PhpProject2 project properties
Recheck "Copy files from Sources Folder to another location""
Click ok

From the steps involving the new project I have a feeling that this is not an issue with copying files but rather
something to do with copying files when they are not being saved??

Hope this helps,
Peter
Comment 9 mvdkleijn 2009-08-11 21:00:21 UTC
I can confirm this issue shows up with an up-to-date NetBeans 6.7 running on Ubuntu 9.04.

Since the problem seems to appear quite randomly, I added the RANDOM keyword. I have not been able to reproduce this
issue reliably. I have not had the problem with NetBeans 6.5 however.

Should this issue be upgraded to P2?
Comment 10 Tomas Mysik 2009-09-14 09:54:12 UTC
Have a look at issue #172139 for more information. Thanks.


*** This issue has been marked as a duplicate of 172139 ***