I'm sure it would be simple to update /dspace/bin/dsrun to detect Cygwin
and do the right thing automatically. I think even the Tomcat scripts
do this.
Would someone like to do this submit the patch to SourceForge?
Robert Tansley / Digital Media Systems Programme / HP Labs
http://www.hpl.hp.com/personal/Robert_Tansley/
> -----Original Message-----
> From: dspace-tech-admin@...
> [mailto:dspace-tech-admin@...] On Behalf Of=20
> Sperr, Edwin
> Sent: 15 February 2005 16:16
> To: Grace Carpenter; dspace-tech@...
> Subject: RE: [Dspace-tech] Create-administrator under Windows
>=20
> Grace,
>=20
> That did the trick. I just needed to add:
>=20
> FULLPATH=3D`cygpath --path --windows "$FULLPATH"`
>=20
> to the original dspace/bin/dsrun, and all is well.
>=20
> Thanks!
>=20
> Ed Sperr
>=20
> -----Original Message-----
> From: Grace Carpenter [mailto:gcarpent@...
> Sent: Tuesday, February 15, 2005 3:36 PM
> To: Sperr, Edwin; dspace-tech@...
> Subject: Re: [Dspace-tech] Create-administrator under Windows
>=20
> Hi Edwin,
>=20
> Many moons ago I put together some Windows install instructions, which
> you can get to by going here:
>=20
> http://wiki.dspace.org/GraceCarpenter
>=20
> and clicking on the Windows install link. I think you have to edit the
> dsrun file, to account for Cygwin's way of dealing with paths (see
> install step #6). It's been a long time, though, since I've reviewed
> these instructions, so I don't know if they're still accurate. Please
> feel free to update/modify the instructions if you gain any new
> insights.
>=20
> -Grace
>=20
>=20
>=20
> At 01:41 PM 2/15/2005 -0500, Sperr, Edwin wrote:
> >I've installed DSpace under Windows XP using Cygwin, following Ralph=20
> >LeVan's instructions at:
> >
> >http://sourceforge.net/mailarchive/forum.php?thread_id=3D201442
> 4&forum_id
> >=3D
> >13580
> >
> >Seemed to compile okay, and I can actually get the home page=20
> to come up
>=20
> >fine, but when I try to create an administrator I get:
> >
> >bash-2.05b$ create-administrator
> >/cygdrive/c/dspace/lib/PDFBox.jar;/cygdrive/c/dspace/lib/acti
> vation.jar
> >;
> >/cygdriv
> >e/c/dspace/lib/commons-cli.jar;/cygdrive/c/dspace/lib/commons
> -collectio
> >n
> >s.jar;/c
> >ygdrive/c/dspace/lib/commons-dbcp.jar;/cygdrive/c/dspace/lib/
> commons-po
> >o
> >l.jar;/c
> >ygdrive/c/dspace/lib/cos.jar;/cygdrive/c/dspace/lib/dspace.ja
> r;/cygdriv
> >e
> >/c/dspac
> >e/lib/handle.jar;/cygdrive/c/dspace/lib/jakarta-poi.jar;/cygd
> rive/c/dsp
> >a
> >ce/lib/j
> >ena.jar;/cygdrive/c/dspace/lib/log4j.jar;/cygdrive/c/dspace/l
> ib/lucene.
> >j
> >ar;/cygd
> >rive/c/dspace/lib/mail.jar;/cygdrive/c/dspace/lib/mets.jar;/c
> ygdrive/c/
> >d
> >space/li
> >b/oaicat.jar;/cygdrive/c/dspace/lib/oro.jar;/cygdrive/c/dspac
> e/lib/post
> >g
> >resql.ja
> >r;/cygdrive/c/dspace/lib/servlet.jar;/cygdrive/c/dspace/lib/t
> m-extracto
> >r
> >s.jar;/c
> >ygdrive/c/dspace/lib/xalan.jar;/cygdrive/c/dspace/lib/xerces.
> jar: not=20
> >found
> >/cygdrive/c/dspace/config: not found
> >Usage: java [-options] class [args...]
> > (to execute a class)
> >
> >Thought maybe I should revert back to the original dsrun=20
> file (with ":"
> >instead of ";"). I got:
> >
> >bash-2.05b$ dsrun org.dspace.administer.CreateAdministrator
> >Exception in thread "main" java.lang.NoClassDefFoundError:
> >org/dspace/administer
> >/CreateAdministrator
> >
> >Sorry if this is an obvious question, but I didn't see=20
> anything in the=20
> >archives...
> >
> >Thanks!
> >
> >Ed Sperr
> >Education / Electronic Resources Librarian New England College of=20
> >Optometry
> >
> >
> >-------------------------------------------------------
> >SF email is sponsored by - The IT Product Guide Read honest & candid=20
> >reviews on hundreds of IT Products from real users.
> >Discover which products truly live up to the hype. Start reading now.
> >http://ads.osdn.com/?ad_ide95&alloc_id396&opick
> >_______________________________________________
> >DSpace-tech mailing list
> >DSpace-tech@...
> >https://lists.sourceforge.net/lists/listinfo/dspace-tech
>=20
> *****************************
> Grace Carpenter
> DSpace Programmer, MIT
> gcarpent@...
> 617-253-1326
>=20
>=20
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from=20
> real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dick
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@...
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>=20
|