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 172391 - Netbeans overwite custom jaxws-build.xml file changes without any warning
Summary: Netbeans overwite custom jaxws-build.xml file changes without any warning
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 13:57 UTC by m_potociar
Modified: 2010-04-06 14:03 UTC (History)
0 users

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 m_potociar 2009-09-16 13:57:10 UTC
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.
Comment 1 Milan Kuchtiak 2009-09-16 14:11:59 UTC
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.
Comment 2 m_potociar 2009-09-16 14:19:16 UTC
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.
Comment 3 Milan Kuchtiak 2009-09-16 14:59:28 UTC
Warnings added.

See details:
http://hg.netbeans.org/main/rev/7db2be8b1cb7
Comment 4 Quality Engineering 2009-09-18 22:19:28 UTC
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
Comment 5 Jaroslav Pospisil 2010-04-06 14:03:08 UTC
v.