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.
The "Copy Sources to another location" project feature does not appear to working properly in NetBeans IDE 6.7 Beta (Build 200904242137) and NetBeans IDE Dev (Build 200905080201). With the "Copy to another location" enabled for a project, where the target IS writable, the initial copy of the sources directory never happens. However if I edit and save an individual file then that is copied to the "another location" properly.
Possible regression - Radku, please, look at it. Thanks.
reproduced on: Product Version: NetBeans IDE Dev (Build 200905140201) Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02 I created new project PhpProject12 and set up these locations in New Project Wizard: project folder: /home/felipee/NetBeansProjects/PhpProject12 copy to folder: /var/www/PhpProject12 project was created properly. this is "tree -L 1" of /var where is www folder in that project sources supposed to be copied: `-- www |-- AirAlliance1 |-- AirAlliance2 |-- AirAlliance4 |-- AirAlliance7 |-- AirAllianceTest |-- AirAlliancetest2 |-- AnagramGame |-- FormattingTests |-- PhpProject1 |-- PhpProject10 |-- PhpProject11 |-- PhpProject2 |-- PhpProject3 |-- PhpProject4 |-- PhpProject5 |-- PhpProject6 |-- PhpProject7 |-- PhpProject8 |-- PhpProject9 |-- PhpTestProject |-- TestOfUserRights |-- actr |-- bckp |-- bugzilla |-- chr.sk |-- donauphilharmonie.at |-- galteja |-- jobeet |-- myFirstSymfonyProject |-- pouzitelnyweb.sk |-- symphony |-- test `-- usages expected result: a new folder will be created in /var/www/ and sources will be copied into this folder.
moreover, if you create new file in project from previous example then folder is created but ONLY new file is copied. You must change file to be copied. - before the file index2.php was created the folder is not in /var/www/PhpProject12 - tree after index2.php was created: /var/www/PhpProject12: . `-- index2.php $> ~/NetBeansProjects/PhpProject12$ tree / . |-- index.php |-- index2.php `-- nbproject |-- private | `-- private.properties |-- project.properties `-- project.xml result: index.php is missing in /var/www/PhpProject12
I guess it's the same issue but I can create new one if not. 1. create project and don't enable copy to another location 2. enable copy to another location in project properties result: nothing happens expected result: should be copied. the same for this use case: if you change the file than it's copied but not at initialization.
http://hg.netbeans.org/web-main/rev/cd3fe041fbed
Integrated into 'main-golden', will be available in build *200905190201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cd3fe041fbed User: Radek Matous <rmatous@netbeans.org> Log: #164795 Sources - Copy to another location
Product Version: NetBeans IDE 6.7 RC3 (Build 200906110001) Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02 description: copy to another location works only to certain level. initial netbeans project folder: |-- admin |-- cgi-bin |-- compile |-- configs |-- data |-- javascript |-- lib |-- nbproject then I copied following (only directory listing) to lib folder through favourites: `-- swift |-- lib | |-- classes | | `-- Swift | | |-- ByteStream | | |-- CharacterReader | | |-- CharacterReaderFactory | | |-- CharacterStream | | |-- Encoder | | |-- Events | | |-- KeyCache | | |-- Mailer | | |-- Mime | | | |-- ContentEncoder | | | |-- HeaderEncoder | | | `-- Headers | | |-- Plugins | | | |-- Decorator | | | |-- Loggers | | | |-- Pop | | | `-- Reporters | | |-- StreamFilters | | `-- Transport | | `-- Esmtp | | `-- Auth | `-- dependency_maps |-- test-suite | |-- lib | | |-- Sweety | | | |-- Reporter | | | |-- Runner | | | `-- TestLocator | | |-- simpletest | | `-- yaymock | | `-- classes | | `-- Yay | | |-- Actions | | |-- Expectations | | `-- Matchers | `-- templates | `-- sweety | |-- css | |-- images | `-- js `-- tests |-- _samples | |-- charsets | | |-- iso-8859-1 | | `-- utf-8 | `-- files |-- acceptance | `-- Swift | |-- ByteStream | |-- CharacterReaderFactory | |-- Encoder | |-- KeyCache | |-- Mime | | `-- ContentEncoder | `-- Transport | `-- StreamBuffer |-- bug | `-- Swift |-- helpers | `-- Swift | `-- Tests |-- smoke | `-- Swift | `-- Smoke `-- unit `-- Swift |-- ByteStream |-- CharacterReader |-- CharacterStream |-- Encoder |-- Events |-- KeyCache |-- Mailer |-- Mime | |-- ContentEncoder | |-- HeaderEncoder | `-- Headers |-- Plugins | |-- Loggers | `-- Reporters |-- StreamFilters `-- Transport |-- Esmtp | `-- Auth `-- EsmtpTransport all files were copied to project folder without any problem BUT only root folder and first were copied to "another location". tree of "another location": . `-- swift |-- lib |-- test-suite `-- tests
is it reproducible?
yep it is BUT I realized I renamed folder after copying. So: 1. copy folder in favorites window Now ARE all files and folders present in "another location" 2. rename copied folder in project folder in favorites window Now there IS A ISSUE I described. btw, is this php issue?
ok, thanks => P3
Everyday I get a few files not copying to wamp/www.
I'm also having this issue. Steps taken: Open Netbeans Checked out SVN project Created new PHP project from existing source (Project appears fine at this point) Right-click > Properties, check "Copy files from Sources..", select path Result: Directories and Files of dir depth 2 or less are copied. Files and Directories of 3 or more directories' depth are not copied. This is a show stopper for me. I don't want .svn files and IDE generated files poluting my dev source when testing.
Have a look at issue #172139 for more information. Thanks. *** This issue has been marked as a duplicate of 172139 ***