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 135498 - Retriever works incorrectly if there is no internet connection
Summary: Retriever works incorrectly if there is no internet connection
Status: RESOLVED INVALID
Alias: None
Product: xml
Classification: Unclassified
Component: Retriever (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 14:07 UTC by Vladimir Yaroslavskiy
Modified: 2008-05-22 15:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Test project (13.86 KB, application/x-compressed)
2008-05-21 14:09 UTC, Vladimir Yaroslavskiy
Details
new one with real cache (20.58 KB, application/x-compressed)
2008-05-21 20:56 UTC, Samaresh Panda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Yaroslavskiy 2008-05-21 14:07:22 UTC
Retriever works incorrectly if there is no internet connection but there are cached files in project.
See attached project, unzip it and try to build (from IDE and/or command line)
Retriever fails, see log:

21.05.2008 17:02:30 : Retrieving Location: http://schemas.xmlsoap.org/ws/2004/08/addressing/ 

Error: Unknown Host: schemas.xmlsoap.org
URL Resource.

but subfoler contains cached files. Retriever should return it.
Comment 1 Vladimir Yaroslavskiy 2008-05-21 14:09:09 UTC
Created attachment 61682 [details]
Test project
Comment 2 Samaresh Panda 2008-05-21 20:55:47 UTC
Cached artifacts are kept in <project>/nbproject/private/cache folder and it does fetches it this cache when there is no
internet connection. Please try the new project that has the artifacts in cache.
Comment 3 Samaresh Panda 2008-05-21 20:56:56 UTC
Created attachment 61716 [details]
new one with real cache
Comment 4 Samaresh Panda 2008-05-21 20:58:28 UTC
In fact, whether or not there is connection, it fetched from cache all subsequent time.