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 166188

Summary: Deploy on Save deploys too aggressively (when opening a file)
Product: java Reporter: Petr Jiricka <pjiricka>
Component: SourceAssignee: Rastislav Komara <moonko>
Status: VERIFIED DUPLICATE    
Severity: blocker CC: dstrupl, ludo, phejl
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Petr Jiricka 2009-05-28 15:15:49 UTC
1. Create a new Web application with GF v3 Prelude as the target server
2. Create a class p.NewClass in this application
3. Run the application 
4. Close and reopen the editor tab with p.NewClass

=> Application is redeployed. This is not what I want.
Comment 1 Petr Jiricka 2009-05-28 15:17:40 UTC
I am using this build:

Product Version: NetBeans IDE 6.7 RC1 (Build 200905280001)
Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57
System: Mac OS X version 10.5.7 running on x86_64; MacRoman; en_US (nb)
Comment 2 Petr Hejl 2009-05-28 15:38:41 UTC
BuildArtifactMapperImpl is firing artifactsUpdated in described situation while it shouldn't.
Comment 3 Dusan Balek 2009-05-28 16:13:38 UTC
The problem is that every file opened in editor is automatically marked as modified by ReposiotryUpdater and it
is immediately reindexed and redeployed (including all its dependent files). The problem is already tracked within issue
#161367.

*** This issue has been marked as a duplicate of 161367 ***
Comment 4 Petr Jiricka 2009-06-02 10:56:37 UTC
Issue 161367 is now fixed, and I confirm that the fix also fixes this issue. Verified with build jet-main #753.
Comment 5 baffyofdaffy 2009-06-11 12:31:39 UTC
*** Issue 152222 has been marked as a duplicate of this issue. ***