Johannes Schaefer wrote:
Ross Gardler wrote:

Johannes Schaefer wrote:

Ross Gardler wrote:

Johannes Schaefer wrote:

[EMAIL PROTECTED] wrote:

Johannes Schaefer wrote:

<snip/>

Thanks for the pointer, I guess I want to try
"... the java wrapper provided by
 http://wrapper.tanukisoftware.org
 to provide jetty as an Win32 service."
since it comes with Jetty 4.2.25 (extra/win32)

<snip/>

Can anyone bridge the gap and give me a commandline like


java org.mortbay.jetty.Server ...

maybe plus some environment variables (CLASSPATH and the lot).

<snip/>

Can you confirm that I read the code correctly?
Why do you call 'ant ... init' first?

1. Invoke ant with
  -Dproject.home=%WORKING_DIR% \
  -Dbasedir=%FORREST_HOME%/main \
  -Dforrest.home=%FORREST_HOME% \
  init

I forgot about that. The reason for the call is because there is some
preparation that needs doing (install of plugins etc). I never
implemented this in Java because it is not a long running process and
therefore doesn't need to be stopped by the user (whereas the server does).


So if I got it right this may be done by 'forrest run' once
and stopping forrest again. Afterwards I may start forrest as
service using the following "command line"?

Yes, as long as there have been no changes (between restarts) to the stuff done in the "init" target of Forrest. From memory this is things like validation checks, copying of fixed resurces etc.

Ross