You could do:

mkdir
-p /home/dspace-1.6.2-src-ilri/dspace-xmlui/dspace-xmlui-wing/target/classes

To ensure that the target directory exists. Whatever exists in the target
directories before compilation is not that important since maven compiles
all the .java files, which get output to the target directories.

Its somewhat strange that you're running into this error.
Did you get the dspace source from github? (Since git doesn't track empty
directories)
Are the filesystem permissions correct? (dspace user or whoever owns the
directories)
Also, its strange that the path is /home/dspace-1.6.2-src-ilri, since linux
will usually have /home/USERNAME/directory. If you created that directory
(dspace-1.6.2-src-ilri) for the source in /home, then I guess that works.


Peter Dietz



On Tue, May 24, 2011 at 6:55 AM, Webshet, Sisay (ILRI)
<[email protected]>wrote:

>
>
> Hi Everybody
>
>
>
> When I try to make a redeployment on dspace 1.6.2
>
> Build failed
>
> mvn -U clean package  or mvn package
>
> Failure executing javac, but could not parse the error:
>
> javac: directory not found:
> /home/dspace-1.6.2-src-ilri/dspace-xmlui/dspace-xmlui-wing/target/classes
>
>
>
> I viewed target folder doesn’t exist in its proper place.
>
>
>
> Is there away to restore the folder to run maven properly
>
>
>
> Thanks
>
>
>
> sisay
>
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to