[jira] [Created] (COCOON-2335) samples in asciiart block are missing the text in the generated images

2013-03-03 Thread David Crossley (JIRA)
David Crossley created COCOON-2335:
--

 Summary: samples in asciiart block are missing the text in the 
generated images
 Key: COCOON-2335
 URL: https://issues.apache.org/jira/browse/COCOON-2335
 Project: Cocoon
  Issue Type: Bug
  Components: Blocks: ASCII Art
Affects Versions: 2.1.12
Reporter: David Crossley


The generated PNG and JPEG images do show each box outline, but the text within 
those boxes is not generated.

We also see this issue at Apache Forrest where we use the Cocoon Asciiart Block.

This is not a new issue. We noticed it at least three months ago.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Closed] (COCOON-2335) samples in asciiart block are missing the text in the generated images

2013-03-03 Thread David Crossley (JIRA)

 [ 
https://issues.apache.org/jira/browse/COCOON-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Crossley closed COCOON-2335.
--

   Resolution: Invalid
Fix Version/s: 2.1.12

Ah, that was using Java 5. If i go back to Java 1.4.2 (which is the version for 
Cocoon-2.1.12+) then all is well.

 samples in asciiart block are missing the text in the generated images
 --

 Key: COCOON-2335
 URL: https://issues.apache.org/jira/browse/COCOON-2335
 Project: Cocoon
  Issue Type: Bug
  Components: Blocks: ASCII Art
Affects Versions: 2.1.12
Reporter: David Crossley
 Fix For: 2.1.12


 The generated PNG and JPEG images do show each box outline, but the text 
 within those boxes is not generated.
 We also see this issue at Apache Forrest where we use the Cocoon Asciiart 
 Block.
 This is not a new issue. We noticed it at least three months ago.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


Re: [jira] [Commented] (COCOON-2295) Integrate FOP 1.0

2013-03-03 Thread David Crossley
Francesco Chicchiriccò (JIRA) wrote:
 
 [ 
 https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13578204#comment-13578204
  ] 
 
 Francesco Chicchiriccò commented on COCOON-2295:
 
 
 According to [1] FOP 1.1 still requires JDK 1.4.
 
 If the patch looks fine, I'd commit and close this issue.
 
 [1] http://xmlgraphics.apache.org/fop/1.1/running.html

I just tried building Cocoon-2.1 using Java 1.4.2
and get complaints from the Cocoon FOP Block:
--
/cocoon_2_1/src/blocks/fop/java/org/apache/cocoon/serialization/FOPSerializer.java:34:
 cannot access org.apache.fop.apps.FOPException
bad class file: 
/cocoon_2_1/lib/optional/fop-1.1.jar(org/apache/fop/apps/FOPException.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the 
classpath.
import org.apache.fop.apps.FOPException;
--

However the block is okay when using Java 5.

-David

  Integrate FOP 1.0
  -
 
  Key: COCOON-2295
  URL: https://issues.apache.org/jira/browse/COCOON-2295
  Project: Cocoon
   Issue Type: Improvement
   Components: Blocks: Batik, Blocks: FOP
 Affects Versions: 2.1.12
 Reporter: ron van den branden
 Assignee: Francesco Chicchiriccò
  Fix For: 2.1.12
 
  Attachments: COCOON-2295-FOP_1_1.patch, COCOON-2295.patch, 
  jars.patch, jars.xml
 
 
  Here are instructions for updating the current FOP-0.95 serializer in 
  Cocoon-2.1.12-dev (see https://issues.apache.org/jira/browse/COCOON-2289):
  1. checkout http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
  2. download (and build) FOP-1.0 from 
  http://xmlgraphics.apache.org/fop/download.html
  3. update jars in %COCOON_HOME%\lib\*:
  -replace %COCOON_HOME%\lib\optional\batik-all-1.6.jar with 
  %FOP_HOME%\lib\batik-all-1.7.jar
  -replace %COCOON_HOME%\lib\optional\fop-0.95.jar with 
  %FOP_HOME%\build\fop.jar
  -replace %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.3.1.jar with 
  %FOP_HOME%\lib\xmlgraphics-commons-1.4.jar
  -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to 
  %COCOON_HOME%\lib\endorsed
  -copy %FOP_HOME%\lib\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
  4. update references to these jars in %COCOON_HOME%\lib\jars.xml (see 
  attached file)
  5. build Cocoon
 
 --
 This message is automatically generated by JIRA.
 If you think it was sent incorrectly, please contact your JIRA administrators
 For more information on JIRA, see: http://www.atlassian.com/software/jira