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: | php deployment destination must be empty | ||
---|---|---|---|
Product: | php | Reporter: | mludwig <mludwig> |
Component: | Project | Assignee: | issues@php <issues> |
Status: | NEW --- | ||
Severity: | blocker | CC: | rmatous, tmysik |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
mludwig
2008-11-16 15:36:20 UTC
This behaviour is intentional because NB has to ensure that the mirrored sources are always up to date; consider the following scenario: - create PHP project *without* copying source files - later, select copying sources Now, NB doesn't know anything about the target directory (whether it already contains [fresh] sources or not) so to create exact mirror, NB should delete all the content of the directory and then copy sources but this could be *very* dangerous (possible data loss). OTOH if NB does not delete all the content then some old, already deleted source files could exist in the target directory - this is definitely wrong because file deletion is mirrored as well. Anyway, hard to decide how to solve this situation and satisfy all the possible scenarios. Possible work around: - move all the folders/files from the target directory to another location - check copying sources - return the original folders/files to the target directory batch reassigning |