Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-990

Change 'ant update' to default to "overwrite=true" mode

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      2
    • Comments:
      11
    • Documentation Status:
      Needed

      Description

      During the Developers Meeting on Aug 10 2011 (http://irclogs.duraspace.org/index.php?date=2011-08-10), the developers in attendance all agreed that it would be worthwhile to change the DSpace 'ant update' script to automatically replace existing configurations by default (overwrite=true mode).

      Users will still have the option of specifying "overwrite=false" if they do not want their configs to be changed by default.

      This means that when someone runs "ant update", the following will occur:

      • All customized configs under [dspace]/config/ directory will be backed up to [file]-[date].old (Where [file] is the original file name, and [date] is the current date/time).
      • New configs will be automatically installed, and the user will need to re-customize them as needed (by comparing to the older versions of the config files)

      Again, this ability has always existed in DSpace. In DSpace 1.0 - 1.7, you had to manually enable it by setting "overwrite=true", e.g. "ant -Doverwrite=true update".

      The change is that now it would happen automatically whenever you ran "ant update". Instead, you'd have to manualy DISABLE it by setting "overwrite=false", e.g. "ant -Doverwrite=false update".

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hardyoyo Hardy Pottinger
                Reporter:
                tdonohue Tim Donohue
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: