Hi Chris,
if you already used ant fresh_install and want to use it again run ant
clean_database to clear the db and then ant fresh_install.
If you successfully set up a fresh install and want to update it use
ant update and/or ant init_configs.
Hope that helps
Claudia Jürgen
Chris Ward schrieb:
I have been following this wiki:
http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04
I have edited dspace/config/dspace.cfg to add in my postgresql settings
I have then gone to dspace and run 'mvn package' which downloadeds a log of jar
files and says complete
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
When running it i get lots of [info] lines, a few of these lnes:
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent
and these:
[WARNING] The following patterns were never triggered in this artifact exclusion
filter:
o 'org.dspace:dspace-xmlui-webapp'
o 'org.dspace:dspace-xmlui-lang'
o 'org.dspace:dspace-lni-webapp'
o 'org.dspace:dspace-sword-webapp'
o 'org.dspace:dspace-jspui-webapp'
o 'org.dspace:dspace-oai-webapp'
< br>[WARNING] The following patterns were never triggered in this artifact
exclusion filter:
o '*:war:*'
It then says build successfull
i have gone to dspace/target/dspace-1.5.2-build.dir/ and ran 'ant fresh_install'
which spit out some java warnings saying the database already has a table
(because this is the second time i have run it) then it gives the error:
BUILD FAILED
/var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/dspace-1.5.2-build.dir/build.xml:585:
Java returned: 1
This is really frustrating and the compiling works its jus tthe install that
failes. Why isnt the error more usefull. Could it be a permitino problem or
something?
http://www.ico3.com
ch...@ico3.com
Chris Ward
Web Developer
ICO3 Limited
Tamar Science Park
Davy Rd
Plymouth
01752 764400
-----Original Message-----
Hi Chris,
I think you want 'ant fresh_install', not 'ant clean'. AFAIA there's no
"clean" target for ant for the DSpace project. The closest thing is
clean_database, which you probably don't need for a fresh install.
Have you first run mvn [clean] package from the [dspace-source]/dspace
directory? If so, then cd to
[dspace-source]/dspace/target/dspace-X.X.X-build.dir directory and run
'ant fresh_install' from there.
Please post a little more information about the exact commands you have
been using.
Thanks,
Gary
Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946
> -----Original Message-----
> From: wardy277 [mailto:ch...@ico3.com]
> Sent: Thursday, 13 August 2009 6:03 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] problem installing dspace
>
>
>
> Thank for your reply,
>
> I have installed ant-nodeps (well downloaded it to
> /share/ant/lib/ant-nodeps.jar.) i think that worked but i not
> get a different error:
>
> BUILD FAILED
> /var/lib/tomcat5.5/webapps/dspace-1.5.2-release/dspace/target/
> dspace-1.5.2-build.dir/build.xml:585:
> Java returned: 1
>
> What does thsi mean? also the ant clean returns BUILD FAILED
> Target "clean" does not exist in the project "DSpace".
>
> any ideas?
>
> Chris
>
>
>
>
>
> PAUL A S NEEDHAM wrote:
> >
> > Hi Chris
> >
> > I ran into this problem and fixed it by installing ant-nodeps.
> >
> > Hope this helps!
> >
> > Cheers
> > Paul
> >
> > -----------------------------
> > Paul A S Needham
> > Research & Innovation Manager
> > Kings Norton Library
> > Cranfield University
> > Cranfield
> > MK43 0AL
> >
> > The Kings Norton Library has been awarded Charter Mark, the UK
> > Government standard for excellent customer service.
> >
> > -----Original Message-----
> > From: wardy277 [mailto:ch...@ico3.com]
> > Sent: 12 August 2009 14:03
> > To: dspace-tech@lists.sourceforge.net
> > Subject: [Dspace-tech] problem installing dspace
> >
> >
> > Hi i am having trouble installing dspace on a new server. i have
> > followed the instructions but if failed on the ant fresh_install.
> >
> > I installed dependencies and tools,
> > created users and postgre users and database, got source of
> dspace and
> > used namaven to coompile it.
> >
> > When i ran the ant fresh install, it failed with this error:
> >
> > BUILD FAILED
> >
> >
> /home/dspace/dspace-1.5.2-src-release/dspace/target/dspace-1.5.2-build
> > .dir/b
> > uild.xml:88:
> > No supported regular expression matcher found:
> > java.lang.ClassNotFoundException:
> > org.apache.tools.ant.util.regexp.Jdk14RegexpRegexp
> >
> > Not sure what this nmeans, might be a problem with the java
> dependencies.
> > i
> > have tried it with both java 5 and 6 with no provail. also,
> navigating
> > to the tomcat folder manager/html gives me a blank page,
> could there
> > be a error with tomcat alos?
> >
> > Chris
> >
> > .
> >
> > --
> > View this message in context:
> >
> http://www.nabble.com/problem-installing-dspace-tp24919745p24919745.ht
> > ml Sent from the DSpace - Tech mailing list archive at Nabble.com.
> >
> >
> >
> ----------------------------------------------------------------------
> > ------
> > --
> > Let Crystal Reports handle the reporting - Free Crystal
> Reports 2008
> > 30-Day trial. Simplify your report design, integration and
> deployment
> > - and focus on what you do best, core application coding. Discover
> > what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
> >
> ----------------------------------------------------------------------
> > -------- Let Crystal Reports handle the reporting - Free Crystal
> > Reports 2008 30-Day trial. Simplify your report design, integration
> > and deployment - and focus on what you do best, core application
> > coding. Discover what's new with Crystal Reports now.
> > http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > DSpace-tech mailing list
> > DSpace-tech@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/problem-installing-dspace-tp24919745p249
> 50609.html
> Sent from the DSpace - Tech mailing list archive at Nabble.com.
>
>
> --------------------------------------------------------------
> ----------------
> Let Crystal Reports handle the reporting - Free Crystal
> Reports 2008 30-Day
> trial. Simplify your report design, integration and
> deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now. http://p.sf.net/sfu/bobj-july
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
------------------------------------------------------------------------
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
begin:vcard
fn;quoted-printable:Claudia J=C3=BCrgen
n;quoted-printable:;Claudia J=C3=BCrgen
org;quoted-printable:Universit=C3=A4tsbibliothek Dortmund;Eldorado - Repositorium der TU Dortmund
adr:;;Vogelpothsweg 76;Dortmund;;44227;Germany
email;internet:claudia.juer...@ub.tu-dortmund.de
tel;work:0049-231-755-4043
url:https://eldorado.tu-dortmund.de
version:2.1
end:vcard
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech