Heads up,

Just changing the option '-Dbasedir' for '-Ddspace.dir' then build.xml gets 
it right and does it's things.

El dimecres, 11 gener de 2017 13:47:25 UTC+1, Lluís Madurell Alemany va 
escriure:
>
> Hi,
>
> Trying to set up a testing environment with the 5_x_x version of 
> DSpace-CRIS in GitHub. (
> https://github.com/4Science/DSpace/tree/dspace-5_x_x-cris)
>
> OS: SUSE SLES11-SP4
> Tomcat 7
> Maven: 3.3.9 (JDK: 1.7)
> Ant: 1.9.6
>
> Also build.properties changed to test.properties and I could run perfectly 
> 'mvn package -Denv=test'
>
> Then I run 'ant fresh_install -d -Dbasedir=/dspace/bintest' (because we 
> have a running production dspace in our /dspace/bin and we want another one 
> fresh in bintest)
>
> Because I run with debug option I can verify that basedir is correct, Ant 
> says: Project base dir set to: /dspace/bintest
> Ant keeps working and then:
>
> [property] Loading /root/.dspace.properties
> [property] Unable to find property file: /root/.dspace.properties
>
> BUILD FAILED
> /dspace/dspace-parent/dspace/target/dspace-installer/build.xml:79: Source 
> resource does not exist: /dspace/bintest/config/dspace.cfg
>
> I'm doing a fresh install into a new directory (empty of course), I would 
> expect this error when running 'ant update_configs'. I understood that when 
> running ant it creates the dspace.cfg based on build.properties (or 
> test.properties).
>
> I looked up, tried several things like setting this option -Dconfig= with 
> the dspace.cfg inside my dspace-source but not a good idea. Checked 
> build.xml but to me seems good. Also in DSpace-Manual 2.9.1 Common 
> Installation Issues, no luck. 
>
> So not sure whats going on.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to