Hi

If you update the config file using ant, make sure you specify the flag 
overwrite=true; E.g.

ant update_configs -Doverwrite=true

If you don't specify this, the new config file will be written to 
dspace.cfg.new.

Cheers


Hayden

On 06/07/10 21:31, Michael White wrote:
> Hi,
>
> I just installed a vanilla DSpace 1.6.2 and had it running in the most basic 
> way (i.e. just updating the basic config with the info required to get it up 
> and running, before the application was built using “ant fresh_install”). I 
> had the application responding at http://dspacedev.stir.ac.uk:8080/jspui/ and 
> was able to log on using my newly created admin account, but didn’t do 
> anything to the system (in terms of setting up Communities and Collections 
> etc).
>
> The next thing I tried to do was to make a minor config change (just a simple 
> change to “dspace.name”) in order to test the process of making config 
> changes and getting them into DSpace 1.6 . . .
>
> Unfortunately, despite banging my head against it for quite a while I’ve not 
> been able to incorporate this simple change into DSpace :-(
>
> Following the manual, I made the change to dspace.cfg in 
> [dspace-source]/dspace/config
>
> As the user running Tomcat, I did the following:
>
> cd /usr/src/dspace-1.6.2-src-release/dspace/target/dspace-1.6.2-build.dir
> ant update_configs
>
> - and expected this to update the config file in [dspace]/dspace/config, 
> however, when I check this file, it is still the old version (i.e. doesn't 
> contain the updated dspace.name value) . . .
>
> I see that there are 2 new files in the [dspace]/config directory – 
> dspace.cfg.default and dspace.cfg.new, but neither of these contains the 
> updated value for dspace.name that appears in the config file in 
> [dspace-source]/dspace/config . . .
>
> I've checked permissions (always the first place to start ;-) ), and 
> everything appears to be owned by my tomcat user, so I don't think that is 
> the issue . . .
>
> Have I misunderstood the process? Or perhaps I’m doing something wrong?
>
> Any pointers, hints, or tips welcome :-)
>
> Cheers,
>
> Mike
>
> Michael White
> eLearning Developer
> eLearning Liaison&  Development (eLD)
> 3V3a, Cottrell
> University of Stirling
> Stirling SCOTLAND
> FK9 4LA
> Email: michael.wh...@stir.ac.uk
> Tel: +44 (0) 1786 466877
> Fax: +44 (0) 1786 466880
> http://www.is.stir.ac.uk/aboutis/teams/aldt/eld.php
>
>
>
>    

-- 
Hayden Young
Managing Director
Wijiti Pty Ltd
p. +61 (0) 8 6102 1198
m. +61 (0) 405 520 778
e. haydenyo...@wijiti.com
w. www.wijiti.com
vcard. www.wijiti.com/vcard/haydenyoung.vcf

NOTICE
This e-mail and any attachments are intended for the addressee(s) only and may 
be confidential. They may contain legally privileged or copyright material. You 
should not read, copy, use or disclose them without authorization. If you are 
not the intended recipient please contact the sender as soon as possible by 
return e-mail and then please delete both messages. This notice should not be 
removed.


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to