[ 
https://jira.duraspace.org/browse/DS-1060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22979#comment-22979
 ] 

Tim Donohue commented on DS-1060:
---------------------------------

Hi all,

I'm not exactly sure what is meant by "just move the old one aside and copy 
[the source of the config file]". 

Do you mean we just leave the functionality "as-is" and just close this bug 
without committing anything?

Currently on Trunk, when the '-Dconfig=[path-to-config-file]' option is used, 
the file at [path-to-config-file] is just installed as the new 'dspace.cfg' 
file (and if the old config differs, then it is copied off to dspace.cfg.old).  
 Without the '-Dconfig' option, a default configuration file is installed 
(again, if the old config differs, than it is copied off to dspace.cfg.old). 

Just trying to clarify whether we want to do anything about this for 1.8.  At 
this point, we could just leave it "as-is", and work on enhancements for the 
next version of DSpace (i.e. I could add my above patches to a new "feature" 
ticket for post-1.8, as a possible route towards auto-upgrading your dspace.cfg 
in the future.
                
> When running 'ant update' copy dspace.cfg to *.old in line with all the other 
> config files
> ------------------------------------------------------------------------------------------
>
>                 Key: DS-1060
>                 URL: https://jira.duraspace.org/browse/DS-1060
>             Project: DSpace
>          Issue Type: Bug
>    Affects Versions: 1.8.0
>            Reporter: Robin Taylor
>            Assignee: Tim Donohue
>             Fix For: 1.8.0
>
>         Attachments: ant-build.patch, ant-build-simple.patch, 
> ant-build-version2.patch
>
>
> Ant target overwrite_configs contains the following line...
> <globmapper from="*" to="*-${build.date}.old" />
> Whereas target prepare_configs contains the following line...
> <globmapper from="*" to="*.default" />
> It may be just a case of bringing prepare_configs in line with 
> overwrite_configs but I haven't had a chance to analyse this properly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.duraspace.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to