Ticket #316 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

repeated use of ant prepare

Reported by: kjdon Owned by: oranfry
Priority: low Milestone: 3.04 Release
Component: Greenstone3 Ant Code Severity: minor
Keywords: Cc:


Don't unpack zip files and copy everything again if it hasn't changed since last time.

Change History

Changed 12 years ago by davidb

  • owner changed from nobody to oranfry
  • summary changed from ant prepare to repeated use of ant prepare

Work was done on this. Double check.

Changed 12 years ago by oranfry

  • status changed from new to closed
  • resolution set to fixed

Implented a solution where a 'flagfile' is implanted in each package after it is prepared. If the prepare target for a package is executed again, it will not do anything if this flagfile exists (except print a message explaining why nothing will be done, and how to force a refresh). ant prepare took 5 seconds to complete the second time round so I call that a fix.

Note: See TracTickets for help on using tickets.