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.
Changes in files (xml,properties,..) under directory WEB-INF are not synchronized (alter Save action) to build/web/WEB-INF directory..This feature works fine in NB4.0 Beta2..and in other IDEs. The development without synchro is realy confusing and slower..
Which build have you used? It works for me in build 200412011810 (RC2). My scenario was: 1) Create WEB-INF/a.xml file 2) Clea&Build 3) edit a.xml file 4) Save 5) Go to Files tab and open a.xml file
sorry, exactly this doesn't work under WEB-INF/classes directory: Scenario: 1.) Projects: create b.xml in WEB-INF/classes 2.) Look at Files: build/web/WEB-INF/classes/ => b.xml isn't created 3.) ant: Build: now exists build/web/WEB-INF/classes/b.xml 4.) edit b.xml and Save 5.) Files: build/web/WEB-INF/classes/b.xml is without any change 6.) ant build: till now is b.xml synchronized (ant copy)
Well, I have discussed it with developers and the conclusion is that it is 'as designed'. We consider web content to be synchronized on save and sources not, because web content is more dynamic and it is not so problematic to fix bugs (especially web pages design) on runtime. Workaround for this is Build the project. Anyway you're right it is a good enhancement - but we would need more thinking about which file types are OK to synchronize to build folder and which not (e.g. java files). Decreasing to P3 and changing to Enhancement. Feel free to comment.
The sources synchro (xml,properties, not java source files) is good for frameworks like Hibernate, Spring, Tapestry, Velocity etc. And for old good ResourceBundle properties files too. Think case: a large project with thousand classes. Every build action takes about 30s (no a compilation, only control which sources are new), reload web app takes 5s. With the synchro you need only reload (and when you create some Hibernate utilities you doesn't need reload too, only enhance Hibernate class again! - takes 50ms!)...I must say again, that this works in NetBeans 4.0 Beta2!! Another IDEs have it (IntelliJ let you to configure which filetypes synchonized and which not) and I don't understand who can be interested in the removal (maybe some Eclipse agent?:) ) and which advantage we was gain... It was probably very hard work :). Cheers
NB 4.0 beta2 had it because it was a bug: all WEB-INF/classes content (even java files) was copied to build directory on save. Anyway I agree it sounds like reasonable feature to have "Synchronized file types" customization - best would be create new one FEATURE issue and close this one as DUPLICATE since this one is only a part of "Synchronized file types" customization.
*** This issue has been marked as a duplicate of 52190 ***
Have to check if this is already fixed.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss