Hello Andy,

Am 22.07.2010 16:30, schrieb Speagle, Andy:

> cd [dspace-source]/dspace/target/dspace-1.5-build.dir/
> ant -Dconfig=[dspace]/config/dspace.cfg update
With -Dconfig=[PathToConfig] you do specify another than the default 
path to the config.

In your case ant is using
/data/dspace/config/dspace.cfg
rather than the dspace.cfg you customized in the source directory

As you have already run mvn package just
cd 
/usr/local/src/dspace/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir
and run
ant init_configs

Hope that helps

Claudia Jürgen



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

-- 
Mit freundlichen Gruessen

Claudia Juergen
Universitaetsbibliothek Dortmund
Eldorado
0231/755-4043
https://eldorado.tu-dortmund.de/

------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to