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

2013-03-04 Thread Cédric Damioli

  
  
It seems that the bundled FOP 1.1 jar is compiled with Java 5
Francesco, have you built it yourself, or does it come from the
binary distribution from FOP ?

Regards,
Cdric

Le 04/03/2013 08:05, David Crossley a
  crit:


  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

  


-- 
  
  

  
 
   www.anyware-services.com
  
 
Inscrivez-vous
   notre newsletter
   

  

  
  Cdric
  Damioli
Directeur
technique
cedric.dami...@anyware-services.com
Tel : +33(0)5 62 19 19 07
Mob : +33(0)6 87 03 61 63
Fax : +33(0)5 61 75 84 12
Adresse : Htel Tlcom - Augustin Fresnel / 40
rue du Village d'entreprises / 31670 LABEGE 

Ametys: Smart Web CMS

www.ametys.org
  

  

  

  

  
  
Ce message et toutes les pices jointes (le "Message") sont
confidentiels et tablis  l'intention exclusive de ses
destinataires.
Toute modification, dition, utilisation ou diffusion non
autorise est interdite.
Anyware Services dcline
toute responsabilit au titre de ce Message s'il a t altr,
dform, falsifi ou dit, diffus sans autorisation.
  

  



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

2013-03-04 Thread Francesco Chicchiriccò

On 04/03/2013 12:29, Cédric Damioli wrote:

It seems that the bundled FOP 1.1 jar is compiled with Java 5
Francesco, have you built it yourself, or does it come from the binary 
distribution from FOP ?


I have just downloaded the binary distribution, assuming (because of 
[1]) that it was working correctly under JDK 1.4.


However, if you take a look at [2]:

  property name=javac.source value=1.5/
  property name=javac.target value=1.5/

make the final word to this.

I will re-open COCOON-2295 for reverting to FOP 1.0 (where 1.4 is the 
javac.source / javac.target [3]) and also open an issue to the FOP team 
for fixing [1].


Regards.

[1] http://xmlgraphics.apache.org/fop/1.1/running.html
[2] http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-1_1/build.xml
[3] http://svn.apache.org/repos/asf/xmlgraphics/fop/tags/fop-1_0/build.xml


Le 04/03/2013 08:05, David Crossley a écrit :

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 (seehttps://issues.apache.org/jira/browse/COCOON-2289):
1. checkouthttp://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X
2. download (and build) FOP-1.0 
fromhttp://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


--
Francesco Chicchiriccò

ASF Member, Apache Syncope PMC chair, Apache Cocoon PMC Member
http://people.apache.org/~ilgrosso/



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

2013-03-04 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13592273#comment-13592273
 ] 

Hudson commented on COCOON-2295:


Integrated in Cocoon 2.1.X #85 (See 
[https://builds.apache.org/job/Cocoon%202.1.X/85/])
[COCOON-2295] Back to FOP 1.0 (Revision 1452275)

 Result = SUCCESS
ilgrosso : http://svn.apache.org/viewvc/?view=revrev=1452275
Files : 
* /cocoon/branches/BRANCH_2_1_X/lib/jars.xml
* /cocoon/branches/BRANCH_2_1_X/lib/optional/fop-1.0.jar
* /cocoon/branches/BRANCH_2_1_X/lib/optional/fop-1.1.jar
* /cocoon/branches/BRANCH_2_1_X/misc/notes/review-jars.txt
* /cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components/renderer
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components/renderer/ExtendableRendererFactory.java
* 
/cocoon/branches/BRANCH_2_1_X/src/blocks/fop/java/org/apache/cocoon/components/renderer/RendererFactory.java


 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


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

2013-03-04 Thread JIRA

[ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13592351#comment-13592351
 ] 

Francesco Chicchiriccò commented on COCOON-2295:


FYI, as per FOP-2218 the document [1] has been updated.

[1] http://xmlgraphics.apache.org/fop/1.1/running.html

 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


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


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

2013-02-13 Thread David Crossley (JIRA)

[ 
https://issues.apache.org/jira/browse/COCOON-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13578164#comment-13578164
 ] 

David Crossley commented on COCOON-2295:


According to the notes related to COCOON-2333, then FOP-1.0 is the last release 
for Java 1.4 (our required version). I hope that is wrong and we can move to 
FOP-1.1

 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


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

2013-02-13 Thread JIRA

[ 
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

 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