Hi Kazi,

It looks like you may be using the wrong version of Maven to build 
DSpace.  There are known issues with using Maven 2.0.x with DSpace 
1.7.2.  Please see this note:
https://wiki.duraspace.org/display/DSDOC/Installation#Installation-ApacheMaven2.2.x%28Javabuildtool%29

If you use Maven 2.2.1, then your /target/dspace-1.7.2-build.dir/ should 
build properly.  Currently, it looks like it is not structured properly 
(which likely means you are using Maven 2.0.x).

- Tim

On 10/21/2011 7:35 AM, kazi wrote:
> Dear community,
>
> Helix thankx for ur help. after that I face the error below---------
>
>
> dspace@localhost:~/dspace-1.7.2-src-release/dspace/target/dspace-1.7.2-build.dir$
> ls
> bin        CHANGES  docs  KNOWN_BUGS  LICENSE  solr
> build.xml  config   etc   lib         README   webapps
> dspace@localhost:~/dspace-1.7.2-src-release/dspace/target/dspace-1.7.2-build.dir$
> ant fresh_install
> Buildfile:
> /home/dspace/dspace-1.7.2-src-release/dspace/target/dspace-1.7.2-build.dir/build.xml
>
> init_installation:
>
> init_configs:
>       [copy] Copying 1 file to /dspace/config
>
> BUILD FAILED
> /home/dspace/dspace-1.7.2-src-release/dspace/target/dspace-1.7.2-build.dir/build.xml:736:
> Failed to copy
> /home/dspace/dspace-1.7.2-src-release/dspace/target/dspace-1.7.2-build.dir/config/dspace.cfg
> to /dspace/config/dspace.cfg due to java.io.FileNotFoundException
> /dspace/config/dspace.cfg (Permission denied) and I couldn't delete the
> corrupt /dspace/config/dspace.cfg
>
> Total time: 1 second
> dspace@localhost:~/dspace-1.7.2-src-release/dspace/target/dspace-1.7.2-build.dir$
>
> pls help in this regard.
>
>   regards,
> kazi
>
> --
> View this message in context: 
> http://dspace.2283337.n4.nabble.com/ant-fresh-install-failed-tp3925184p3925184.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> The demand for IT networking professionals continues to grow, and the
> demand for specialized networking skills is growing even more rapidly.
> Take a complimentary Learning@Cisco Self-Assessment and learn
> about Cisco certifications, training, and career opportunities.
> http://p.sf.net/sfu/cisco-dev2dev
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to