You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Cédric Damioli (JIRA)" <ji...@apache.org> on 2010/04/06 17:51:33 UTC

[jira] Created: (COCOON-2289) [2.1] Backport FOPNGSerializer

[2.1] Backport FOPNGSerializer
------------------------------

                 Key: COCOON-2289
                 URL: https://issues.apache.org/jira/browse/COCOON-2289
             Project: Cocoon
          Issue Type: Improvement
          Components: Blocks: FOP
            Reporter: Cédric Damioli
             Fix For: 2.1.12-dev (Current SVN)


Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does

This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)

I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Sylvain Wallez (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854444#action_12854444 ] 

Sylvain Wallez commented on COCOON-2289:
----------------------------------------

There are still a huge number of projects using Cocoon 2.1, and products (this is Cédric's case) based on 2.1 where migrating to 2.2 would be a significant effort without much benefits.

So a backport seems ok to me if some people need it, and even more if they actually have code ready and already running in production systems.

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "David Crossley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855253#action_12855253 ] 

David Crossley commented on COCOON-2289:
----------------------------------------

At Apache Forrest we would be pleased to see this happen.

We have our own modified Cocoon 2.1 block for enabling this. Here are some clues that might help ...

Two snippets from our PDF Plugin's changes file ...
-----
Updating the fop-library to fop 0.94 and
upgrading the stylesheets to work properly with the new and more
precise fo-interpeter.

Replaced Cocoon FOP Block with special Forrest edition
"cocoon-fop-ng-impl-special" compiled by jeremias.
The sources are in the jar. See r603892 and the thread
  http://mail-archives.apache.org/mod_mbox/forrest-dev/200712.mbox/%3C476AA40C.8050108@apache.org%3E
  Re: Plans for integrating FOP .94
-----

Subsequent update to fop-0.95

The jar and sources are now at:
https://svn.apache.org/repos/asf/forrest/trunk/plugins/org.apache.forrest.plugin.output.pdf/lib/


> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Cédric Damioli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854407#action_12854407 ] 

Cédric Damioli commented on COCOON-2289:
----------------------------------------

Yes, I just tried also, and it seems you can't put both jar together.

I propose to deprecate the current fop block for 2.1.12, moving the fop-0.20.5.jar from lib/optional to lib/optional/deprecated
And to add the fop-ng block, adding the fop-0.95 to lib/optional

We should also put a note somewhere (wiki ? block.properties ?) to explain that.

WDYT ?


> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854460#action_12854460 ] 

Jasha Joachimsthal commented on COCOON-2289:
--------------------------------------------

I know there are still a lot of 2.1 projects, I've been working on one the whole day. :-)
"IMHO, no new Cocoon 2.1 project would be happy with FOP 0.20 " made me think he was starting a new Cocoon project.

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jasha Joachimsthal reassigned COCOON-2289:
------------------------------------------

    Assignee: Jasha Joachimsthal

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>            Assignee: Jasha Joachimsthal
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854571#action_12854571 ] 

Jasha Joachimsthal commented on COCOON-2289:
--------------------------------------------

BTW, I'm happy to see you put effort in improving Cocoon

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jasha Joachimsthal closed COCOON-2289.
--------------------------------------

        Fix version (Component): Parent values: Blocks: FOP(10237). 
    Affects version (Component): Parent values: Blocks: FOP(10166). 
                     Resolution: Fixed

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>            Assignee: Jasha Joachimsthal
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Cédric Damioli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854474#action_12854474 ] 

Cédric Damioli commented on COCOON-2289:
----------------------------------------

Our product (Ametys CMS) is actually based on Cocoon-2.1, so we really can't migrate, event if we always try to use latest versions of all 3rd-party libraries (such as FOP).

In our own SVN repo, we have many Cocoon 2.1 patches/updates that I'm currently trying to give back to the community, that 's why I'm filling the JIRA since a few days :-)

Do you prefer that I formally ask for this backport on the dev ML ?


> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jasha Joachimsthal updated COCOON-2289:
---------------------------------------

    Status: On Hold  (was: Open)

I backported o.a.c.blocks.fop.FOPNGSerlializer from C2.2 to o.a.c.serialization.FOPSerializer in C2.1. Upgraded to FOP 0.95 and added xmlcommons-graphics. In the samples it only involved moving 1 line in the xsl-fo. If this is ok, I'll close the issue.

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>            Assignee: Jasha Joachimsthal
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854533#action_12854533 ] 

Jasha Joachimsthal commented on COCOON-2289:
--------------------------------------------

Please do, I'm not the only one with an opinion.

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Cédric Damioli (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854093#action_12854093 ] 

Cédric Damioli commented on COCOON-2289:
----------------------------------------

I know that :-(
But fop 0.20.5 is 7 years old !
And fop 0.95 was released almost 2 years ago.

IMHO, no new Cocoon 2.1 project would be happy with FOP 0.20
However, I agree this may an issue for old existing projects.

What about including both versions, stating in the docs (and in blocks.properties) that at most one of the two versions must be included ?

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854117#action_12854117 ] 

Jasha Joachimsthal commented on COCOON-2289:
--------------------------------------------

I tried adding them both but that resulted in compilation errors.

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12855293#action_12855293 ] 

Jasha Joachimsthal commented on COCOON-2289:
--------------------------------------------

I'll try to move to fop 0.95 this weekend.

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>            Assignee: Jasha Joachimsthal
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854420#action_12854420 ] 

Jasha Joachimsthal commented on COCOON-2289:
--------------------------------------------

The 2.1 branch is more or less in maintenance mode. If you start a new project, use Cocoon 2.2 which does contain the new FOP block. 

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (COCOON-2289) [2.1] Backport FOPNGSerializer

Posted by "Jasha Joachimsthal (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COCOON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854067#action_12854067 ] 

Jasha Joachimsthal commented on COCOON-2289:
--------------------------------------------

It goes a bit further than just copying the FOPNGSerializer.java. Especially the conflicting fop dependency. In 2.2 this is easier because of the modular maven setup. The bluid process of 2.1 is more complex.

> [2.1] Backport FOPNGSerializer
> ------------------------------
>
>                 Key: COCOON-2289
>                 URL: https://issues.apache.org/jira/browse/COCOON-2289
>             Project: Cocoon
>          Issue Type: Improvement
>          Components: Blocks: FOP
>            Reporter: Cédric Damioli
>             Fix For: 2.1.12-dev (Current SVN)
>
>
> Cocoon 2.1 still don't have official support for  FOP 0.9x, while Cocoon 2.2 does
> This compatibility is only a matter of FOPSerializer (called FOPNGSerializer in the Cocoon 2.2 fop-ng block)
> I won't put a patch here because it would only be a copy of the FOPNGSerializer.java from Cocoon-2.2, but it would be great if someone could backport the fop-ng block

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.