-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Reading you mail again I think I now got what you try to say :-)
A java class that simulates the cocoon.sh/cocoon.bat stuff, right? And a
cocoon.sh/cocoon.bat combo to just start that java class without the
hassle of the different toolset and env variable handlings those OS
have.
I have to think about it whether the jetty-start.jar can do that as
well. Give my some time to check it out.
On Thu, 29 Dec 2005, Giacomo Pati wrote:
Date: Thu, 29 Dec 2005 11:55:16 +0100 (CET)
From: Giacomo Pati <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [2.2] Unable to start Cocoon with Win
--[PinePGP]--------------------------------------------------[begin]--
On Thu, 29 Dec 2005, Carsten Ziegeler wrote:
Date: Thu, 29 Dec 2005 09:24:10 +0100
From: Carsten Ziegeler <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [2.2] Unable to start Cocoon with Win
Giacomo Pati schrieb:
>
> As I wrote before: Some Windows gurus need to adapt the new cocoon.sh
> script to the cocoon.bat one as I'm out of Windows scripting capbilities
> for years.
>
> In particular this is adding the commons-logging and IIRC the
> avalon-logkit jars to the start classpath.
>
> Sorry for the inconvenience.
>
Ah, sorry, I haven't read your mails yet...I tried this but failed.
I'll give it another try today. I'm more and more thinking of writing a
real loader Java class evaluation command line parameters etc, so we
In cocoon.sh I started using the jetty start.jar to setup the classpath
(that class is an enhanced version of the Loader class Stefano has
written once for cocoon in tools/src/loader/Loader.java) which uses a
config file (tools/jetty/config/jetty-start.config) and launch the main
class. I don't think we need anotehr Loader class again as I think the
jetty start loader class if pretty comfortable and can do that all (well
you need to read the comment header in that file to understand).
have to implement all the logic only once. Or perhaps m2 with the jetty
plugin can help us?
The m2 jetty plugin is fine when you need to deploy the webapp in a
servlet container for automated tests (think of httpunit). But
some commments on this and the user list states that people are using
the
cocoon.sh/cocoon.bat scripts for launching a cocoon in their
production/live environments.
Thanks
Carsnte
^^^^^^^ have you been in a hurry :-)
--
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com
--[PinePGP]-----------------------------------------------------------
gpg: Signature made Thu Dec 29 11:55:20 2005 CET using DSA key ID 98E35590
gpg: Good signature from "Giacomo Pati <[EMAIL PROTECTED]>"
gpg: aka "Giacomo Pati <[EMAIL PROTECTED]>"
gpg: aka "Giacomo Pati <[EMAIL PROTECTED]>"
--[PinePGP]----------------------------------------------------[end]--
- --
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDs8MKLNdJvZjjVZARAgWEAJ9vm5D8JfFSEjWtRIJH00TQRuZUlwCaAnDt
b8Qb3MHAVExKAwva+B9E3bs=
=ilUX
-----END PGP SIGNATURE-----