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 129458 - Product data caching mechanism should use timestamps to make a desicion on data repackaging
Summary: Product data caching mechanism should use timestamps to make a desicion on da...
Status: NEW
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-06 19:04 UTC by dlipin
Modified: 2014-02-10 14:15 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 dlipin 2008-03-06 19:04:11 UTC
Now there are 3 options in packaging the data (nbi/infra/build/.common/product.properties)
# whether to repackage the installation data or not; 'true'/'false'/'default'
# * if set to 'false' the data will be taken as it is (i.e. will be considered 
#   as already packaged)
# * if set to 'true' the data will be downloaded and packaged 
# * if set to 'default' packaged data will be taken if it's available, 
#   otherwise raw data will be downloaded and packaged
package.data=default

There should be one more option (or probably, this should replace the 'default') that is described by the following 
rules:
1) if packaged data is available and timestamp of the current file uri is the same as the packaed data had then use the 
cached version
2) if packaged data is available and timestamp of the current file uri differs from the one as the packaged data had, 
then repackage data (this would solve the issue if the file on URI was changed without notifications)
3) if packaged data is available but remote uri is not accessible for some reason then use the cached version
4) if packaged data is not available then package it (if file at URI is not available then fail)
Comment 1 Jiri Rechtacek 2012-10-07 12:58:34 UTC
Assigned to new owner.