Hi Carlos,

It's 'ant update_configs' to update a DSpace configuration.  But, be 
forewarned that if this finds existing files it will *not* overwrite the 
existing configuration -- rather it will place a new version 
side-by-side so that you can compare them and decide what needs updating.

So, when you run 'ant update_configs', for any configs that need 
updating you'll see a '[config-file-name].new' file appear (e.g. you'll 
see a 'dspace.cfg.new' appear next to your existing 'dspace.cfg'). 
You'll need to check these *.new files to see if you want the updates 
made.  By default we do not overwrite your existing configs as we don't 
want to accidentally lose any customizations you may have made.

You can type 'ant help' to get an explanation of the various 'ant' 
commands available.

- Tim




On 6/23/2010 11:21 PM, Carlos S wrote:
> Could someone please help on this?
> http://www.dspace.org/1_6_0Documentation/ch05.html#N119D4
>
> Is it update_configs or init_configs to update dspace configuration?
>
> --
> CS.
>
>
>
> On Wed, Jun 23, 2010 at 1:26 AM, Carlos S<neu...@gmail.com>  wrote:
>> Hi,
>>
>> I need some help regarding DSpace configuration update after changing
>> '[dspace-source]/dspace/config/dspace.cfg' file. Do I need to run ant
>> update_config or 'ant init_config'. The manual for DSpace 1.6 ,
>> section 5.1.2 seemed to be confusing as it says:
>>
>> {{{
>> . To keep the two files in synchronization, you can edit your files in
>> [dspace-source]/dspace/config/ and then you
>> would run the following commands:
>> cd /[dspace-source]/dspace/target/dspace-<version>-build.dir
>> ant update_configs
>>
>>
>> • To run ant -Dconfig=/[dspace]/config/dspace.cfg update if you are
>> updating your dspace.cfg file and
>>   wish to see the changes appear. Follow the usual sequence with
>> copying your webapps.
>> • If you edit dspace.cfg in [dspace-source]/dspace/config/, you should
>> then run 'ant init_configs'
>>   in the directory
>> [dspace-source]/dspace/target/dspace-1.5.2-build.dir so that any
>> changes you may
>>   have made are reflected in the configuration files of other
>> applications, for example Apache. You may then need to restart
>>   those applications, depending on what you changed.
>> }}}
>>
>> Any help on how to update configuration? Also, do I need to run any
>> maven commands?
>>
>> --
>> Thanks,
>> CS.
>>
>
> ------------------------------------------------------------------------------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to