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.
1. Create a web project 2. Create persistence.xml (e.g. by creating an entity class) 3. Deploy the project (this activates deploy on save) 4. Modify persistence.xml and save 5. Open persistence.xml from build/web/WEB-INF/classes/META-INF/persistence.xml It does not reflect the changes you made in the source persistence.xml. persistence.xml should be automatically copied to build dir so it is picked up during redeploys - this already works for resources under the Java sources, see bug 167170.
Fixed in web-main 24fb09fc42cd.
Integrated into 'main-golden', will be available in build *201010060000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/24fb09fc42cd User: Petr Hejl <phejl@netbeans.org> Log: #180552 persistence.xml is not auto-deployed on save