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 185343

Summary: Missing .lastModified file in RPM distributions
Product: installer Reporter: Jaroslav Tulach <jtulach>
Component: RPMAssignee: Victor Vasilyev <vvg>
Status: RESOLVED FIXED    
Severity: normal CC: dlipin, ynov
Priority: P2    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2010-05-03 09:48:11 UTC
To make NetBeans start as optimized as possible the boostrap code as well as all installation technologies (installer, autoupdate, native packages) need to cooperate with each other.

The communication is based on one important file: .lastModified present in each cluster. More info:
http://bits.netbeans.org/dev/javadoc/org-netbeans-bootstrap/overview-summary.html#java.io.File-.lastModified

It has come to my attention that RPMs for 6.8 are not generating this file. This makes it almost impossible to distribute updates of RPMs: without such files the application classes are going to be read from userdir caches completely ignoring any changes in cluster JAR files (just observed during my work on bug 185342).

To fix the problem please modify the RPMs to always touch or create .lastModified file with recent timestamp when a content of a cluster is modified.
Comment 1 dlipin 2010-06-22 13:37:15 UTC
Victor said he is targeting to fix in in 6.9 packages.
Comment 2 Victor Vasilyev 2010-06-22 14:14:20 UTC
Indeed, it is already implemented in the 6.9 packages, but they are not published yet. I'll close this bug when the packages will be published.

FYI this bug is also tracked on the wiki page with overall status of the packaging of the NB 6.9:
http://wiki.netbeans.org/Fedora/Packaging/NetBeans_6.9#Common_Issues
Comment 3 Yulia Novozhilova 2010-08-18 11:10:55 UTC
Packages are published, so closing the bug