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 168630 - "refresh client" damages src/META-INF folder and svn commit fails
Summary: "refresh client" damages src/META-INF folder and svn commit fails
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-15 17:10 UTC by sandi_ro
Modified: 2010-03-31 13:33 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 sandi_ro 2009-07-15 17:10:32 UTC
------------
Product Version: NetBeans IDE 6.7 (Build 200906241340)
Java: 1.6.0_14; Java HotSpot(TM) 64-Bit Server VM 14.0-b16
System: Windows XP version 5.2 running on amd64; Cp1252; en_US (nb)
Userdir: C:\Documents and Settings\Administrator\.netbeans\6.7
------------

after refreshing client (right click on ws client node in project tree then choose "Refresh Client" ) the svn commit
fails with  :
----------------
c:\Test\src\META-INF\wsdl\localhost_8084' is not a working copy
Can't open file 'c:\Test\src\META-INF\wsdl\localhost_8084\.svn\entries': The system cannot find the path specified.  
----------------

It looks like refreshing client operation damages/deletes the svn information.

Thanks Andrei.
Comment 1 Milan Kuchtiak 2009-07-27 13:37:09 UTC
Trying to understand the problem.
Please, can you give me additional info ?
Have you updated files before commit ?
Did you have something included in c:\Test\src\META-INF\wsdl\localhost_8084\ before WS Refresh ?

It may happen that you had nothing in META-INF/wsdl before WS client refresh, then META-INF/wsdl/localhost_8084 folder
was created and some files were copied to that folder.

Note: WS Refresh doesn't clean anything under META-INF directory - nor .svn\entries
Comment 2 sandi_ro 2009-07-27 13:55:18 UTC
Hi, 

I think the problem was triggered by the fact that that I was checked in from a machine using netbeans 6.5 then checked
out on a machine using netbeans 6.7. 
Is this scenario supposed to work ? ( I was expecting it to work ) 

Thanks, 
Andrei.
Comment 3 Milan Kuchtiak 2009-07-27 14:23:06 UTC
It explains the problem.
Project Open (of Netbeans 6.5 project) creates META-INF/wsdl subdirectory, which requires SVN update before SVN commit.
This isn't much to do, I guess.

The jax-ws-catalog.xml, as well as some files under META-INF/wsdl are created automatically in the project during
Project Open. This JAX-WS feature maps remote wsdl resources to local ones which improves project portability. 
Do you think user should be able to confirm (or cancel) this functionality ?  
Comment 4 sandi_ro 2009-07-27 17:08:54 UTC
Hi, 

I think user shall have an option to seamless upgrade projects developement with svn from 6.5 to 6.7 or to have some
options to make svn integration/upgrade more friendly . 

Maybe snv may need more settings for item created by JAX-WS, or maybe these can be kept locally only . 
Can we get more feedback from someone that knows better svn module ? 

Thanks, Andrei.


Comment 5 Milan Kuchtiak 2009-07-28 10:30:37 UTC
I am going to implement a dialog that will ask user if jax-ws-catalog stuff should be created or not.
However, I don't think this is P1 issue.
Comment 6 Milan Kuchtiak 2009-07-28 17:43:57 UTC
Fixed.

Details:
http://hg.netbeans.org/main/rev/1d76e667c59f
Comment 7 Quality Engineering 2009-07-29 05:47:51 UTC
Integrated into 'main-golden', will be available in build *200907290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1d76e667c59f
User: mkuchtiak@netbeans.org
Log: #168630: ask user to add jax-ws-catalog.xml stuff
Comment 8 Jaroslav Pospisil 2010-03-31 13:33:45 UTC
v.