[OGo-MacOSX] How can I have the application running in the background without using the windows server
Marcus Müller
macosx@opengroupware.org
Fri, 31 Mar 2006 16:58:15 +0200
--Apple-Mail-2-153654235
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
On 30.03.2006, at 22:42, Helge Hess wrote:
> On 30. Mrz 2006, at 22:34 Uhr, Philippe Laval wrote:
>> I have read in the archive of the mailing list that I could also
>> use :
>> $ ./build/Development/WOExtTest.app/Contents/MacOS/WOExtTest -
>> WOPort 20000 --daemon
This used to work for old SOPE:X applications. SOPE:X used to be
implemented using 2 processes per application (one AppKit process for
the WebKit frontend, a second process for the SOPE backend) ... this
isn't true for the current version which is fully threaded now. There
were multiple reasons for this decision, but it's not within the
scope of this email. The bottom line here is that the --daemon
argument won't work with current SOPE:X.
>> How can I have the application running in the background without
>> using the windows server (and beeing able to close the session
>> without killing the process) ?
>
> Don't know how this works with SOPE:X projects, they probably
> always link AppKit? Marcus will need to answer that.
> I don't remember how SOPE:X works currently, I think it now uses a
> thread while it previously forked a daemon (which in turn did not
> link AppKit).
Read above.
If you don't want the AppKit frontend, then you don't want SOPE:X ...
you just want SOPE for that. (NOTE: SOPE:X is specifically
constructed for merging AppKit with SOPE - no wonder it does some
very specific stuff here.)
I don't have Xcode templates for "plain" SOPE projects, however.
Thinking about it I'm not entirely sure whether you can use the
GNUmakefiles as a safe template approach on Mac OS X for constructing
SOPE projects ... it's very well possible that some assumptions have
been hardcoded into WOResourceManager (and similar classes) how the
resource lookup is done on Mac OS X, which get triggered during
_build_ time. It might be wise to revisit these parts and - if there
are any hardcoded assumptions - replace them with a default driven
process. SOPE:X would then need to set specific defaults during
_runtime_ in order to alter the behavior in a way it requires it ...
Cheers,
Marcus
--
Marcus Mueller . . . crack-admin/coder ;-)
Mulle kybernetiK . http://www.mulle-kybernetik.com
Current projects: http://www.mulle-kybernetik.com/znek/
--Apple-Mail-2-153654235
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><BR><DIV><DIV>On 30.03.2006, at =
22:42, Helge Hess wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">On 30. Mrz 2006, at 22:34 Uhr, Philippe Laval =
wrote:</DIV> <BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">I have read =
in the archive of the mailing list that I could also use :</DIV><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; ">$ =
./build/Development/WOExtTest.app/Contents/MacOS/WOExtTest -WOPort 20000 =
--daemon</DIV> </BLOCKQUOTE></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV>This used to work for old SOPE:X =
applications. SOPE:X used to be implemented using 2 processes per =
application (one AppKit process for the WebKit frontend, a second =
process for the SOPE backend) ... this isn't true for the current =
version which is fully threaded now. There were multiple reasons for =
this decision, but it's not within the scope of this email. The bottom =
line here is that the --daemon argument won't work with current =
SOPE:X.</DIV><DIV><BR><BLOCKQUOTE type=3D"cite"><BLOCKQUOTE =
type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">How can I have the application =
running in the background without using the windows server (and beeing =
able to close the session without killing the process) =
?</DIV></BLOCKQUOTE></BLOCKQUOTE><BLOCKQUOTE type=3D"cite"><BLOCKQUOTE =
type=3D"cite"> </BLOCKQUOTE><DIV style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; =
"><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Don't know how this works with =
SOPE:X projects, they probably always link AppKit? Marcus will need to =
answer that.</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">I don't remember how SOPE:X =
works currently, I think it now uses a thread while it previously forked =
a daemon (which in turn did not link AppKit).</DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV>Read above.</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>If you don't want the =
AppKit frontend, then you don't want SOPE:X ... you just want SOPE for =
that. (NOTE: SOPE:X is specifically constructed for merging AppKit with =
SOPE - no wonder it does some very specific stuff here.)</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>=A0I don't have Xcode =
templates for "plain" SOPE projects, however. Thinking about it I'm not =
entirely sure whether you can use the GNUmakefiles as a safe template =
approach on Mac OS X for constructing SOPE projects ... it's very well =
possible that some assumptions have been hardcoded into =
WOResourceManager (and similar classes) how the resource lookup is done =
on Mac OS X, which get triggered during _build_ time. It might be wise =
to revisit these parts and - if there are any hardcoded assumptions - =
replace them with a default driven process. SOPE:X would then need to =
set specific defaults during _runtime_ in order to alter the behavior in =
a way it requires it ...</DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" size=3D"3" =
style=3D"font: 12.0px Helvetica">Cheers,</FONT></P><P style=3D"margin: =
0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: =
14.0px"><BR></P><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica"><SPAN =
class=3D"Apple-converted-space">=A0<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></SPAN>Marcus</FONT></P><P =
style=3D"margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; =
min-height: 14.0px"><BR></P><P style=3D"margin: 0.0px 0.0px 0.0px =
0.0px"><FONT face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px =
Helvetica">--<SPAN class=3D"Apple-converted-space">=A0</SPAN></FONT></P><P=
style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT face=3D"Helvetica" =
size=3D"3" style=3D"font: 12.0px Helvetica">Marcus Mueller<SPAN =
class=3D"Apple-converted-space">=A0<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></SPAN>.<SPAN =
class=3D"Apple-converted-space">=A0<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></SPAN>.<SPAN =
class=3D"Apple-converted-space">=A0<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></SPAN>.<SPAN =
class=3D"Apple-converted-space">=A0<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></SPAN>crack-admin/coder =
;-)</FONT></P><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Mulle =
kybernetiK<SPAN class=3D"Apple-converted-space">=A0<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></SPAN>.<SPAN =
class=3D"Apple-converted-space">=A0<SPAN =
class=3D"Apple-converted-space">=A0</SPAN></SPAN><A =
href=3D"http://www.mulle-kybernetik.com">http://www.mulle-kybernetik.com</=
A></FONT></P><P style=3D"margin: 0.0px 0.0px 0.0px 0.0px"><FONT =
face=3D"Helvetica" size=3D"3" style=3D"font: 12.0px Helvetica">Current =
projects:=A0<A =
href=3D"http://www.mulle-kybernetik.com/znek/">http://www.mulle-kybernetik=
.com/znek/</A></FONT></P><BR =
class=3D"Apple-interchange-newline"></SPAN></SPAN> =
</DIV><BR></BODY></HTML>=
--Apple-Mail-2-153654235--