Dear Kostas, I made all you told me, but I`ve still the save error. This is
the first time I am trying to install open software. Is is posible to make
everything again? or i need to uninstall ? I do not know what to do.
Thanks for all your help.
Jimena
On Mon, Jun 17, 2013 at 3:07 PM, Kostas Stamatis <[email protected]> wrote:
> Dear Jimera,
>
> File "c:\dspace-3.1-src-release\dspace\config\dspace.cfg" seems to have a
> problem. This is the source file and the point that says:
>
> dspace.dir = ${C:/DSpace.}
>
> should be what is by default:
>
> dspace.dir = ${dspace.install.dir}
>
> When maven runs, it should replace the whole ${dspace.install.dir} with
> what is declared in the file build.properties in the "dspace.install.dir"
> option (which in your case is "c:/dspace".
>
> Thus, you have two options:
>
> 1) Go to
> "c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg"
> and change the line
>
> dspace.dir = ${C:/DSpace.}
>
> with
>
> dspace.dir = c:/dspace
>
> Then run ant.
> Be careful... with this option, you change the installed dspace.cfg file
> which means that if you ever run maven again, the problem will appear again.
>
> 2) Go to "c:\dspace-3.1-src-release\dspace\config\dspace.cfg", change the
> line:
>
> dspace.dir = ${C:/DSpace.}
>
> with:
>
> dspace.dir = ${dspace.install.dir}
>
> and run the whole procedure from the very beggining as I told you in the
> first email.
>
> After running maven, check file
> "c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg"
> and dspace.dir option should be equal to c:/dspace and not ${C:/DSpace.}as it
> is now.
>
>
>
> Hope it helps.
>
> Regards,
>
> Kostas
>
>
> On Jun 17, 2013, at 9:39 PM, Jimena Quiroga <[email protected]> wrote:
>
> Sorry, here it comes the files!
>
> Jimena
>
> On Mon, Jun 17, 2013 at 1:28 PM, Kostas Stamatis <[email protected]> wrote:
>
>> Hi Jimera,
>>
>> Can you please send me the files
>>
>
>
>>
>> "c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\config\dspace.cfg"
>>
>
>
>> "c:\dspace-3.1-src-release\dspace\config\dspace.cfg"? Just to have a look
>> at them as well.
>>
>>
>> Kostas
>>
>>
>>
>>
>> On Jun 17, 2013, at 6:20 PM, Jimena Quiroga <[email protected]> wrote:
>>
>> Hi Konstas, I tried to do all the things you told me, but I`ve still the
>> same error. Could you help me again? Pleeease, I`m sending you the files
>> build.properties and build.xml. Thank u very much!
>>
>> JImena
>>
>>
>>
>> <image.png>
>>
>>
>> On Fri, Jun 14, 2013 at 2:08 AM, Konstantinos Stamatis
>> <[email protected]>wrote:
>>
>>> Hi Jime,****
>>>
>>> ** **
>>>
>>> It seems that the problem lies in the directive ${C:\DSpace.} that is
>>> mentioned in the command line you attached.****
>>>
>>> ** **
>>>
>>> The first thing that “ant fresh_install” does is to create some folders
>>> in the DSpace installation directory (which I guess you have set to
>>> C:\DSpace). The first one is the “bin” directory that you see in the
>>> command line, which fails to be created since the path is not valid
>>> (includes chars like $, : and {} ).****
>>>
>>> ** **
>>>
>>> Keep in mind that you do not need to touch the build.xml file that is
>>> located in path:
>>> c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build\build.xml****
>>>
>>> ** **
>>>
>>> I suggest that you start the procedure from the beginning following
>>> these steps:****
>>>
>>> ** **
>>>
>>> **1) **Go to path: c:\dspace-3.1-src-release****
>>>
>>> **2) **Run: mvn clean****
>>>
>>> **3) **Delete, in case it exists, the fodler C:\DSpace****
>>>
>>> **4) **Edit file build.properties and be sure that
>>> dspace.install.dir is something like C:\DSpace or whatever you like (the
>>> path that DSpace will eventually be installed)****
>>>
>>> **5) **Run: mvn package****
>>>
>>> **6) **Go to path:
>>> c:\dspace-3.1-src-release\dspace\target\dspace-3.1-build****
>>>
>>> **7) **Be sure that build.xml file does not include anything like
>>> C:\DSpace within it****
>>>
>>> **8) **Run: ant fresh_install****
>>>
>>> ** **
>>>
>>> Build.xml file, at the very beginning, tries to read the properties from
>>> file “build.properties” that is located in “c:\dspace-3.1-src-release”, so
>>> that is why build.xml doesn’t need to be edited.****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> Regards,****
>>>
>>> ** **
>>>
>>> Kostas****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> *From:* Jimena Quiroga [mailto:[email protected]]
>>> *Sent:* Friday, June 14, 2013 1:54 AM
>>> *To:* [email protected]
>>> *Subject:* [Dspace-tech] build failed .. creation was not successful
>>> for an unknown reason****
>>>
>>> ** **
>>>
>>> Hi, coud anybody can help me? Im trying to install Dspace in Windows 7
>>> and I´ve this message: ****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> <image001.png>****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> <image002.png>****
>>>
>>> ** **
>>>
>>> ** **
>>>
>>> Somebody help me please!****
>>>
>>> ** **
>>>
>>> Thanks in advance!****
>>>
>>> ** **
>>>
>>> Jime****
>>>
>>
>> <build.xml><build.properties>
>>
>>
>>
> <dspace.cfg><dspace.cfg>
>
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette