You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter D Sparkes <pe...@kitchencharisma.com> on 2012/07/10 22:48:36 UTC

jars in Cocoon 2.1

Hi,

Is there any way of replacing the fop-0.20.5.jar in 2.1 with the one for fop version 1

Thanks

Peter Sparkes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: jars in Cocoon 2.1

Posted by Peter D Sparkes <pe...@kitchencharisma.com>.
Thanks Nico,

Only just seen your email. I will give it a try

Peter

On 17/07/2012 14:55, Nico Verwer wrote:
> On 17-7-2012 2:38, Huib Verweij wrote:
>> Hi Peter,
>>
>> did you see this earlier discussion about using FOP 0.9x?
>>
>> http://comments.gmane.org/gmane.text.xml.cocoon.user/62898
>>
>> It might work the same for v1.0.
>
> I have had some success using FOP 1.0, using the Cocoon 2.1.12 development branch.
>
> Download FOP-1.0 from http://xmlgraphics.apache.org/fop/download.html
>
> 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\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
>     -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to %COCOON_HOME%\lib\endorsed
>
> Update references to these jars in %COCOON_HOME%\lib\jars.xml 
> (https://issues.apache.org/jira/secure/attachment/12450490/jars.patch)
>     * %COCOON_HOME%\lib\optional\batik-all-1.7.jar
>     * %COCOON_HOME%\lib\optional\fop.jar
>     - %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.4.jar
>     - %COCOON_HOME%\lib\optional\serializer-2.7.0.jar
>     * %COCOON_HOME%\lib\endorsed\xml-apis-ext-1.3.04.jar
>
> Build Cocoon
>
> This was some time ago, but I think it worked this way.
>
> Good luck!
> Nico
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: jars in Cocoon 2.1

Posted by Nico Verwer <nv...@gmail.com>.
On 17-7-2012 2:38, Huib Verweij wrote:
> Hi Peter,
>
> did you see this earlier discussion about using FOP 0.9x?
>
> http://comments.gmane.org/gmane.text.xml.cocoon.user/62898
>
> It might work the same for v1.0.

I have had some success using FOP 1.0, using the Cocoon 2.1.12 
development branch.

Download FOP-1.0 from http://xmlgraphics.apache.org/fop/download.html

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\serializer-2.7.0.jar to %COCOON_HOME%\lib\optional
     -copy %FOP_HOME%\lib\xml-apis-ext-1.3.04.jar to 
%COCOON_HOME%\lib\endorsed

Update references to these jars in %COCOON_HOME%\lib\jars.xml 
(https://issues.apache.org/jira/secure/attachment/12450490/jars.patch)
     * %COCOON_HOME%\lib\optional\batik-all-1.7.jar
     * %COCOON_HOME%\lib\optional\fop.jar
     - %COCOON_HOME%\lib\optional\xmlgraphics-commons-1.4.jar
     - %COCOON_HOME%\lib\optional\serializer-2.7.0.jar
     * %COCOON_HOME%\lib\endorsed\xml-apis-ext-1.3.04.jar

Build Cocoon

This was some time ago, but I think it worked this way.

Good luck!
Nico


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: jars in Cocoon 2.1

Posted by Huib Verweij <hu...@carthago-ict.nl>.
Hi Peter,

did you see this earlier discussion about using FOP 0.9x?

http://comments.gmane.org/gmane.text.xml.cocoon.user/62898

It might work the same for v1.0.

Hartelijke groet,

Huib.

Verstuurd vanaf mijn iPhone

Op 16 jul. 2012 om 17:22 heeft "Peter D Sparkes" <pe...@kitchencharisma.com> het volgende geschreven:

> I given up and staying with C2.1 FOP
> 
> Thanks all 
> 
> peter
> 
> On 10/07/2012 21:58, Jasha Joachimsthal wrote:
>> I've tried it 2 years ago but ran into NPEs in SVGSerializer which I couldn't solve. See http://markmail.org/thread/aqajh3euqinohbl2
>> 
>> On 10 July 2012 22:48, Peter D Sparkes <pe...@kitchencharisma.com> wrote:
>> Hi,
>> 
>> Is there any way of replacing the fop-0.20.5.jar in 2.1 with the one for fop version 1
>> 
>> Thanks
>> 
>> Peter Sparkes
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>> For additional commands, e-mail: users-help@cocoon.apache.org
>> 
>> 
> 
> 

Re: jars in Cocoon 2.1

Posted by Peter D Sparkes <pe...@kitchencharisma.com>.
I given up and staying with C2.1 FOP

Thanks all

peter

On 10/07/2012 21:58, Jasha Joachimsthal wrote:
> I've tried it 2 years ago but ran into NPEs in SVGSerializer which I couldn't solve. See 
> http://markmail.org/thread/aqajh3euqinohbl2
>
> On 10 July 2012 22:48, Peter D Sparkes <peter.d@kitchencharisma.com 
> <ma...@kitchencharisma.com>> wrote:
>
>     Hi,
>
>     Is there any way of replacing the fop-0.20.5.jar in 2.1 with the one for fop version 1
>
>     Thanks
>
>     Peter Sparkes
>
>     ---------------------------------------------------------------------
>     To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>     <ma...@cocoon.apache.org>
>     For additional commands, e-mail: users-help@cocoon.apache.org
>     <ma...@cocoon.apache.org>
>
>



Re: jars in Cocoon 2.1

Posted by Jasha Joachimsthal <ja...@apache.org>.
I've tried it 2 years ago but ran into NPEs in SVGSerializer which I
couldn't solve. See http://markmail.org/thread/aqajh3euqinohbl2

On 10 July 2012 22:48, Peter D Sparkes <pe...@kitchencharisma.com> wrote:

> Hi,
>
> Is there any way of replacing the fop-0.20.5.jar in 2.1 with the one for
> fop version 1
>
> Thanks
>
> Peter Sparkes
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.**apache.org<us...@cocoon.apache.org>
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Re: jars in Cocoon 2.1

Posted by Peter D Sparkes <pe...@kitchencharisma.com>.
Unfortunately this does not work

Peter

On 10/07/2012 21:56, Reyes, Rafael wrote:
> Hi, i don't know very well if this solution may help you but I have
> Cocoon 2.1 from a  .war file on a apache's sever and you can replace
> this jar in the file WEB-INF/lib, try it.
>
> I hope that it may help you.
>
>
> -----Mensaje original-----
> De: Peter D Sparkes [mailto:peter.d@kitchencharisma.com]
> Enviado el: Tuesday, July 10, 2012 3:49 PM
> Para: users@cocoon.apache.org
> Asunto: jars in Cocoon 2.1
>
> Hi,
>
> Is there any way of replacing the fop-0.20.5.jar in 2.1 with the one for
> fop version 1
>
> Thanks
>
> Peter Sparkes
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> Este mensaje (incluyendo cualquier anexo) contiene información confidencial que se encuentra protegida por la ley. La información que contiene sólo puede ser utilizada por la persona o la compañía a la cual está dirigido. Si usted no es un receptor autorizado, o por error recibe el mensaje, omita su contenido y elimínelo inmediatamente. Cualquier retención, difusión, distribución y/o copia así como la ejecución de cualquier acción basado en el contenido del mismo, se encuentra estrictamente prohibido, y esta amparado por la ley.
> --------------
>
> This message (including any attachments) contains confidential information intented for a specific individual and purpose, and is protected by law. If you are not the intented recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


RE: jars in Cocoon 2.1

Posted by "Reyes, Rafael" <Ra...@tigo.com.co>.
Hi, i don't know very well if this solution may help you but I have
Cocoon 2.1 from a  .war file on a apache's sever and you can replace
this jar in the file WEB-INF/lib, try it.

I hope that it may help you.


-----Mensaje original-----
De: Peter D Sparkes [mailto:peter.d@kitchencharisma.com] 
Enviado el: Tuesday, July 10, 2012 3:49 PM
Para: users@cocoon.apache.org
Asunto: jars in Cocoon 2.1

Hi,

Is there any way of replacing the fop-0.20.5.jar in 2.1 with the one for
fop version 1

Thanks

Peter Sparkes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Este mensaje (incluyendo cualquier anexo) contiene informaci�n confidencial que se encuentra protegida por la ley. La informaci�n que contiene s�lo puede ser utilizada por la persona o la compa��a a la cual est� dirigido. Si usted no es un receptor autorizado, o por error recibe el mensaje, omita su contenido y elim�nelo inmediatamente. Cualquier retenci�n, difusi�n, distribuci�n y/o copia as� como la ejecuci�n de cualquier acci�n basado en el contenido del mismo, se encuentra estrictamente prohibido, y esta amparado por la ley.
--------------

This message (including any attachments) contains confidential information intented for a specific individual and purpose, and is protected by law. If you are not the intented recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org