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 180552 - persistence.xml is not auto-deployed on save
Summary: persistence.xml is not auto-deployed on save
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 07:41 UTC by Petr Jiricka
Modified: 2010-10-06 03:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2010-02-10 07:41:40 UTC
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.
Comment 1 Petr Hejl 2010-10-05 17:01:34 UTC
Fixed in web-main 24fb09fc42cd.
Comment 2 Quality Engineering 2010-10-06 03:19:23 UTC
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