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: | Unnecessary Deployment when opening File in Editor | ||
---|---|---|---|
Product: | javaee | Reporter: | bht <bht> |
Component: | Web Project | Assignee: | Jan Lahoda <jlahoda> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dkonecny, phejl, pjiricka |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
bht
2010-06-12 21:07:14 UTC
Thanks for the clear steps how to reproduce. I have not tried it myself but I agree that deployment should not be necessary at that time. Unless there is a reason for it. Passing to Petr H for evaluation. The error occurs also if Test.java is already open in the editor and I switch to it eg using [Ctrl+Tab] Another case: Open Test.html Open and modify Test.java but do not save Press [Ctrl+Z] (undo) until all changes are reversed. Close Test.java The project is deployed. Some cases might not reproduce with GlassFish 3.01. But they reproduce with GlassFish 3.01 if the project is under Subversion control. Could it be that deploy on save needs a better definition, what "save" means? Possibly with user defined file types, and directories? Compilation related, I guess. I can still reproduce the original test case in the latest continuous build of NB 7. Honzo, could you please investigate? Thanks. Seems that this relates only to resources (I originally though it is general, but it appears that #152222 was about the Java part - the consequences may still be surprising, as some changes may not be pushed to the server, while other that depend on them may be): http://hg.netbeans.org/jet-main/rev/90897880fe1e Integrated into 'main-golden', will be available in build *201102160501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/90897880fe1e User: Jan Lahoda <jlahoda@netbeans.org> Log: #187514: not re-deploying application when a resource is changed, similarly to #152222 for Java. |