Re: fop bz versions
On 24/10/2012 00:37, Glenn Adams wrote: Thanks Glenn. What puzzles me is how they solved this problem for all the other projects that were transitioned from BZ to Jira over the years. I will ask about this. Chris yes, see https://issues.apache.org/jira/browse/INFRA-4800 On Tue, Oct 23, 2012 at 5:47 PM, Chris Bowditch bowditch_ch...@hotmail.com mailto:bowditch_ch...@hotmail.com wrote: On 23/10/2012 01:36, Glenn Adams wrote: I added a new version for 1.1, and renamed 1.1dev to trunk. Thanks Glenn. Any news on the port to Jira???
[Bug 45822] [PATCH] AFP Renderer: Minor border Painting Inconsistencies
https://issues.apache.org/bugzilla/show_bug.cgi?id=45822 Mehdi Houshmand med1...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #10 from Mehdi Houshmand med1...@gmail.com --- Amended and fixed in trunk@1403643. -- You are receiving this mail because: You are the assignee for the bug.
Error because of windows 7?
Hi! Please help me to understand my problem and how to fix it. I install the new server now, and my task is to setup/configure all needed software for work of our applications. I just copied the application from old server to new and installed nesessary software for FOP: jre and fop src. In other words, I launch the same .bat-file as on old server, but FOP gives me an error: юъЄ 30, 2012 1:21:07 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-height set to: 11in юъЄ 30, 2012 1:21:07 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-width set to: 8.26in Exception in thread main java.lang.NoClassDefFoundError: org/apache/fop/fo/flo w/table/TableFObj$ColumnNumberPropertyMaker at org.apache.fop.fo.FObj.clinit(FObj.java:45) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.fop.layoutmgr.LayoutManagerMapping.class$(LayoutManagerMap ping.java:96) at org.apache.fop.layoutmgr.LayoutManagerMapping.initialize(LayoutManage rMapping.java:110) at org.apache.fop.layoutmgr.LayoutManagerMapping.init(LayoutManagerMap ping.java:102) at org.apache.fop.area.AreaTreeHandler.init(AreaTreeHandler.java:106) at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFa ctory.java:224) at org.apache.fop.fo.FOTreeBuilder.init(FOTreeBuilder.java:100) at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100) at org.apache.fop.apps.Fop.init(Fop.java:78) at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:247) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:104) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) Caused by: java.lang.ClassNotFoundException: org.apache.fop.fo.flow.table.TableF Obj$ColumnNumberPropertyMaker at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more Caused by: java.io.EOFException: Detect premature EOF at sun.misc.Resource.getBytes(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) ... 22 more --- This is the launch string: D:\web\Prokat\39_Price\fopjava.exe -cp D:\web\Prokat\39_Price\fop\build\fop.ja r;D:\web\Prokat\39_Price\fop\build\fop-sandbox.jar;D:\web\Prokat\39_Price\fop\bu ild\fop-hyph.jar;D:\web\Prokat\39_Price\fop\lib\xml-apis-1.3.04.jar;D:\web\Proka t\39_Price\fop\lib\xml-apis-ext-1.3.04.jar;D:\web\Prokat\39_Price\fop\lib\xerces Impl-2.7.1.jar;D:\web\Prokat\39_Price\fop\lib\xalan-2.7.0.jar;D:\web\Prokat\39_P rice\fop\lib\serializer-2.7.0.jar;D:\web\Prokat\39_Price\fop\lib\batik-all-1.7.j ar;D:\web\Prokat\39_Price\fop\lib\xmlgraphics-commons-1.3.1.jar;D:\web\Prokat\39 _Price\fop\lib\avalon-framework-4.2.0.jar;D:\web\Prokat\39_Price\fop\lib\commons -io-1.3.1.jar;D:\web\Prokat\39_Price\fop\lib\commons-logging-1.0.4.jar;D:\web\Pr okat\39_Price\fop\lib\jai_imageio.jar;D:\web\Prokat\39_Price\fop\lib\fop-hyph.ja r; org.apache.fop.cli.Main -c D:\web\Prokat\39_Price\fop\conf\fop.xconf D:\web\ Prokat\39_Price\fop\..\price.fo D:\fserver/010_Prices\pdf\1\381\price_slivki.pdf sory for such long string :)) line breaks because of windows console --- I can not understand, what is the difference from old server and new. Maybe it only OS: old server is on Windows 2003 Server (32), new is on Windows 7 (32). FOP 0.95 jre is the same version as on old version please help me to understand this problem :) thx -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Error-because-of-windows-7-tp37186.html Sent from the FOP - Dev mailing list archive at Nabble.com.
[Bug 54074] New: page-position=only in conditional-page-master-reference does not work
https://issues.apache.org/bugzilla/show_bug.cgi?id=54074 Priority: P2 Bug ID: 54074 Assignee: fop-dev@xmlgraphics.apache.org Summary: page-position=only in conditional-page-master-reference does not work Severity: normal Classification: Unclassified Reporter: ffim...@gmail.com Hardware: PC Status: NEW Version: trunk Component: page-master/layout Product: Fop Using the attribute page-position=only in a conditional-page-master-reference in order to produce a different page header if the document has only one page does not work. I get the header for multiple page even if I only have one page in the final output document. fo:page-sequence-master master-name=Section_1 fo:repeatable-page-master-alternatives fo:conditional-page-master-reference master-reference=Single page-position=only / fo:conditional-page-master-reference master-reference=Multiple / /fo:repeatable-page-master-alternatives /fo:page-sequence-master If I change the attribute to last, it works fine. fo:page-sequence-master master-name=Section_1 fo:repeatable-page-master-alternatives fo:conditional-page-master-reference master-reference=Single page-position=last / fo:conditional-page-master-reference master-reference=Multiple / /fo:repeatable-page-master-alternatives /fo:page-sequence-master I attached fo and pdf to reproduce the issue. -- You are receiving this mail because: You are the assignee for the bug.
[Bug 54074] page-position=only in conditional-page-master-reference does not work
https://issues.apache.org/bugzilla/show_bug.cgi?id=54074 --- Comment #1 from ffim...@gmail.com --- Created attachment 29527 -- https://issues.apache.org/bugzilla/attachment.cgi?id=29527action=edit Fo file -- You are receiving this mail because: You are the assignee for the bug.
[Bug 54074] page-position=only in conditional-page-master-reference does not work
https://issues.apache.org/bugzilla/show_bug.cgi?id=54074 --- Comment #2 from ffim...@gmail.com --- Created attachment 29528 -- https://issues.apache.org/bugzilla/attachment.cgi?id=29528action=edit pdf -- You are receiving this mail because: You are the assignee for the bug.
[Bug 54074] page-position=only in conditional-page-master-reference does not work
https://issues.apache.org/bugzilla/show_bug.cgi?id=54074 --- Comment #3 from ffim...@gmail.com --- Created attachment 29529 -- https://issues.apache.org/bugzilla/attachment.cgi?id=29529action=edit Last page fo file -- You are receiving this mail because: You are the assignee for the bug.
[Bug 54074] page-position=only in conditional-page-master-reference does not work
https://issues.apache.org/bugzilla/show_bug.cgi?id=54074 --- Comment #4 from ffim...@gmail.com --- Created attachment 29530 -- https://issues.apache.org/bugzilla/attachment.cgi?id=29530action=edit Last page pdf file -- You are receiving this mail because: You are the assignee for the bug.
[Bug 54075] New: Regression introduced in 1401607
https://issues.apache.org/bugzilla/show_bug.cgi?id=54075 Priority: P2 Bug ID: 54075 Assignee: fop-dev@xmlgraphics.apache.org Summary: Regression introduced in 1401607 Severity: normal Classification: Unclassified OS: Linux Reporter: peter.hanc...@gmail.com Hardware: PC Status: NEW Version: trunk Component: general Product: Fop In AbstractPathOrientedRenderer org.apache.xmlgraphics.util.UnitConv has been replaced by org.apache.fop.util.UnitConv -- You are receiving this mail because: You are the assignee for the bug.
[Bug 54075] Regression introduced in 1401607
https://issues.apache.org/bugzilla/show_bug.cgi?id=54075 Peter Hancock peter.hanc...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #1 from Peter Hancock peter.hanc...@gmail.com --- Fixed in 1403657 -- You are receiving this mail because: You are the assignee for the bug.
Re: Error because of windows 7?
Hi, for fop usage related thing, please ask on Fop-users list. Fop-dev list is for FOP internal development. That said, your trace says: java.lang.NoClassDefFoundError: org/apache/fop/fo/flow/table/TableFObj$ColumnNumberPropertyMaker (...) Caused by: java.io.EOFException: Detect premature EOF at sun.misc.Resource.getBytes Possible cause can be - empty file, - wrong path, - permission issue, - etc. You should provide further info or check more details: - how do you run FOP (command line, other...) ? - does java cmd have sufficient permission to access all material (*.jar, images, etc.)? - did you make a clean install of jre, or just copy it? - etc. 2012/10/30 LionMuzzle lionmuz...@mail.ru: Hi! Please help me to understand my problem and how to fix it. I install the new server now, and my task is to setup/configure all needed software for work of our applications. I just copied the application from old server to new and installed nesessary software for FOP: jre and fop src. In other words, I launch the same .bat-file as on old server, but FOP gives me an error: юъЄ 30, 2012 1:21:07 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-height set to: 11in юъЄ 30, 2012 1:21:07 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-width set to: 8.26in Exception in thread main java.lang.NoClassDefFoundError: org/apache/fop/fo/flo w/table/TableFObj$ColumnNumberPropertyMaker at org.apache.fop.fo.FObj.clinit(FObj.java:45) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.fop.layoutmgr.LayoutManagerMapping.class$(LayoutManagerMap ping.java:96) at org.apache.fop.layoutmgr.LayoutManagerMapping.initialize(LayoutManage rMapping.java:110) at org.apache.fop.layoutmgr.LayoutManagerMapping.init(LayoutManagerMap ping.java:102) at org.apache.fop.area.AreaTreeHandler.init(AreaTreeHandler.java:106) at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFa ctory.java:224) at org.apache.fop.fo.FOTreeBuilder.init(FOTreeBuilder.java:100) at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100) at org.apache.fop.apps.Fop.init(Fop.java:78) at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:247) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:104) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) Caused by: java.lang.ClassNotFoundException: org.apache.fop.fo.flow.table.TableF Obj$ColumnNumberPropertyMaker at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more Caused by: java.io.EOFException: Detect premature EOF at sun.misc.Resource.getBytes(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) ... 22 more --- This is the launch string: D:\web\Prokat\39_Price\fopjava.exe -cp D:\web\Prokat\39_Price\fop\build\fop.ja r;D:\web\Prokat\39_Price\fop\build\fop-sandbox.jar;D:\web\Prokat\39_Price\fop\bu ild\fop-hyph.jar;D:\web\Prokat\39_Price\fop\lib\xml-apis-1.3.04.jar;D:\web\Proka t\39_Price\fop\lib\xml-apis-ext-1.3.04.jar;D:\web\Prokat\39_Price\fop\lib\xerces Impl-2.7.1.jar;D:\web\Prokat\39_Price\fop\lib\xalan-2.7.0.jar;D:\web\Prokat\39_P rice\fop\lib\serializer-2.7.0.jar;D:\web\Prokat\39_Price\fop\lib\batik-all-1.7.j ar;D:\web\Prokat\39_Price\fop\lib\xmlgraphics-commons-1.3.1.jar;D:\web\Prokat\39 _Price\fop\lib\avalon-framework-4.2.0.jar;D:\web\Prokat\39_Price\fop\lib\commons -io-1.3.1.jar;D:\web\Prokat\39_Price\fop\lib\commons-logging-1.0.4.jar;D:\web\Pr okat\39_Price\fop\lib\jai_imageio.jar;D:\web\Prokat\39_Price\fop\lib\fop-hyph.ja r; org.apache.fop.cli.Main -c D:\web\Prokat\39_Price\fop\conf\fop.xconf D:\web\ Prokat\39_Price\fop\..\price.fo D:\fserver/010_Prices\pdf\1\381\price_slivki.pdf sory for such long string :)) line breaks because of windows console --- I can not understand, what is the difference from old server and new. Maybe it only OS: old server is on Windows 2003 Server (32), new is on Windows 7 (32). FOP 0.95 jre is the same version as on old version please help me to understand this problem :) thx -- pascal
Re: svn commit: r1401607 [1/3] - in /xmlgraphics/fop/trunk: ./ examples/fo/advanced/ src/documentation/intermediate-format-ng/ src/java/org/apache/fop/afp/ src/java/org/apache/fop/area/ src/java/org/a
Hi Peter, good job, anyway. Tests are ok for now (except a 0 run for Testsuite: org.apache.fop.image.loader.batik.ImageLoaderTestCase -- ;-) I guess this is not related to rounded corners). 2012/10/30 Peter Hancock peter.hanc...@gmail.com: Well spotted Pascal and sorry for the late reply. This was introduced in error during a merge - I am guessing my IDE generated the import statement, choosing the version of the class in FOP - I really should have spotted this! I have fixed this in the trunk and I have no other reason to believe there are any other regressions. Thanks, Peter On Thu, Oct 25, 2012 at 9:21 AM, Pascal Sancho psancho@gmail.com wrote: Hi, it appears that the change from r687369 is lost (replacing org.apache.fop.util.UnitConv with org.apache.xmlgraphics.util.UnitConv). This regression starts with the branch (r1003017), so I guess it was branched from a local modified WC. I think that this merge should be reverted, and the branch should be checked, regarding all changes introduced during the branch creation, I suspect other potential regressions. 2012/10/24 Pascal Sancho psancho@gmail.com: Hi, This merge seems introduce 3 deprecated warning. I'm not sure, but it is possible that UnitConv has migrated to xmlgraphics.commons compile-java: [mkdir] Created dir: D:\bin\java\fop\trunk\build\classes [javac] Compiling 1441 source files to D:\bin\java\fop\trunk\build\classes [javac] D:\bin\java\fop\trunk\src\java\org\apache\fop\render\AbstractPathOrientedRenderer.java:52: warning: [deprecation] org.apache.fop.util.UnitConv in org.apache.fop.util has been deprecated [javac] import org.apache.fop.util.UnitConv; [javac] ^ [javac] D:\bin\java\fop\trunk\src\java\org\apache\fop\render\AbstractPathOrientedRenderer.java:999: warning: [deprecation] org.apache.fop.util.UnitConv in org.apache.fop.util has been deprecated [javac] concatenateTransformationMatrix(UnitConv.mptToPt(at)); [javac] ^ [javac] D:\bin\java\fop\trunk\src\java\org\apache\fop\render\AbstractPathOrientedRenderer.java:999: warning: [deprecation] mptToPt(java.awt.geom.AffineTransform) in org.apache.fop.util.UnitConv has been deprecated [javac] concatenateTransformationMatrix(UnitConv.mptToPt(at)); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 warnings 2012/10/24 phanc...@apache.org: Author: phancock Date: Wed Oct 24 10:20:17 2012 New Revision: 1401607 URL: http://svn.apache.org/viewvc?rev=1401607view=rev Log: Added support for Rounded Corners (see Bugzilla 54041). Contributions made by PH, JM and LB (...) -- pascal