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 227786 - Deploy on tab change
Summary: Deploy on tab change
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 7.3
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 18:37 UTC by pmferreira
Modified: 2013-03-29 07:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log file (145.38 KB, application/octet-stream)
2013-03-25 12:49 UTC, pmferreira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pmferreira 2013-03-21 18:37:09 UTC
I have a WAR project with the option "Deploy on save" enabled.
When I have multiple JAVA files opened and I switch from on to another, the IDE deploys the application.

I'm also using Apache Tomcat 7.0.34.0.
Comment 1 Jiri Skrivanek 2013-03-25 12:19:18 UTC
I tried the following:

- create web project with Tomcat target server
- deploy project
- add new Servlet => project was deployed automatically
- add new Servlet => project was deployed
- switch within servlets in editor but project was not deployed

Please, try above test case and if you still encounter problems send us messages.log or your test case.
Comment 2 pmferreira 2013-03-25 12:49:06 UTC
Created attachment 133032 [details]
messages.log file
Comment 3 pmferreira 2013-03-25 12:49:23 UTC
I did what you suggested and everything worked as expected.
Then I tried to Run the project (F6) and, when I switch tabs, the IDE deploys the application.

File messages.log is attached.
Comment 4 Jiri Skrivanek 2013-03-25 13:52:33 UTC
From messages.log I read you have Maven project and servlets in default package. But I am still not able to reproduce the problem. I have no idea what can trigger deployment in your case (some versioning system or some third-party plugin?).
Comment 5 pmferreira 2013-03-25 14:00:22 UTC
I'll try to disable some plugins to check if one of them is triggering this behaviour. I'll let you know as soon as I have something.
Comment 6 Jiri Skrivanek 2013-03-29 07:20:27 UTC
Closing for now. If you have new findings feel free to reopen.