Re: [Dspace-tech] v1.6 updating dspace.cfg?

2010-07-07 Thread Gary Browne
Just to clarify Mike, before doing the ant update_configs, did you run:

mvn package

from [dspace-source]/dspace?

So the process I generally follow is:

cd [dspace-source]/dspace
mvn package
cd target/dspace-x.x.x-build.dir
ant init_configs (or ant update_configs) (or ant 
-Dconfig=/[dspace]/config/dspace.cfg update) (or ant update_configs 
-Doverwrite=true)

I don't mean to confuse you with this last line, it's just that I'm confused 
myself about it - see my post "Poorly worded documentation" (still haven't had 
any replies to that one, so I'm not sure if I'm the only confused numbskull or 
if everyone else is so confused they don't know what to tell me).

Finally, I can't remember off the top of my head, but after this process you 
may need to restart your servlet container (in your case, tomcat).

Thanks,
Gary


GARY BROWNE | Development Programmer 
Library IT Services | University Library
THE UNIVERSITY OF SYDNEY
T +61 2 9351 5946  | F +61 2 9036 

> -Original Message-
> From: Michael White [mailto:michael.wh...@stir.ac.uk]
> Sent: Tuesday, 6 July 2010 11:31 PM
> To: DSpace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] v1.6 updating dspace.cfg?
> 
> 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
> 
> 
> 
> --
> The Sunday Times Scottish University of the Year 2009/2010
> The University of Stirling is a charity registered in Scotland,
>  number SC 011159.
> 
> ---
> ---
> 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
--
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


Re: [Dspace-tech] v1.6 updating dspace.cfg?

2010-07-07 Thread Hayden Young
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


[Dspace-tech] v1.6 updating dspace.cfg?

2010-07-06 Thread Michael White
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



-- 
The Sunday Times Scottish University of the Year 2009/2010
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.

--
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