Dear Friend,
You follow the following tips for your problem.
Adding Variables and Export
ANT_HOME=”/usr/ant”
JAVA_HOME=”/usr/java”
JAVA_OPTS=”-Xmx512M-Xms64M-Dfile.encoding=UTF-8”
PATH=$PATH:/usr/ant/bin:/usr/java/bin:/usr/tomcat/bin
export ANT_HOME JAVA_HOME JAVA_OPTS
dspace user and source directory
useradd -m dspace
cd /
mkdir dspace
mkdir dspace-src
Changing the Ownership and group
chown –R dspace dspace
chgrp –R dspace dspace
chown –R dspace dspace-src
chgrp –R dspace dspace-src
reboot
Compiling Dspace
su –l dspace
cd /dspace-src
ant fresh_install
cp /dspace-src/build/*.war /usr/tomcat/webapps/
cd /dspace-src/bin
create-administrator
index-all
Starting the Tomcat Service
chown –R dspace tomcat
chgrp – R dspace tomcat
startup.sh start
Dr.M.Krishnamurthy,M.A.,M.L.I.Sc., PhD.
Fulbright Scholar(University of Illinois,USA)
Library-In-Charge
Indian Statistical Institute,
Bangalore Centre Library
8th Mile Mysore Road
Bangalore 560059
Ph: 91-080-28483002/3/5
Fax: 91-080-28484265
> From: [EMAIL PROTECTED]> Subject: Dspace-general Digest, Vol 64, Issue 2>
> To: [email protected]> Date: Mon, 3 Nov 2008 12:08:05 -0500> > Send
> Dspace-general mailing list submissions to> [email protected]> > To
> subscribe or unsubscribe via the World Wide Web, visit>
> http://mailman.mit.edu/mailman/listinfo/dspace-general> or, via email, send
> a message with subject or body 'help' to> [EMAIL PROTECTED]> > You can reach
> the person managing the list at> [EMAIL PROTECTED]> > When replying, please
> edit your Subject line so it is more specific> than "Re: Contents of
> Dspace-general digest..."> > > Today's Topics:> > 1. Re: regarding
> installation of dspace1.5.1-release...> (Shashank Sahni)> 2. Re: regarding
> installation of dspace1.5.1-release...> (Shashank Sahni)> 3. Re: regarding
> installation of dspace1.5.1-release...> (Shashank Sahni)> > >
> ----------------------------------------------------------------------> >
> Message: 1> Date: Mon, 3 Nov 2008 02:23:30 +0530> From: "Shashank Sahni"
> <[EMAIL PROTECTED]>> Subject: Re: [Dspace-general] regarding installation
> of> dspace1.5.1-release...> To: [email protected]> Message-ID:> <[EMAIL
> PROTECTED]>> Content-Type: text/plain; charset="iso-8859-1"> > Hey, sorry
> people... it was my fault.. i was not actually running the> command "mvn
> clean package" in the directory..which contained the pom.xml> file..but even
> after doing that....i got the same error..when i executed the> command "mvn
> clean package" as a dspace user in the directory containing the> pom.xml
> file..( [dspace-source]/[dspace]/) which had user "dspace" as an> owner for
> both user as well as group..> i got the following error..> > [INFO] Scanning
> for projects...> [INFO] Reactor build order:> [INFO] DSpace Addon Modules>
> [INFO] DSpace XML-UI (Manakin) :: Web Application> [INFO] DSpace LNI :: Web
> Application> [INFO] DSpace OAI :: Web Application> [INFO] DSpace JSP-UI ::
> Web Application> [INFO] DSpace SWORD :: Web Application> [INFO] DSpace
> Assembly and Configuration> [INFO]>
> ------------------------------------------------------------------------>
> [INFO] Building DSpace Addon Modules> [INFO] task-segment: [clean, package]>
> [INFO]>
> ------------------------------------------------------------------------>
> [INFO]>
> ------------------------------------------------------------------------>
> [ERROR] BUILD ERROR> [INFO]>
> ------------------------------------------------------------------------>
> [INFO] The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not>
> exist or no valid version could be found> [INFO]>
> ------------------------------------------------------------------------>
> [INFO] For more information, run Maven with the -e switch> [INFO]>
> ------------------------------------------------------------------------>
> [INFO] Total time: 4 seconds> [INFO] Finished at: Mon Nov 03 02:17:03
> GMT+05:30 2008> [INFO] Final Memory: 11M/20M> [INFO]>
> ------------------------------------------------------------------------> >
> Now, how do i get this done..> > > I changed the owner ship of the
> installation directory to dspace for> > both> > user as well as group..and
> then did mvn clean package..but the problem> > persists..> > After that when
> i tried to do 'mvn package' again..but it gave the same> > problem...> >
> [INFO] Scanning for projects...> > [INFO]> >
> ------------------------------------------------------------------------> >
> [INFO] Building Maven Default Project> > [INFO] task-segment: [package]> >
> [INFO]> >
> ------------------------------------------------------------------------> >
> [INFO]> >
> ------------------------------------------------------------------------> >
> [ERROR] BUILD ERROR> > [INFO]> >
> ------------------------------------------------------------------------> >
> [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does> >
> not> > exist or no valid version could be found> > [INFO]> >
> ------------------------------------------------------------------------> >
> [INFO] For more information, run Maven with the -e switch> > [INFO]> >
> ------------------------------------------------------------------------> >
> [INFO] Total time: 1 second> > [INFO] Finished at: Thu Oct 30 22:47:51
> GMT+05:30 2008> > [INFO] Final Memory: 9M/15M> > [INFO]> >
> -----------------------------------------------------------------------> >>
> >> -------------- next part --------------> An HTML attachment was
> scrubbed...> URL:
> http://mailman.mit.edu/pipermail/dspace-general/attachments/20081103/87a45b34/attachment-0001.htm>
> > ------------------------------> > Message: 2> Date: Mon, 3 Nov 2008
> 18:08:11 +0530> From: "Shashank Sahni" <[EMAIL PROTECTED]>> Subject: Re:
> [Dspace-general] regarding installation of> dspace1.5.1-release...> To:
> "Robert Roggenbuck" <[EMAIL PROTECTED]>,> [email protected]>
> Message-ID:> <[EMAIL PROTECTED]>> Content-Type: text/plain;
> charset="iso-8859-1"> > No, i think i have to execute the command "mvn clean
> package" in the> [dspace-source]/[dspace] directory..But i am facing a
> really different> problem now..> someone suggested me to use this link..>
> http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04 to>
> install dspace on your machine..I did everything step by step..and there is>
> one line in that page where it says that if you are getting some errors>
> while building packages because of using gcj instead of sun java..then>
> remove the ~/.m2 file in the 'dspace' user home directory and then start>
> afresh..> I did the same.but then i again got the following error..while
> doing "mvn> clean package".> http://dspace.pastebin.com/m5e0aa875> I have my
> proxy settings configured for maven..so i don't think that the> problem is
> due to internet connectivity..I created a setttings.xml file in> the ~/.m2
> file in the home directory of user 'dspace' and used the settings> given in
> the following link..http://maven.apache.org/settings.html#Proxies> So, i
> think that resolved my connection problem..But i m still getting this>
> problem..> > On Mon, Nov 3, 2008 at 2:27 PM, Robert Roggenbuck <> [EMAIL
> PROTECTED]> wrote:> > > Be aware that there are a lot of pom.xml files in
> the directory tree. You> > must issue it in the [dspace-source] folder.> >>
> > Greetings> >> > Robert> >> -------------- next part --------------> An
> HTML attachment was scrubbed...> URL:
> http://mailman.mit.edu/pipermail/dspace-general/attachments/20081103/3e7ddd4d/attachment-0001.htm>
> > ------------------------------> > Message: 3> Date: Mon, 3 Nov 2008
> 22:21:42 +0530> From: "Shashank Sahni" <[EMAIL PROTECTED]>> Subject: Re:
> [Dspace-general] regarding installation of> dspace1.5.1-release...> To:
> "Robert Roggenbuck" <[EMAIL PROTECTED]>,> [email protected]>
> Message-ID:> <[EMAIL PROTECTED]>> Content-Type: text/plain;
> charset="iso-8859-1"> > That's no problem...nobody knows everything...you
> have been a great help..> and regarding the problem..I am using sun java 6
> ..as i have already> mentioned..this link..>
> http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04handles>
> the issues regarding java...but i have got really frustrated while>
> installing dspace on my system...around a week has passed and i am still>
> unable to uninstall it..It's really freaking me out..> > On Mon, Nov 3, 2008
> at 9:14 PM, Robert Roggenbuck <> [EMAIL PROTECTED]> wrote:> > > I am not a
> maven expert, and do not know anything about the handling of a> > .m2 file.
> But You need to use a Sun Java 5 compatible JDK. As far as I know> > gcj is
> not compatible to Suns Java.> >> > Greetings> >> > Robert> >> > PS: May be
> You should post You problem to the dspace-tech mailing list,> > because You
> problem is more "technical" then "general".> >> >> > Shashank Sahni
> schrieb:> >> >> No, i think i have to execute the command "mvn clean
> package" in the> >> [dspace-source]/[dspace] directory..But i am facing a
> really different> >> problem now..> >> someone suggested me to use this
> link..> >>
> http://wiki.dspace.org/index.php/Installing_DSpace_1.5_on_Ubuntu_8.04 to> >>
> install dspace on your machine..I did everything step by step..and there> >>
> is> >> one line in that page where it says that if you are getting some
> errors> >> while building packages because of using gcj instead of sun
> java..then> >> remove the ~/.m2 file in the 'dspace' user home directory and
> then start> >> afresh..> >> I did the same.but then i again got the
> following error..while doing "mvn> >> clean package".> >>
> http://dspace.pastebin.com/m5e0aa875> >> I have my proxy settings configured
> for maven..so i don't think that the> >> problem is due to internet
> connectivity..I created a setttings.xml file in> >> the ~/.m2 file in the
> home directory of user 'dspace' and used the> >> settings> >> given in the
> following link..> >> http://maven.apache.org/settings.html#Proxies> >> So, i
> think that resolved my connection problem..But i m still getting> >> this>
> >> problem..> >>> >> On Mon, Nov 3, 2008 at 2:27 PM, Robert Roggenbuck <> >>
> [EMAIL PROTECTED]> wrote:> >>> >> Be aware that there are a lot of pom.xml
> files in the directory tree. You> >>> must issue it in the [dspace-source]
> folder.> >>>> >>> Greetings> >>>> >>> Robert> >>>> >>>> >>> >>
> ------------------------------------------------------------------------>
> >>> >> _______________________________________________> >> Dspace-general
> mailing list> >> [email protected]> >>
> http://mailman.mit.edu/mailman/listinfo/dspace-general> >>> >> > --> >> >
> ===================================> > Robert Roggenbuck> >
> Universitaetsbibliothek Osnabrueck> > Alte Muenze 16> > D-49074 Osnabrueck>
> > Germany> > Tel ++49/541/969-4344 Fax -4482> > [EMAIL PROTECTED]> >> >
> Postbox:> > Postfach 4496> > D-49034 Osnabrueck> >
> ===================================> >> -------------- next part
> --------------> An HTML attachment was scrubbed...> URL:
> http://mailman.mit.edu/pipermail/dspace-general/attachments/20081103/64778ca1/attachment-0001.htm>
> > ------------------------------> >
> _______________________________________________> Dspace-general mailing
> list> [email protected]>
> http://mailman.mit.edu/mailman/listinfo/dspace-general> > > End of
> Dspace-general Digest, Vol 64, Issue 2>
> *********************************************
_________________________________________________________________
Want to explore the world? Visit MSN Travel for the best deals.
http://in.msn.com/coxandkings
_______________________________________________
Dspace-general mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/dspace-general