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.
|Summary:||allow overwriting Files when copying within trees|
|Component:||Project||Assignee:||Petr Pisl <ppisl>|
|OS:||Mac OS X|
|Issue Type:||ENHANCEMENT||Exception Reporter:|
Description wegus 2011-04-15 09:55:44 UTC
Java Projects are normally deployed as one JAR-File. PHP Projects consist of a bunch of Scripts. The .PHAR-Format from PHP is not wide spread yet. So you do handle a bunch of separate scripts. So, when deploying a PHP-Project one will need to separate Code-Trees. One for development (commonly that's the Trunk of your Repository) and one for Deployment ( a branch or tag within the repos). When you finished a task and hav changed and tested i.E. 7 files you got to copy them from your Trunk to your Deploy-Branch. Well in Netbeans you can't for existing files as Netbeans does not overwrite files, it renames them as same_name_1.php, same_name_2.php... Both Behaviours when copying do make sense. Unfortunately there is no choice when using Netbeans. To avoid renaming you have to delete the Files in the Destination first and then you can copy the new versions in. Or, even worse, you leave the IDE and change the Project by shell-command. i would appreciate to simply have the choice wether existing Files should be overwritten or not. For PHP and other Script-Based Languages this would be a small but effective change. I would appreciate such an Option in the Settings of the Project- or File-View. Thanx for reading and evaluating this proposal!
Comment 1 stmsat 2015-09-15 09:14:27 UTC