Configuring Netbeans - missing org.apache.fop.fonts
Hi, Hope you may help me out. I am configuring netbeans 6.5 with the latest FOP trunk. I am getting an import error for the following: import org.apache.fop.fonts.*; and import javax.media.* However, I am able to do a clean build in ant. How can I resolve these in netbeans? Thanks, Phil -- View this message in context: http://www.nabble.com/Configuring-Netbeans---missing--org.apache.fop.fonts-tp21126843p21126843.html Sent from the FOP - Dev mailing list archive at Nabble.com.
RE: Configuring Netbeans - missing org.apache.fop.fonts
Fop has some generated source files which the ant build creates. Run your ant build first then add the generated sources (build/gensrc) to NetBeans as a second source directory. See also http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide. Manuel -Original Message- From: bonekrusher [mailto:djs...@yahoo.com] Sent: Monday, 22 December 2008 9:17 PM To: fop-dev@xmlgraphics.apache.org Subject: Configuring Netbeans - missing org.apache.fop.fonts Hi, Hope you may help me out. I am configuring netbeans 6.5 with the latest FOP trunk. I am getting an import error for the following: import org.apache.fop.fonts.*; and import javax.media.* However, I am able to do a clean build in ant. How can I resolve these in netbeans? Thanks, Phil -- View this message in context: http://www.nabble.com/Configuring-Netbeans---missing--org.apache.fop.fonts-t p21126843p21126843.html Sent from the FOP - Dev mailing list archive at Nabble.com.
RE: Configuring Netbeans - missing org.apache.fop.fonts
Thanks, That has resolved the issue with the fonts. I still am missing: import javax.media.jai.* According to the wiki, there needs to be a source package folder called src/java-1.4 However, I can't seem to find it. Any thoughts? Phil -- View this message in context: http://www.nabble.com/Configuring-Netbeans---missing--org.apache.fop.fonts-tp21126843p21127306.html Sent from the FOP - Dev mailing list archive at Nabble.com.
RE: Configuring Netbeans - missing org.apache.fop.fonts
Never mind I had to download jai-1_1_2_01-lib-windows-i586.exe From: https://jai.dev.java.net/binary-builds.html The wiki is a little outdated. Regards, Phil -- View this message in context: http://www.nabble.com/Configuring-Netbeans---missing--org.apache.fop.fonts-tp21126843p21127678.html Sent from the FOP - Dev mailing list archive at Nabble.com.
DO NOT REPLY [Bug 46336] Synchronization fault in FontInfoFinder
https://issues.apache.org/bugzilla/show_bug.cgi?id=46336 --- Comment #6 from Andreas L. Delmelle adelme...@apache.org 2008-12-22 16:03:38 PST --- Created an attachment (id=23047) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23047) patch proposal Another attempt, slightly better IIC, but still not bullet-proof. If getFontInfos() returns an outdated entry, and another thread has already started the removal/readdition, then the thread will wait until it is notified by either addFont() or registerFailedFont(). Tricky bits: - after the notification, we're still not sure that it stems from the same font we're waiting for... (any addFont() or registerFailedFont() will trigger notifyAll()) - if the removal/readdition has begun, and one thread is busy reloading the font, getFontInfos() will still return null (parallel loading still remains possible) Remaining question (not immediately clear to me): Is it conceivable that one thread removes the outdated entry, yet neither addFont() nor registerFailedFont() is called later? It didn't seem so, but should that be the case, the wait() method should probably be passed a reasonable maximum duration to avoid eternal sleep. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 46336] Synchronization fault in FontInfoFinder
https://issues.apache.org/bugzilla/show_bug.cgi?id=46336 Andreas L. Delmelle adelme...@apache.org changed: What|Removed |Added Attachment #23047|0 |1 is obsolete|| --- Comment #7 from Andreas L. Delmelle adelme...@apache.org 2008-12-22 16:49:31 PST --- Created an attachment (id=23048) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23048) updated patch Slight improvement over the previous patch: Added a Set of 'changingFonts', to keep track of which fonts are in the process of being reloaded. Upon encountering an outdated entry, its embedUrl is added to the Set. Later on, either addFont() or registerFailedFont() will remove it again. Other threads will wait while the font is in transition, and can check the changingFonts set to see if the font corresponding to the embedUrl was already reloaded. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
DO NOT REPLY [Bug 46336] Synchronization fault in FontInfoFinder
https://issues.apache.org/bugzilla/show_bug.cgi?id=46336 Andreas L. Delmelle adelme...@apache.org changed: What|Removed |Added Attachment #23048|0 |1 is obsolete|| --- Comment #8 from Andreas L. Delmelle adelme...@apache.org 2008-12-22 16:59:40 PST --- Created an attachment (id=23049) -- (https://issues.apache.org/bugzilla/attachment.cgi?id=23049) correction previous one still buggy on the transient set... -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are the assignee for the bug.
Re: Configuring Netbeans - missing org.apache.fop.fonts
I just tried to do a clean checkout, build and create a NetBeans project. Form a previous experience, I put ant.jar. qdox.jar and XMLUnit.jar in the lib directory, and tried to build 'package' from the command line. Got a class not found fro XMLizable in one of the event producer tasks. Manuel Mall wrote: Fop has some generated source files which the ant build creates. Run your ant build first then add the generated sources (build/gensrc) to NetBeans as a second source directory. See also http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide. Manuel -Original Message- From: bonekrusher [mailto:djs...@yahoo.com] Sent: Monday, 22 December 2008 9:17 PM To: fop-dev@xmlgraphics.apache.org Subject: Configuring Netbeans - missing org.apache.fop.fonts Hi, Hope you may help me out. I am configuring netbeans 6.5 with the latest FOP trunk. I am getting an import error for the following: import org.apache.fop.fonts.*; and import javax.media.* However, I am able to do a clean build in ant. How can I resolve these in netbeans? Thanks, Phil -- Peter B. West http://cv.pbw.id.au/ Folio http://defoe.sourceforge.net/folio/
Re: Configuring Netbeans - missing org.apache.fop.fonts
XMLizable is in xmlgraphics-commons.jar. On 23.12.2008 05:19:25 Peter B. West wrote: I just tried to do a clean checkout, build and create a NetBeans project. Form a previous experience, I put ant.jar. qdox.jar and XMLUnit.jar in the lib directory, and tried to build 'package' from the command line. Got a class not found fro XMLizable in one of the event producer tasks. Manuel Mall wrote: Fop has some generated source files which the ant build creates. Run your ant build first then add the generated sources (build/gensrc) to NetBeans as a second source directory. See also http://wiki.apache.org/xmlgraphics-fop/FOPIDESetupGuide. Manuel -Original Message- From: bonekrusher [mailto:djs...@yahoo.com] Sent: Monday, 22 December 2008 9:17 PM To: fop-dev@xmlgraphics.apache.org Subject: Configuring Netbeans - missing org.apache.fop.fonts Hi, Hope you may help me out. I am configuring netbeans 6.5 with the latest FOP trunk. I am getting an import error for the following: import org.apache.fop.fonts.*; and import javax.media.* However, I am able to do a clean build in ant. How can I resolve these in netbeans? Thanks, Phil -- Peter B. West http://cv.pbw.id.au/ Folio http://defoe.sourceforge.net/folio/ Jeremias Maerki