> Hello Andy,
> 
> you made the change in the source directory and ran mvn package and then
> ant. With which target did you run ant, with init_configs?
> 
> Hope that helps
> 
> Claudia Jürgen
> 
> Am 22.07.2010 16:06, schrieb Speagle, Andy:
> >> On Thu, Jul 22, 2010 at 15:36, Speagle,
> >> Andy<andy.spea...@wichita.edu>
> >> wrote:
> >>> I’ve updated the “dspace.dir” variable in config/dspace.cfg … but
> >>> that doesn’t seem sufficient.  After I build the package and attempt
> >>> to update the configs via ant… it STILL tries to copy things to
> >>> /dspace rather than /data/dspace …
> >>
> >> Just checking - did you update dspace.dir in [dspace-
> >> source]/dspace/config/dspace.cfg or in
> [dspace]/dspace/config/dspace.cfg?
> >> Because the former is where ant should look for this information, at
> >> least if I understand the docs correctly. I never changed it myself.
> >>
> >> http://dspacedev2.org/1_5_2Documentation/ch03.html#N10726
> >
> > Aye... I indeed made the changes in the [dspace-
> source]/dspace/config/dspace.cfg file ... in the 1.5.x installation there are
> other things hard-coded to /dspace that aren't listed in the docs.  I don't
> really want to use a symlink ... but I suppose in order to get this work with
> least-resistance, I'll be forced to do that.

Hi Claudia,

Using the upgrade procedures in Chapter 4... I ran the mvn package:

cd [dspace-source]/dspace/
mvn package

Then ran the ant using merely update per the doc...

cd [dspace-source]/dspace/target/dspace-1.5-build.dir/
ant -Dconfig=[dspace]/config/dspace.cfg update

... such as ...

$ ant -Dconfig=/data/dspace/config/dspace.cfg update
Buildfile: build.xml

prepare_configs:
    [mkdir] Created dir: 
/usr/local/src/dspace/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/config-temp
     [copy] Copying 1 file to 
/usr/local/src/dspace/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/config-temp
     [copy] Copying 1 file to 
/usr/local/src/dspace/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/config-temp
     [copy] Copying 43 files to 
/usr/local/src/dspace/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/config-temp

copy_configs_keep:
     [copy] Copying 45 files to /dspace/config

BUILD FAILED
/usr/local/src/dspace/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/build.xml:279:
 Failed to copy 
/usr/local/src/dspace/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/config-temp/registries/bitstream-formats.xml
 to /dspace/config/registries/bitstream-formats.xml due to 
/dspace/config/registries/bitstream-formats.xml (No such file or directory)

Total time: 0 seconds

Thoughts?

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