Hi All

Replying on my own post, just incase anyone else comes accross this problem.
I didn't have the build.xml file in the C:\DSpace directory. Simple as that.

From the first question I asked, you could tell that i didn't have a clue!
BUILD FAILED. . . Java Returned: 1 is a common question asked because it is
the indicator for a variety of different problems. So it was of no help that
I posted that in my question. So double thanks to Claudia for being able to
help me with such a vague error discription.
Anyone having the same problem should rather look at the lines preceding the
BUILD FAILED message, or the DSpace log. In my case (On Windows) the log
resides at C:\DSpace\Log\dspace.log

Regards
Juuventud



juuventud wrote:
> 
> Claudia
> 
> Thanks for the tip. I know that you are correct because the dspace.cfg for
> 1.4.2 is identical to the one in the guide as opposed to the .cfg for
> 1.5.1 where i had to type in lines instead of altering paramaters. so i
> switched to 1.4.2.
> However, now I get this error when i try to run the line: ant
> fresh_install
>     BUILD FAILED
>     Target "fresh_install" does not exist in the project "FindTask"
> 
> I Know that i've seen this error before, i just can't recall how I
> circumvented it last time.
> 
> Please help again :)
> 
> 
>  
> 
> Claudia Juergen wrote:
>> 
>> Hi,
>> 
>> this dspace for windows guide is for dspace 1.4.2 and lower.
>> The build process (now maven and ant based) has changed with DSpace 1.5.
>> 
>> You'll need Apacha Maven 2.0.8 or later, see
>> [dspace-source]/dspace/docs/html/ch03.html#N10587
>> for prerequisite software.
>> 
>> The installation instructions are at:
>> [dspace-source]/dspace/docs/html/ch03.html#N10787
>> 
>> Hope that helps
>> 
>> Claudia Jürgen
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> juuventud schrieb:
>>> Hi all
>>> 
>>> Herewith a problem that I see on many forums, yet cannot find a good
>>> answer
>>> to. I hope someone can help me with this. I am running (or trying to
>>> run):
>>>     - tomcat 5.5.27
>>>     - ant 1.7.1
>>>     - dspace 1.5.1
>>>     - java: JDK & JRE 5.0 Update 16 (from installer
>>> jdk-1_5_0_16-windows-i586-p.exe)
>>> 
>>> I’ve followed the steps that can be seen at
>>> http://ardb4.ncsi.iisc.ernet.in/dspace/dspacewindows.htm - this is a
>>> really
>>> excellent guide by the way – and have gotten up to the last part where
>>> it
>>> says that you must run: ant fresh_install.
>>> 
>>> But when i run ant fresh_install, i get an error saying:
>>>           BUILD FAILED
>>>           C:\DSpace\dspace\build.xml:380: Java returned: 1
>>> 
>>> Now I’ve searched many forums and seen this exact problem bemoaned
>>> countless
>>> times. However I have yet to find a good answer, especially a good
>>> Windows
>>> specific answer.
>>> 
>>> I REALLY hope someone can help me out with this.
>>> 
>>> Many thanks
>> 
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> DSpace-tech mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/DSpace-Windows-installation-error--Build-Failed---Java-Returned%3A-1-tp19881409p20319009.html
Sent from the DSpace - Tech mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to