Community
Participate
Working Groups
Build Identifier: 20110301-1815 i edit two files and need to save only one. when hitting "ctrl+s" a dialog pops up "Save and Launch" asking to save the other file. there's a checkbox "always save before launching" -- but i don't launch anything! it's rather annoying to have such a popup always interrupting my workflow, but i fail to understand a) why that happens all of a sudden, with files not launchable at all, no server or application running at all b) where to disable this behaviour, be it in preferences or by way of "do not ask again" Reproducible: Always Steps to Reproduce: 1. open two editors 2. edit in both 3. save one
Are you using 4.1 as indicated in the version field? > 1. open two editors Which kind of editors? Do you open two different files? > 2. edit in both > 3. save one Does the dialog also appear if you use File > Save instead of Ctrl+S?
just, accidentially, found out, it is triggered by having enabled project -> build automatically which makes "launching" more clear. a clear information which kind of launch is attempted would tsill help, though. and i was always thinking project -> build automatically only affects the project in which i enabled that checkbox -- turns out, it affects _all_ projects ... but that's another issue.
(In reply to comment #1) > Are you using 4.1 as indicated in the version field? > > > 1. open two editors > Which kind of editors? Do you open two different files? > > > 2. edit in both > > 3. save one > Does the dialog also appear if you use File > Save instead of Ctrl+S? Can you please answer these questions?
> > Are you using 4.1 as indicated in the version field? nope, 3.6.2 > > > 1. open two editors > > Which kind of editors? Do you open two different files jsp, yes > > > 2. edit in both > > > 3. save one > > Does the dialog also appear if you use File > Save instead of Ctrl+S? yes
>i was always thinking > >project -> build automatically > >only affects the project in which i enabled that checkbox -- turns out, it >affects _all_ projects ... but that's another issue. Correct, this is a global setting i.e. 'Build Workspace Automatically'. The bigger question is who/what is launched on "save".
(In reply to comment #4) > > > Which kind of editors? Do you open two different files > > jsp, yes Does this happen when you edit .txt or .java files as well? And which JSP editor do you use? Is it from WTP?
(In reply to comment #5) > >i was always thinking > > > >project -> build automatically > > > >only affects the project in which i enabled that checkbox -- turns out, it > >affects _all_ projects ... but that's another issue. > Correct, this is a global setting i.e. 'Build Workspace Automatically'. > > The bigger question is who/what is launched on "save". well, most likely some custom builder i defined (does nothing but find property files and copy them to WEB-INF/classes/)
(In reply to comment #7) > (In reply to comment #5) > > >i was always thinking > > > > > >project -> build automatically > > > > > >only affects the project in which i enabled that checkbox -- turns out, it > > >affects _all_ projects ... but that's another issue. > > Correct, this is a global setting i.e. 'Build Workspace Automatically'. > > > > The bigger question is who/what is launched on "save". > > well, most likely some custom builder i defined (does nothing but find property > files and copy them to WEB-INF/classes/) Adding an additional builder (Ant Builder or Program) should not trigger to save - unless of course the custom builder itself implements this.
> Adding an additional builder (Ant Builder or Program) should not trigger to > save - unless of course the custom builder itself implements this. Sorry, this is only true for builders registered as 'Ant Builder'. If one registers a 'Program' then save is triggered.
*** This bug has been marked as a duplicate of bug 289220 ***