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.

Bug 168914 - "deploy on save" deploys when no save occurs
Summary: "deploy on save" deploys when no save occurs
Status: RESOLVED DUPLICATE of bug 152222
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-21 17:40 UTC by simon_marshall
Modified: 2009-07-28 12:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description simon_marshall 2009-07-21 17:40:33 UTC
We have a tomcat-based java services project.  To ease deployment, I check "Deploy on Save" in the project Properties >
Run settings.

In 6.5, this caused (what appeared to be incremental) redeployment whenever I saved a file.  Great!

In 6.7, netbeans is redeploying even in the following situations:

- switching from one source file tab to another in the edit window, even when no files are modified
- selecting a source file in the projects view

Obviously this is a real pain.  Apologies if I'm being dumb.  If I wasn't dumb, I might suspect deployment is being
triggered by some sort of state save, in addition to file save.
Comment 1 Maros Sandor 2009-07-22 13:27:32 UTC
A real pain it is, especially losing http session every time I switch tabs in editor, not talking about performance
issues. In other words, Deploy on Save feature does not work at all. I tried to work around this by turning it off and
assigning a keyboard shortcut to Deploy but this action is not listed in Keyboard shortcuts.
Comment 2 Ivan Sidorkin 2009-07-27 13:47:38 UTC
reassigned to web for evaluation
Comment 3 Petr Jiricka 2009-07-27 22:12:00 UTC
I think you may be running into issue 152222, which is fixed in trunk. Can you please try whether it works correctly
either in NetBeans 6.7.1, or in the 6.8 Dev builds? 
http://bits.netbeans.org/netbeans/trunk/nightly/ Thanks.
Comment 4 Maros Sandor 2009-07-28 10:08:06 UTC
I have briefly tested 6.7.1 and the problem seems to be fixed. Thanks.
Comment 5 Petr Hejl 2009-07-28 10:11:47 UTC
I suppose it is a duplicate of issue 152222. Feel free to reopen if this occurs again.

*** This issue has been marked as a duplicate of 152222 ***
Comment 6 Petr Jiricka 2009-07-28 11:36:01 UTC
I suppose not quite a duplicate, as according to Maros, this issue is fixed in 6.7.1, whereas 152222 is not fixed in
6.7.1. But as long as it's resolved, let's leave it at that.
Comment 7 simon_marshall 2009-07-28 12:40:39 UTC
yes, it appears fixed in 6.7.1, thanks.