Opened 16 years ago

Closed 16 years ago

#316 closed defect (fixed)

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:

Description

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

Change History (2)

comment:1 by davidb, 16 years ago

Owner: changed from nobody to oranfry
Summary: ant preparerepeated use of ant prepare

Work was done on this. Double check.

comment:2 by oranfry, 16 years ago

Resolution: fixed
Status: newclosed

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.