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.
[ 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
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)
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)
Created attachment 135600 [details] Shows "Copy Files from source to another location" is On
Created attachment 135601 [details] Another location is empty
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]
Please, attach the _whole_ IDE log so I can have a look at it - anyone who can reproduce this issue. Thanks.
Created attachment 135646 [details] IDE Log
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.
@vriha: Láďo, please try it on Windows. Thanks a lot.
Created attachment 135665 [details] IDE log with more logging
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
The same cause as for issue #230432 so marking as a duplicate. Thanks. *** This bug has been marked as a duplicate of bug 230432 ***