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 135675

Summary: Improve no-download detection inside generic ant script
Product: qa Reporter: Max Sauer <msauer>
Component: Hudson4QEAssignee: Tomas Danek <musilt2>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Max Sauer 2008-05-23 11:04:51 UTC
Generic download script decision if new build/TD has to be downloaded is only based on 'build' file/url, the TD is no considered => in case the user only 
changes TD location, our plugin does not download the new one and uses previously downloaded version.

We need to detect change of both, and possibly also modification times.
Comment 1 Tomas Danek 2008-05-23 12:34:17 UTC
detection is done by checking if file "${buildnumber}-${ide.dest.file}" and "${buildnumber}-${btd.dest.file}" are
present  in zip dir.
Do you mean case that user is testing some ide against some TD and later switch into custom TD? Well, in such case we
may not download TD zip (in case that custom TD build has the same name, ${buildnumber} comes from ide buildnumber)...
If you have idea of any more reliable mechanism, let me know, i'll implement. 
Comment 2 Max Sauer 2008-05-23 13:01:07 UTC
Currently, the new TD is not downloaded, even when the filename of TD is changed. Try it out in new TestRunPlugin build from hudson, where custom 
specification of build and TD is implemented. We have to be able to work with all filenames.