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 - Improve no-download detection inside generic ant script
Summary: Improve no-download detection inside generic ant script
Status: NEW
Alias: None
Product: qa
Classification: Unclassified
Component: Hudson4QE (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Danek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-23 11:04 UTC by Max Sauer
Modified: 2008-05-23 13:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.