Hello,

After installing the JDK, you will need to rebuild DSpace (the "mvn
package" step).  It is highly likely that the build.xml file was not
created because the Maven build process failed to generate it previously.
So, please try rebuilding DSpace again using "mvn package" and hopefully
that will resolve the problem of the missing build.xml file.

For reference, please see steps 7 and 8 in the Installation instructions
here (as those are the steps you will need to rerun):
https://wiki.duraspace.org/display/DSDOC6x/Installing+DSpace#InstallingDSpace-Installation

Good luck,

Tim

On Thu, Aug 17, 2017 at 8:30 AM Βασιλική Γώγου <[email protected]>
wrote:

> I've installed jdk:
>
> apt-get install openjdk-8-jdk
>
> update-alternatives --config java
>
> select
>
> 2            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java   1081      
> manual mode
>
>
> and next:  ant fresh_install
> Buildfile: build.xml does not exist!
> Build failed
>
>  What's wrong with jdk?
>
>
>
> Τη Πέμπτη, 17 Αυγούστου 2017 - 1:04:47 π.μ. UTC+3, ο χρήστης Βασιλική
> Γώγου έγραψε:
>
>> Hi,
>> I just noticed that the tools.jar and build.xml are missing.
>>
>> *root@dima-vm:/dspace-6.1-src-release/dspace/target/dspace-installer# ant
>> fresh_install* *Unable to locate tools.jar. Expected to find it in
>> /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar* *Buildfile: build.xml
>> does not exist!* *Build failed* root@dima-vm
>> :/dspace-6.1-src-release/dspace/target/dspace-installer#
>>
>> Any recommedations?
>>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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 [email protected].
To post to this group, send email to [email protected].
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