Bugs item #2620307, was opened at 2009-02-20 10:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2620307&group_id=19984

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Private: No
Submitted By: Mark H. Wood (mwoodiupui)
Assigned to: Nobody/Anonymous (nobody)
Summary: 'ant init_configs' copies wrong dspace.cfg

Initial Comment:
build.xml will use a supplied dspace.cfg path for its own operations, but 
always copies [DSpace-source]dspace/target/dspace-whatever/config/dspace.cfg 
into the [DSpace]/config directory.  When the two paths are not equal, the 
result is surprising.

The problem is that init_configs first copies all of the source config 
directory contents (including dspace.cfg from that location) to the target, 
then copies ${config} to the target/dspace.cfg.  The second copy is skipped, 
because the first copy has placed a file in the target of equal name and 
current date, which probably makes it newer than the specified config.  The 
cure is to omit copying the source dspace.cfg in the first copy operation.

Note that, if there is *already* a newer dspace.cfg in the target location when 
init_configs is run, the specified config is still not copied.

Attached patch is against 1_5_x -r3488

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2620307&group_id=19984

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to