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 83879 - need action to refresh retrieved files
Summary: need action to refresh retrieved files
Status: RESOLVED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Girish Balachandran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-31 10:28 UTC by Girish Balachandran
Modified: 2008-08-19 19:21 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Girish Balachandran 2006-08-31 10:28:33 UTC
Retriever API should expose an action to refresh already retrieved files in a
project. This should be done by reverse looking up the entries in the catalog
file, getting the original source URL and retrieving them back using retriever API.
Comment 1 Girish Balachandran 2006-09-15 18:28:01 UTC
I need the client of this action to tell me where and how exactly this action
will be used.... The options as I see are:

1. This action will be shown to the user on the project node, upon execution,
will  refresh all the absolute URL entries that is present in the project wide
Catalog file.

2. This action will be shown only for the files (schema/wsdl) which have
reference to external entities and whose original URL and cached location is
present in the projectwide catalog. The action would then download and refresh
only that URL (with its closure) and cache.

Please record your option in this bug.
Comment 2 Girish Balachandran 2006-09-19 02:55:59 UTC
It was agreed that this is more like an enhancement. So, marking this as an
enhancement and will revisit later.
Comment 3 Milan Kuchtiak 2006-09-22 19:42:57 UTC
What we implemented in Basic WS Support is :
Refresh Client and Refresh Service actions on WS Client Node/WS Node.
This basically calls the Retriever.retrieveResource() again and local xml
artifacts are replaced by the originals. Then, java artifacts are re-generated
again.

Personally, I don't see the sense to have the refresh action in API.
Comment 4 Samaresh Panda 2008-08-19 19:21:36 UTC
Lets reopen if there is a need for it.