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.
Due to the issue #172375 I decided to try to modify jaxws-build.xml file to provide a proper classpath to the WsImport task definition. After I made the necessary CP modifications, I ran into another issue wher WsImport complained about -xendorsed option not being set. So I added the -xendorsed option in jax-ws.xml file and suddenly WITHOUT ANY PRIOR WARNING all my changes made in jaxws-build.xml are GONE! This is clearly unacceptable. I would expect at least a confirmation dialog asking if I really want to overwrite the file. A little side note: In general, I think NetBeans should finally try to act as a servant who obeys the developer because presumably, the developer should know what he is doing and why. The current "Let me do it for you and don't worry about it because I NetBeans know best what you really want" approach may be nice when showing demos and appealing to people who hardly know what programming means, but it is absolutely impractical for a real development and really, really sucks at times.
The content of nbproject directory isn't designated for user modification. To replace targets in jaxws-build.xml, use project_home/build.xml. I'll add some warning to jaxws-build.xml.
That would be more than welcome, given the fact that when it comes to other files in nbproject dir I have never experienced such data loss without a prior warning.
Warnings added. See details: http://hg.netbeans.org/main/rev/7db2be8b1cb7
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7db2be8b1cb7 User: mkuchtiak@netbeans.org Log: #172391: add comments to jaxws-build.xml
v.