I have bee using Fop for while in applications I am developing on the Mac.
A couple of weeks ago Apple updated their Java VM, Java VM 1.4.2 Update 1. Their improvements made my fop processor stop working with the error:
2004-08-26 04:09:14.463 FopService[8097] Apple AWT Java VM was loaded on first thread -- can't start AWT.
I was confused about this, until I remembered that a couple of years ago I was informed that AWT was not supported. The Java VM 1.4.2 Update 1, the support of Swing and AWT objects was improved, however, in their improvements they coded it in such a was as to not allow an application to start Java AWT on the main thread in their standard application pattern. This update created the above error. It worked in headless mode before the Java VM 1.4.2 Update 1.
After a couple of weeks of frustration I was able to get FOP working again using a Cocoa detached thread, NSThread.
There is a small group of us using FOP on the MacOS. I just wanted folks to know that FOP is usable on the mac and it seems to work well on its own thread. I am no expert on threads but a Cocoa thread is not a Java thread. That had me confused for a while.
I would like to contribute some coding examples if they are wanted by the FOP developers. I would like some feedback on how I am doing it.
In the Xerces C++ group they have a directory named Projects, that is where the MacOS Xcode project could go in the FOP CVS tree. I would be happy to add one if there is an interest.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
