If I could have told java itself via some parameter that stdout/stderr should be redirected to a file, that would also work, since I can add parameters to how java will start inside openoffice. But from what I can see, that is not possible either.

--
Christian Andersson


I do not disagree with writing to either stdout or stderr, but when that is not possible, I was only providing a workaround that you can use now. I regularly do this with graphical apps during development... Even when I dump things to stdout, I frequently end up redirecting to a file anyway (assuming a lot of output is flying by).

The problem is that I'm not writing anything to stdout/stderr, the problem I have is that I think that OOo isnot beeang able to create my javaservice even though it continues to execute AFTER the createUnoService call from basic. (previous versions of 1.9 has stopped at this line, but 118 does not)

So I think that java has some problem instatiating my class, and any error here can only be seen by looking at stdout/stderr of the javaprocess, and stdout/stderr of the javaprocess seems to be very inaccessible from within OOo .-(

and since I cannot execute the service, doing any javacalls inside the service to redirect stdout/stderr for java to a file will hence not work either. .-(

which is why I'm looking for a way to redirect stdout/stderr from java from within openoffice... so that I can see if there is anything wrong when instantiating the class...

/Christian Andersson

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to