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 230990 - Copy files from Sources Folder to another location is not working
Summary: Copy files from Sources Folder to another location is not working
Status: RESOLVED DUPLICATE of bug 230432
Alias: None
Product: php
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-09 17:41 UTC by neha.goel
Modified: 2013-06-12 08:17 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows "Copy Files from source to another location" is On (463.73 KB, image/jpeg)
2013-06-10 17:30 UTC, neha.goel
Details
Another location is empty (201.99 KB, image/jpeg)
2013-06-10 17:31 UTC, neha.goel
Details
IDE Log (51.88 KB, text/plain)
2013-06-11 16:05 UTC, neha.goel
Details
IDE log with more logging (33.61 KB, text/x-log)
2013-06-12 07:19 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description neha.goel 2013-06-09 17:41:46 UTC
[ BUILD # : 201306072301 ]
[ JDK VERSION : 1.7.0_21 ]

Test Specification: TS_72_PHP_Sanity
[http://wiki.netbeans.org/TS_73_PHP_Sanity#Test_suite:_Create_a_new_Php_Project]


Steps to reproduce bug:
------------------------------------
1. In the Projects window, choose File > New Project.
2. In the Categories list, select PHP, in the Projects area, choose PHP 
3. Application to create an empty project and click Next.
4. Accept default values for the rest fields, press Next button.
5.Set checkbox 'Copy files from Sources Folder to another location' on. Set
checkbox 'Copy files on project open' on. Press Browse button and select path
for copying. Press Finish button.


Bug Found:
-----------------
Not copying any files to destination folder.


---------------------------------------------------
My Environment

Product Version: NetBeans IDE Dev (Build 201306072301)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Windows 7 version 6.1 running on amd64; Cp1252; en_IN (nb)
User directory: C:\Users\Home\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Home\AppData\Local\NetBeans\Cache\dev
Comment 1 mmolda 2013-06-10 11:28:40 UTC
I tried latest build and it is reproducible.

Product Version: NetBeans IDE Dev (Build 201306100004)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b14
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 2 Tomas Mysik 2013-06-10 12:25:53 UTC
I cannot reproduce it, it works for me as expected but I am on Linux. You are perhaps facing issue #230854.

Please, reopen this issue and attach your IDE log so I can verify it.

Thanks.

Product Version: NetBeans IDE Dev (Build 20130610-cc611c642aa2)
Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.8.0-23-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 3 neha.goel 2013-06-10 17:30:48 UTC
Created attachment 135600 [details]
Shows "Copy Files from source to another location" is On
Comment 4 neha.goel 2013-06-10 17:31:58 UTC
Created attachment 135601 [details]
Another location is empty
Comment 5 neha.goel 2013-06-10 17:32:51 UTC
Attachment 1 [details] shows that I created a new project with "Copy Files from source to another location" On.

Attachment 2 [details] shows there is not a a single file in copied location. And this is what I think is a bug. It should copy some files.

 
IDE Log
-------------------------

INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 42 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\xampp\htdocs\PhpProject23 took: 639 ms (New or modified files: 4, Deleted files: 0) [Adding listeners took: 6 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Users\Home\Documents\NetBeansProjects\JavaApplication2\test took: 7 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 2 source roots took: 646 ms (New or modified files: 4, Deleted files: 0) [Adding listeners took: 6 ms]
INFO [org.netbeans.modules.parsing.impl.TaskProcessor]: Task: class org.netbeans.modules.csl.navigation.BreadCrumbsTask ignored cancel for 185 ms.
INFO [org.netbeans.modules.mercurial]: version: null
INFO [org.netbeans.modules.subversion]: Finished indexing svn cache with 0 entries. Elapsed time: 1 ms.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
WARNING [org.netbeans.modules.java.source.indexing.JavaIndex]: Ignoring root with no ClassPath: C:\xampp\htdocs\PhpProject23
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 3 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Users\Home\Documents\NetBeansProjects\JavaApplication2\test took: 7 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 1 source roots took: 7 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Resolving dependencies took: 58 ms
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 0 binary roots took: 0 ms
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.extbrowser]: Cannot detect Mozilla : org.netbeans.modules.extbrowser.NbBrowserException: RegOpenKeyEx() failed for SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\MOZILLA.exe.
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\xampp\htdocs\PhpProject23 took: 231 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 1 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Indexing of: C:\Users\Home\Documents\NetBeansProjects\JavaApplication2\test took: 4 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 0 ms]
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 2 source roots took: 235 ms (New or modified files: 0, Deleted files: 0) [Adding listeners took: 1 ms]
Comment 6 Tomas Mysik 2013-06-11 07:25:47 UTC
Please, attach the _whole_ IDE log so I can have a look at it - anyone who can reproduce this issue.

Thanks.
Comment 7 neha.goel 2013-06-11 16:05:39 UTC
Created attachment 135646 [details]
IDE Log
Comment 8 Tomas Mysik 2013-06-12 04:53:49 UTC
Thanks for the log. It seems that it is not a duplicate of issue #230854. Could you please start your NetBeans from command line with this parameter:

-J-Dorg.netbeans.modules.php.project.copysupport.level=FINE

then reproduce your issue and attach your IDE log again. Or, if it is possible to attach your project or create a sample project with this problem, please do so. Meanwhile I will try it on Windows.

Thanks a lot for your cooperation.
Comment 9 Tomas Mysik 2013-06-12 06:12:33 UTC
@vriha: Láďo, please try it on Windows. Thanks a lot.
Comment 10 Vladimir Riha 2013-06-12 07:19:19 UTC
Created attachment 135665 [details]
IDE log with more logging
Comment 11 Vladimir Riha 2013-06-12 07:20:15 UTC
Here is the log after project creation. It seems that Copy sources is not working at all, I modified source file, restarted IDE and still no files were copied to target directory
Comment 12 Tomas Mysik 2013-06-12 08:17:00 UTC
The same cause as for issue #230432 so marking as a duplicate.

Thanks.

*** This bug has been marked as a duplicate of bug 230432 ***