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.
I noticed that when I change a file, I need to save myself before I compile it. When hitting F9 the file doesn't get saved and the output window tells me that nothing had changed so no compilation was performed. I've witnessed this behavior in builds 128 thru 133.
I found today that hitting F9 doesn't save the file in most cases (appr 85%), but if a file is not saved after hitting F9, it does get saved after hitting F10. This is with build 135 which I installed preserving the user-settings, and after deleting the NB install dir. Iwan
Perhaps a JavaExternalCompiler problem?
I doubt it. Last time I saw the code, the save was done from org.openide.actions.AbstractCompileAction though SaveCookie.
Version: 'Dev' -> 3.2
Sorry; I put debug traces in the routines and it seems to work 100% there is a clear execution path (without asynchronous processing) that first saveAll() then execute the compiler' process. Internal compiler saves files as they are requested by the compiler's core. It seems more than the compiler thinks that the source is up-to-date and does not even start to compiling (in this case, nothing is saved) - but even this search was futile: isUpToDate() checks for presence of SaveCookie used in Save action. Please reopen the bug, if it happens again.
I still have it also with NB 3.2.3. If you want me to install your instrumented jars/classes to get the trace from when I work with it. That's fine with me. I could do that sometime next week as I will take a short holiday this weekend. Just mail me the instrumented classes/jars and tell me where you want me to put them. I have all beta's as well as NB 3.1.36 and NB Dev 136 still available, so I can run whatever version suites you best. Iwan
Target Filesystem is the missing piece of puzzle. If that was set, the IDE failed to check whether the file is modified - in that case it must save/compile without checking anything else.
Fixed in release-3.2, dev-trunk.
[Release32-10] Verified
Target milestone -> 3.2
Resolved for 3.4.x or earlier, no new info since then -> closing.