RenderHouse XEP integration

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

RenderHouse XEP integration

hendrickst

I’ve been trying to get the XSLFO module to function with RenderX but have not had success. I’ve been following the instructions linking here and finally did a fresh install of eXist this morning to start over. I’m attempting to follow the instruction found here, but must be missing something. http://en.wikibooks.org/wiki/XQuery/Generating_PDF_from_XSL-FO_files

 

 

At this point I have modified conf.xml to uncomment the xslfo module. I have modified the extensions/build.properties file to include.module.xslfo = true, placed the jar files in lib/user, and I’ve attempted to build. I’m receiving errors with the build because it’s still attempting to download the FOP jars. I’ve looked at the extensions/modules/build.xml file and have tried a couple approaches, but can’t get past this point. Suggestions?

 

[hidden email]
Project Analyst -- Publication Systems
Technical Communications, MS: 078
p: 920-457-4441; ext. 73571
f: 920-803-3939
e: [hidden email]
Experience gracious living with Kohler.
Genuine Kohler Service Parts

Ask Nature

Save Water America

 

Math problems?? Call 1-800-10x(24+13)-(64-8y)/2+36x-17.

 


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Dmitriy Shabanov
On Fri, Mar 8, 2013 at 9:40 PM, Hendricks Trevor <[hidden email]> wrote:

I’ve been trying to get the XSLFO module to function with RenderX but have not had success. I’ve been following the instructions linking here and finally did a fresh install of eXist this morning to start over. I’m attempting to follow the instruction found here, but must be missing something. http://en.wikibooks.org/wiki/XQuery/Generating_PDF_from_XSL-FO_files

 

 

At this point I have modified conf.xml to uncomment the xslfo module. I have modified the extensions/build.properties file to include.module.xslfo = true, placed the jar files in lib/user, and I’ve attempted to build. I’m receiving errors with the build because it’s still attempting to download the FOP jars. I’ve looked at the extensions/modules/build.xml file and have tried a couple approaches, but can’t get past this point. Suggestions?


what error do you get?

--
Dmitriy Shabanov

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst

eXist Build

-------------------

JAVA_HOME=C:\Program Files\Java\jdk1.6.0_34

EXIST_HOME=C:\apps\eXist

_LIBJARS=.;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip;C:\apps\eXist\tools\ant\lib\ant-launcher.jar;C:\apps\eXist\tools\ant\lib\junit-4.5.jar;C:\Program Files\Java\jdk1.6.0_34\lib\tools.jar

Starting Ant...

ECHO is off.

Buildfile: build.xml

 

svn-prepare:

 

prepare:

     [echo] -------------------------

     [echo] eXist 1.4.3 build

     [echo] -------------------------

     [echo] SVN revision 17131

     [echo]

     [echo] Apache Ant version 1.7.1 compiled on June 27 2008

     [echo] -------------------------

     [echo]

     [echo] basedir=C:\apps\eXist

     [copy] Copying 1 file to C:\apps\eXist\webapp

     [copy] Copying 1 file to C:\apps\eXist\webapp\xquery

     [copy] Copying 1 file to C:\apps\eXist\webapp\WEB-INF

 

compile:

     [echo] Compiling with Java 1.6 from 1.5 source to 1.5 target, debug on, optimize on, deprecation off

 

compile-tomcat-realm:

     [echo] Compiling Tomcat Realm  with Java 1.6 from 1.5 source to 1.5 target, debug on, optimize on, deprecation off

 

jar:

     [copy] Copying 1 file to C:\apps\eXist\build\classes\org\exist

     [echo] Creating exist.jar ...

      [jar] Building jar: C:\apps\eXist\exist.jar

     [echo] Creating start.jar ...

      [jar] Building jar: C:\apps\eXist\start.jar

     [echo] Creating exist-optional.jar ...

      [jar] Building jar: C:\apps\eXist\exist-optional.jar

 

wrapper:

 

prepare:

     [echo] --------------------------------------------------

     [echo] Setting up Java Service Wrapper

     [echo] --------------------------------------------------

   [delete] Deleting directory C:\apps\eXist\tools\wrapper\logs

 

BUILD FAILED

C:\apps\eXist\build\scripts\build-impl.xml:558: The following error occurred while executing this line:

C:\apps\eXist\tools\wrapper\build.xml:35: Unable to delete file C:\apps\eXist\tools\wrapper\logs\betterform.log

 

Total time: 2 seconds

 

From: Dmitriy Shabanov [mailto:[hidden email]]
Sent: Friday, March 08, 2013 11:54 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

On Fri, Mar 8, 2013 at 9:40 PM, Hendricks Trevor <[hidden email]> wrote:

I’ve been trying to get the XSLFO module to function with RenderX but have not had success. I’ve been following the instructions linking here and finally did a fresh install of eXist this morning to start over. I’m attempting to follow the instruction found here, but must be missing something. http://en.wikibooks.org/wiki/XQuery/Generating_PDF_from_XSL-FO_files

 

 

At this point I have modified conf.xml to uncomment the xslfo module. I have modified the extensions/build.properties file to include.module.xslfo = true, placed the jar files in lib/user, and I’ve attempted to build. I’m receiving errors with the build because it’s still attempting to download the FOP jars. I’ve looked at the extensions/modules/build.xml file and have tried a couple approaches, but can’t get past this point. Suggestions?

 

what error do you get?

--
Dmitriy Shabanov


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Dmitriy Shabanov
do you run build on running db? Can you manually delete that file?


On Fri, Mar 8, 2013 at 10:56 PM, Hendricks Trevor <[hidden email]> wrote:

eXist Build

-------------------

JAVA_HOME=C:\Program Files\Java\jdk1.6.0_34

EXIST_HOME=C:\apps\eXist

_LIBJARS=.;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip;C:\apps\eXist\tools\ant\lib\ant-launcher.jar;C:\apps\eXist\tools\ant\lib\junit-4.5.jar;C:\Program Files\Java\jdk1.6.0_34\lib\tools.jar

Starting Ant...

ECHO is off.

Buildfile: build.xml

 

svn-prepare:

 

prepare:

     [echo] -------------------------

     [echo] eXist 1.4.3 build

     [echo] -------------------------

     [echo] SVN revision 17131

     [echo]

     [echo] Apache Ant version 1.7.1 compiled on June 27 2008

     [echo] -------------------------

     [echo]

     [echo] basedir=C:\apps\eXist

     [copy] Copying 1 file to C:\apps\eXist\webapp

     [copy] Copying 1 file to C:\apps\eXist\webapp\xquery

     [copy] Copying 1 file to C:\apps\eXist\webapp\WEB-INF

 

compile:

     [echo] Compiling with Java 1.6 from 1.5 source to 1.5 target, debug on, optimize on, deprecation off

 

compile-tomcat-realm:

     [echo] Compiling Tomcat Realm  with Java 1.6 from 1.5 source to 1.5 target, debug on, optimize on, deprecation off

 

jar:

     [copy] Copying 1 file to C:\apps\eXist\build\classes\org\exist

     [echo] Creating exist.jar ...

      [jar] Building jar: C:\apps\eXist\exist.jar

     [echo] Creating start.jar ...

      [jar] Building jar: C:\apps\eXist\start.jar

     [echo] Creating exist-optional.jar ...

      [jar] Building jar: C:\apps\eXist\exist-optional.jar

 

wrapper:

 

prepare:

     [echo] --------------------------------------------------

     [echo] Setting up Java Service Wrapper

     [echo] --------------------------------------------------

   [delete] Deleting directory C:\apps\eXist\tools\wrapper\logs

 

BUILD FAILED

C:\apps\eXist\build\scripts\build-impl.xml:558: The following error occurred while executing this line:

C:\apps\eXist\tools\wrapper\build.xml:35: Unable to delete file C:\apps\eXist\tools\wrapper\logs\betterform.log

 

Total time: 2 seconds

 

From: Dmitriy Shabanov [mailto:[hidden email]]
Sent: Friday, March 08, 2013 11:54 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

On Fri, Mar 8, 2013 at 9:40 PM, Hendricks Trevor <[hidden email]> wrote:

I’ve been trying to get the XSLFO module to function with RenderX but have not had success. I’ve been following the instructions linking here and finally did a fresh install of eXist this morning to start over. I’m attempting to follow the instruction found here, but must be missing something. http://en.wikibooks.org/wiki/XQuery/Generating_PDF_from_XSL-FO_files

 

 

At this point I have modified conf.xml to uncomment the xslfo module. I have modified the extensions/build.properties file to include.module.xslfo = true, placed the jar files in lib/user, and I’ve attempted to build. I’m receiving errors with the build because it’s still attempting to download the FOP jars. I’ve looked at the extensions/modules/build.xml file and have tried a couple approaches, but can’t get past this point. Suggestions?

 

what error do you get?

--
Dmitriy Shabanov




--
Dmitriy Shabanov

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst

Sorry. Had to work on other stuff so I turned on eXist and forgot to turn it off for this run. I’ve corrected that mistake. Here is the error as it appears now.

 

eXist Build

-------------------

JAVA_HOME=C:\Program Files\Java\jdk1.6.0_34

EXIST_HOME=C:\apps\eXist

_LIBJARS=.;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip;C:\apps\eXist\tools\ant\lib\ant-launcher.jar;C:\apps\eXist\tools\ant\lib\junit-4.5.jar;C:\Program Files\Java\jdk1.6.0_34\lib\tools.jar

Starting Ant...

ECHO is off.

Buildfile: build.xml

 

svn-prepare:

 

prepare:

     [echo] -------------------------

     [echo] eXist 1.4.3 build

     [echo] -------------------------

     [echo] SVN revision 17131

     [echo]

     [echo] Apache Ant version 1.7.1 compiled on June 27 2008

     [echo] -------------------------

     [echo]

     [echo] basedir=C:\apps\eXist

     [copy] Copying 1 file to C:\apps\eXist\webapp

     [copy] Copying 1 file to C:\apps\eXist\webapp\xquery

     [copy] Copying 1 file to C:\apps\eXist\webapp\WEB-INF

 

compile:

     [echo] Compiling with Java 1.6 from 1.5 source to 1.5 target, debug on, optimize on, deprecation off

 

compile-tomcat-realm:

     [echo] Compiling Tomcat Realm  with Java 1.6 from 1.5 source to 1.5 target, debug on, optimize on, deprecation off

 

jar:

     [copy] Copying 1 file to C:\apps\eXist\build\classes\org\exist

     [echo] Creating exist.jar ...

      [jar] Building jar: C:\apps\eXist\exist.jar

     [echo] Creating start.jar ...

     [echo] Creating exist-optional.jar ...

 

wrapper:

 

prepare:

     [echo] --------------------------------------------------

     [echo] Setting up Java Service Wrapper

     [echo] --------------------------------------------------

   [delete] Deleting directory C:\apps\eXist\tools\wrapper\logs

    [mkdir] Created dir: C:\apps\eXist\tools\wrapper\logs

   [delete] Deleting directory C:\apps\eXist\tools\wrapper\work

    [mkdir] Created dir: C:\apps\eXist\tools\wrapper\work

 

compile:

 

extension-betterform:

 

install:

 

extension-modules:

 

prepare-svn:

 

prepare-libs-xslfo:

     [echo] Load: true

     [echo] ------------------------------------------------------

     [echo] Downloading libraries required by the xsl-fo module

     [echo] ------------------------------------------------------

      [get] Getting: http://apache.cs.uu.nl/dist//xmlgraphics/fop/binaries/fop-1.0-bin.zip

      [get] To: C:\apps\eXist\extensions\modules\fop-1.0-bin.zip

      [get] Error getting http://apache.cs.uu.nl/dist//xmlgraphics/fop/binaries/fop-1.0-bin.zip to C:\apps\eXist\extensions\modules\fop-1.0-bin.zip

 

 

BUILD FAILED

C:\apps\eXist\build\scripts\build-impl.xml:566: The following error occurred while executing this line:

C:\apps\eXist\extensions\modules\build.xml:93: java.net.ConnectException: Connection timed out: connect

 

Total time: 24 seconds

 

 

From: Dmitriy Shabanov [mailto:[hidden email]]
Sent: Friday, March 08, 2013 11:59 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

do you run build on running db? Can you manually delete that file?

 

On Fri, Mar 8, 2013 at 10:56 PM, Hendricks Trevor <[hidden email]> wrote:

eXist Build

-------------------

JAVA_HOME=C:\Program Files\Java\jdk1.6.0_34

EXIST_HOME=C:\apps\eXist

_LIBJARS=.;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip;C:\apps\eXist\tools\ant\lib\ant-launcher.jar;C:\apps\eXist\tools\ant\lib\junit-4.5.jar;C:\Program Files\Java\jdk1.6.0_34\lib\tools.jar

Starting Ant...

ECHO is off.

Buildfile: build.xml

 

svn-prepare:

 

prepare:

     [echo] -------------------------

     [echo] eXist 1.4.3 build

     [echo] -------------------------

     [echo] SVN revision 17131

     [echo]

     [echo] Apache Ant version 1.7.1 compiled on June 27 2008

     [echo] -------------------------

     [echo]

     [echo] basedir=C:\apps\eXist

     [copy] Copying 1 file to C:\apps\eXist\webapp

     [copy] Copying 1 file to C:\apps\eXist\webapp\xquery

     [copy] Copying 1 file to C:\apps\eXist\webapp\WEB-INF

 

compile:

     [echo] Compiling with Java 1.6 from 1.5 source to 1.5 target, debug on, optimize on, deprecation off

 

compile-tomcat-realm:

     [echo] Compiling Tomcat Realm  with Java 1.6 from 1.5 source to 1.5 target, debug on, optimize on, deprecation off

 

jar:

     [copy] Copying 1 file to C:\apps\eXist\build\classes\org\exist

     [echo] Creating exist.jar ...

      [jar] Building jar: C:\apps\eXist\exist.jar

     [echo] Creating start.jar ...

      [jar] Building jar: C:\apps\eXist\start.jar

     [echo] Creating exist-optional.jar ...

      [jar] Building jar: C:\apps\eXist\exist-optional.jar

 

wrapper:

 

prepare:

     [echo] --------------------------------------------------

     [echo] Setting up Java Service Wrapper

     [echo] --------------------------------------------------

   [delete] Deleting directory C:\apps\eXist\tools\wrapper\logs

 

BUILD FAILED

C:\apps\eXist\build\scripts\build-impl.xml:558: The following error occurred while executing this line:

C:\apps\eXist\tools\wrapper\build.xml:35: Unable to delete file C:\apps\eXist\tools\wrapper\logs\betterform.log

 

Total time: 2 seconds

 

From: Dmitriy Shabanov [mailto:[hidden email]]
Sent: Friday, March 08, 2013 11:54 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

On Fri, Mar 8, 2013 at 9:40 PM, Hendricks Trevor <[hidden email]> wrote:

I’ve been trying to get the XSLFO module to function with RenderX but have not had success. I’ve been following the instructions linking here and finally did a fresh install of eXist this morning to start over. I’m attempting to follow the instruction found here, but must be missing something. http://en.wikibooks.org/wiki/XQuery/Generating_PDF_from_XSL-FO_files

 

 

At this point I have modified conf.xml to uncomment the xslfo module. I have modified the extensions/build.properties file to include.module.xslfo = true, placed the jar files in lib/user, and I’ve attempted to build. I’m receiving errors with the build because it’s still attempting to download the FOP jars. I’ve looked at the extensions/modules/build.xml file and have tried a couple approaches, but can’t get past this point. Suggestions?

 

what error do you get?

--
Dmitriy Shabanov




--
Dmitriy Shabanov


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Dmitriy Shabanov
On Fri, Mar 8, 2013 at 11:02 PM, Hendricks Trevor <[hidden email]> wrote:
 

prepare-libs-xslfo:

     [echo] Load: true

     [echo] ------------------------------------------------------

     [echo] Downloading libraries required by the xsl-fo module

     [echo] ------------------------------------------------------

      [get] Getting: http://apache.cs.uu.nl/dist//xmlgraphics/fop/binaries/fop-1.0-bin.zip

      [get] To: C:\apps\eXist\extensions\modules\fop-1.0-bin.zip

      [get] Error getting http://apache.cs.uu.nl/dist//xmlgraphics/fop/binaries/fop-1.0-bin.zip to C:\apps\eXist\extensions\modules\fop-1.0-bin.zip


can you download this file?

--
Dmitriy Shabanov

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst

Yes. Takes about 36 seconds. But do I actually want to download it? I don’t want FOP installed, I want to use the RenderX adapter.

 

From: Dmitriy Shabanov [mailto:[hidden email]]
Sent: Friday, March 08, 2013 12:08 PM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

On Fri, Mar 8, 2013 at 11:02 PM, Hendricks Trevor <[hidden email]> wrote:

 

prepare-libs-xslfo:

     [echo] Load: true

     [echo] ------------------------------------------------------

     [echo] Downloading libraries required by the xsl-fo module

     [echo] ------------------------------------------------------

      [get] Getting: http://apache.cs.uu.nl/dist//xmlgraphics/fop/binaries/fop-1.0-bin.zip

      [get] To: C:\apps\eXist\extensions\modules\fop-1.0-bin.zip

      [get] Error getting http://apache.cs.uu.nl/dist//xmlgraphics/fop/binaries/fop-1.0-bin.zip to C:\apps\eXist\extensions\modules\fop-1.0-bin.zip

 

can you download this file?

--
Dmitriy Shabanov


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst
In reply to this post by Dmitriy Shabanov

I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?

 

I’ve modified conf.xml so the module call appears as below.

                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >

                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>

</module>

 

I’ve also placed the xep jar files as shown.

 

I’ve then run build. Still produces the pdf utilizing FOP. How do I switch it?

 

From: Hendricks Trevor
Sent: Friday, March 08, 2013 12:10 PM
To: 'Dmitriy Shabanov'
Cc: [hidden email]
Subject: RE: [Exist-open] RenderHouse XEP integration

 

Yes. Takes about 36 seconds. But do I actually want to download it? I don’t want FOP installed, I want to use the RenderX adapter.

 

From: Dmitriy Shabanov [[hidden email]]
Sent: Friday, March 08, 2013 12:08 PM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

On Fri, Mar 8, 2013 at 11:02 PM, Hendricks Trevor <[hidden email]> wrote:

 

prepare-libs-xslfo:

     [echo] Load: true

     [echo] ------------------------------------------------------

     [echo] Downloading libraries required by the xsl-fo module

     [echo] ------------------------------------------------------

      [get] Getting: http://apache.cs.uu.nl/dist//xmlgraphics/fop/binaries/fop-1.0-bin.zip

      [get] To: C:\apps\eXist\extensions\modules\fop-1.0-bin.zip

      [get] Error getting http://apache.cs.uu.nl/dist//xmlgraphics/fop/binaries/fop-1.0-bin.zip to C:\apps\eXist\extensions\modules\fop-1.0-bin.zip

 

can you download this file?

--
Dmitriy Shabanov


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Dmitriy Shabanov

On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:

I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?

 

I’ve modified conf.xml so the module call appears as below.

                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >

                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>

</module>


it should be "... RenderXXepProcessorAdapter", where do you get that name from?

--
Dmitriy Shabanov

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst

The only documentation I could find on this setup was from this link.

 

http://en.wikibooks.org/wiki/XQuery/Generating_PDF_from_XSL-FO_files

 

I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?

 

From: Dmitriy Shabanov [mailto:[hidden email]]
Sent: Saturday, March 09, 2013 1:41 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

 

On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:

I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?

 

I’ve modified conf.xml so the module call appears as below.

                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >

                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>

</module>

 

it should be "... RenderXXepProcessorAdapter", where do you get that name from?

--
Dmitriy Shabanov


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Jens Østergaard Petersen-2
<base href="x-msg://200/">Hi Trevor,

There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?

Jens

On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email]> wrote:

The only documentation I could find on this setup was from this link.
 
 
I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?
 
From: Dmitriy Shabanov [mailto:shabanovd@gmail.com] 
Sent: Saturday, March 09, 2013 1:41 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
 
On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:
I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?
 
I’ve modified conf.xml so the module call appears as below.
                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >
                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>
</module>
 
it should be "... RenderXXepProcessorAdapter", where do you get that name from?

-- 
Dmitriy Shabanov
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst
<base href="x-msg://200/">

We are utilizing RenderX. RenderHouse didn’t make sense, and as mentioned I did see a forum saying this was wrong, but since the only source for setting up listed RenderHouse that was my first shot. I did try what was suggested in the forum previously but it still didn’t work. It’s still outputting via FOP.

 

Is there a particular way that RenderX has to be installed? I’m sure I’m missing something simple, just not sure what.

 

Thanks for all the help everyone.

 

From: Jens Østergaard Petersen [mailto:[hidden email]]
Sent: Tuesday, March 12, 2013 7:52 AM
To: Hendricks Trevor
Cc: Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

Hi Trevor,

 

There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?

 

Jens

 

On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email]> wrote:



The only documentation I could find on this setup was from this link.

 

 

I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?

 

From: Dmitriy Shabanov [mailto:shabanovd@gmail.com] 
Sent: Saturday, March 09, 2013 1:41 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

 

On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:

I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?

 

I’ve modified conf.xml so the module call appears as below.

                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >

                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>

</module>

 

it should be "... RenderXXepProcessorAdapter", where do you get that name from?

-- 
Dmitriy Shabanov

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open

 


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Jens Østergaard Petersen-2
<base href="x-msg://200/">Sorry, can't help - we are using AntennaHouse.

Jens

On Mar 12, 2013, at 2:31 PM, Hendricks Trevor <[hidden email]> wrote:

We are utilizing RenderX. RenderHouse didn’t make sense, and as mentioned I did see a forum saying this was wrong, but since the only source for setting up listed RenderHouse that was my first shot. I did try what was suggested in the forum previously but it still didn’t work. It’s still outputting via FOP.
 
Is there a particular way that RenderX has to be installed? I’m sure I’m missing something simple, just not sure what.
 
Thanks for all the help everyone.
 
From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 7:52 AM
To: Hendricks Trevor
Cc: Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
Hi Trevor,
 
There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?
 
Jens
 
On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email]> wrote:


The only documentation I could find on this setup was from this link.
 
 
I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?
 
From: Dmitriy Shabanov [mailto:shabanovd@gmail.com] 
Sent: Saturday, March 09, 2013 1:41 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
 
On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:
I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?
 
I’ve modified conf.xml so the module call appears as below.
                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >
                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>
</module>
 
it should be "... RenderXXepProcessorAdapter", where do you get that name from?

-- 
Dmitriy Shabanov
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
 


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst
<base href="x-msg://200/">

Are there directions for AntennaHouse that I might be able to reference?

 

 

From: Jens Østergaard Petersen [mailto:[hidden email]]
Sent: Tuesday, March 12, 2013 8:41 AM
To: Hendricks Trevor
Cc: Jens Østergaard Petersen; Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

Sorry, can't help - we are using AntennaHouse.

 

Jens

 

On Mar 12, 2013, at 2:31 PM, Hendricks Trevor <[hidden email]> wrote:



We are utilizing RenderX. RenderHouse didn’t make sense, and as mentioned I did see a forum saying this was wrong, but since the only source for setting up listed RenderHouse that was my first shot. I did try what was suggested in the forum previously but it still didn’t work. It’s still outputting via FOP.

 

Is there a particular way that RenderX has to be installed? I’m sure I’m missing something simple, just not sure what.

 

Thanks for all the help everyone.

 

From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 7:52 AM
To: Hendricks Trevor
Cc: Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

Hi Trevor,

 

There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?

 

Jens

 

On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email]> wrote:




The only documentation I could find on this setup was from this link.

 

 

I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?

 

From: Dmitriy Shabanov [mailto:shabanovd@gmail.com] 
Sent: Saturday, March 09, 2013 1:41 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

 

On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:

I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?

 

I’ve modified conf.xml so the module call appears as below.

                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >

                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>

</module>

 

it should be "... RenderXXepProcessorAdapter", where do you get that name from?

-- 
Dmitriy Shabanov

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open

 

 


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Jens Østergaard Petersen-2
<base href="x-msg://200/">Hi Trevor,

The way we use it (or the way my colleague, Dulip, uses it, I should say, for I don't know much about this - I only noticed the strange name you used), AntennaHouse is not installed in eXist, but accessed over the command line from eXist. 


Jens

On Mar 12, 2013, at 2:47 PM, Hendricks Trevor <[hidden email]> wrote:

Are there directions for AntennaHouse that I might be able to reference?
 
 
From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 8:41 AM
To: Hendricks Trevor
Cc: Jens Østergaard Petersen; Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
Sorry, can't help - we are using AntennaHouse.
 
Jens
 
On Mar 12, 2013, at 2:31 PM, Hendricks Trevor <[hidden email]> wrote:


We are utilizing RenderX. RenderHouse didn’t make sense, and as mentioned I did see a forum saying this was wrong, but since the only source for setting up listed RenderHouse that was my first shot. I did try what was suggested in the forum previously but it still didn’t work. It’s still outputting via FOP.
 
Is there a particular way that RenderX has to be installed? I’m sure I’m missing something simple, just not sure what.
 
Thanks for all the help everyone.
 
From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 7:52 AM
To: Hendricks Trevor
Cc: Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
Hi Trevor,
 
There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?
 
Jens
 
On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email]> wrote:



The only documentation I could find on this setup was from this link.
 
 
I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?
 
From: Dmitriy Shabanov [mailto:shabanovd@gmail.com] 
Sent: Saturday, March 09, 2013 1:41 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
 
On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:
I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?
 
I’ve modified conf.xml so the module call appears as below.
                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >
                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>
</module>
 
it should be "... RenderXXepProcessorAdapter", where do you get that name from?

-- 
Dmitriy Shabanov
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
 
 


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst
<base href="x-msg://200/">

Different approach, but that would work as well. RenderX also has a command line call. Does eXist offer a way to execute system side commands?

 

From: Jens Østergaard Petersen [mailto:[hidden email]]
Sent: Tuesday, March 12, 2013 9:25 AM
To: Hendricks Trevor
Cc: Jens Østergaard Petersen; Dmitriy Shabanov; [hidden email] ml; Dulip Withanage
Subject: Re: [Exist-open] RenderHouse XEP integration

 

Hi Trevor,

 

The way we use it (or the way my colleague, Dulip, uses it, I should say, for I don't know much about this - I only noticed the strange name you used), AntennaHouse is not installed in eXist, but accessed over the command line from eXist. 

 

 

Jens

 

On Mar 12, 2013, at 2:47 PM, Hendricks Trevor <[hidden email]> wrote:



Are there directions for AntennaHouse that I might be able to reference?

 

 

From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 8:41 AM
To: Hendricks Trevor
Cc: Jens Østergaard Petersen; Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

Sorry, can't help - we are using AntennaHouse.

 

Jens

 

On Mar 12, 2013, at 2:31 PM, Hendricks Trevor <[hidden email]> wrote:




We are utilizing RenderX. RenderHouse didn’t make sense, and as mentioned I did see a forum saying this was wrong, but since the only source for setting up listed RenderHouse that was my first shot. I did try what was suggested in the forum previously but it still didn’t work. It’s still outputting via FOP.

 

Is there a particular way that RenderX has to be installed? I’m sure I’m missing something simple, just not sure what.

 

Thanks for all the help everyone.

 

From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 7:52 AM
To: Hendricks Trevor
Cc: Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

Hi Trevor,

 

There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?

 

Jens

 

On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email]> wrote:





The only documentation I could find on this setup was from this link.

 

 

I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?

 

From: Dmitriy Shabanov [mailto:shabanovd@gmail.com] 
Sent: Saturday, March 09, 2013 1:41 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration

 

 

On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:

I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?

 

I’ve modified conf.xml so the module call appears as below.

                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >

                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>

</module>

 

it should be "... RenderXXepProcessorAdapter", where do you get that name from?

-- 
Dmitriy Shabanov

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open

 

 

 


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Wolfgang Meier-2
Hi Trevor,  

ok, I just installed RenderX again and got it to run. Here's what I did:

1) enable include.module.xslfo = true in extensions/build.properties and run build.sh (not necessary if you run the 2.0 release)
2) edit conf.xml and comment out the xslfo module, changing the adapter for RenderX as documented:

<module uri="http://exist-db.org/xquery/xslfo" class="org.exist.xquery.modules.xslfo.XSLFOModule">
<parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderXXepProcessorAdapter"/>
</module>



3) copy all .jar from XEP/lib into EXIST_HOME/lib/user
4) restart eXist-db
5) change your XQuery to include the xep configuration as an XML element and pass it to the render function:

let $pdf := xslfo:render(fo:main($id), "application/pdf", (), $config)
return
    response:stream-binary($pdf, "media-type=application/pdf", $id || ".pdf")



In $config you need to make sure the path to the license and fonts points to the correct location on your disk.

That's all!

Wolfgang


Am Dienstag, 12. März 2013 um 15:26 schrieb Hendricks Trevor:

> Different approach, but that would work as well. RenderX also has a command line call. Does eXist offer a way to execute system side commands?
>  
> From: Jens Østergaard Petersen [mailto:[hidden email]]  
> Sent: Tuesday, March 12, 2013 9:25 AM
> To: Hendricks Trevor
> Cc: Jens Østergaard Petersen; Dmitriy Shabanov; [hidden email] (mailto:[hidden email]) ml; Dulip Withanage
> Subject: Re: [Exist-open] RenderHouse XEP integration  
>  
> Hi Trevor,
>  
>  
> The way we use it (or the way my colleague, Dulip, uses it, I should say, for I don't know much about this - I only noticed the strange name you used), AntennaHouse is not installed in eXist, but accessed over the command line from eXist.  
>  
>  
> <http://www.antennahouse.com/product/ahf60/docs/ahf-xslcmd.html>
>  
>  
> Jens
>  
> On Mar 12, 2013, at 2:47 PM, Hendricks Trevor <[hidden email] (mailto:[hidden email])> wrote:
>  
>  
>  
> Are there directions for AntennaHouse that I might be able to reference?  
>  
>  
>  
> From: Jens Østergaard Petersen [mailto:[hidden email] (http://gmail.com)]  
> Sent: Tuesday, March 12, 2013 8:41 AM
> To: Hendricks Trevor
> Cc: Jens Østergaard Petersen; Dmitriy Shabanov; [hidden email] (mailto:[hidden email])
> Subject: Re: [Exist-open] RenderHouse XEP integration  
>  
>  
> Sorry, can't help - we are using AntennaHouse.
>  
>  
>  
> Jens
>  
>  
>  
> On Mar 12, 2013, at 2:31 PM, Hendricks Trevor <[hidden email] (mailto:[hidden email])> wrote:
>  
>  
>  
>  
>  
> We are utilizing RenderX. RenderHouse didn’t make sense, and as mentioned I did see a forum saying this was wrong, but since the only source for setting up listed RenderHouse that was my first shot. I did try what was suggested in the forum previously but it still didn’t work. It’s still outputting via FOP.  
>  
>  
>  
> Is there a particular way that RenderX has to be installed? I’m sure I’m missing something simple, just not sure what.
>  
>  
>  
>  
> Thanks for all the help everyone.
>  
>  
>  
>  
> From: Jens Østergaard Petersen [mailto:[hidden email] (http://gmail.com)]  
> Sent: Tuesday, March 12, 2013 7:52 AM
> To: Hendricks Trevor
> Cc: Dmitriy Shabanov; [hidden email] (mailto:[hidden email])
> Subject: Re: [Exist-open] RenderHouse XEP integration  
>  
>  
>  
> Hi Trevor,
>  
>  
>  
>  
> There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?
>  
>  
>  
>  
> Jens
>  
>  
>  
>  
> On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email] (mailto:[hidden email])> wrote:
>  
>  
>  
>  
>  
>  
> The only documentation I could find on this setup was from this link.  
>  
>  
>  
> http://en.wikibooks.org/wiki/XQuery/Generating_PDF_from_XSL-FO_files
>  
>  
>  
>  
> I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?
>  
>  
>  
>  
> From: Dmitriy Shabanov [mailto:[hidden email] (http://gmail.com)]  
> Sent: Saturday, March 09, 2013 1:41 AM
> To: Hendricks Trevor
> Cc: [hidden email] (mailto:[hidden email])
> Subject: Re: [Exist-open] RenderHouse XEP integration  
>  
>  
>  
>  
>  
> On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email] (mailto:[hidden email])> wrote:
>  
>  
> I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?
>  
>  
>  
>  
> I’ve modified conf.xml so the module call appears as below.
>  
>  
> <module uri="http://exist-db.org/xquery/xslfo" class="org.exist.xquery.modules.xslfo.XSLFOModule" >
>  
>  
> <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>
>  
>  
> </module>
>  
>  
>  
>  
>  
> it should be "... RenderXXepProcessorAdapter", where do you get that name from?
>  
> --  
> Dmitriy Shabanov  
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
> endpoint security space. For insight on selecting the right partner to  
> tackle endpoint security challenges, access the full report.  
> http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
> Exist-open mailing list
> [hidden email] (mailto:[hidden email])
> https://lists.sourceforge.net/lists/listinfo/exist-open 
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
> endpoint security space. For insight on selecting the right partner to  
> tackle endpoint security challenges, access the full report.  
> http://p.sf.net/sfu/symantec-dev2dev
>  
> _______________________________________________
> Exist-open mailing list
> [hidden email] (mailto:[hidden email])
> https://lists.sourceforge.net/lists/listinfo/exist-open




------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Jens Østergaard Petersen-2
In reply to this post by hendrickst
<base href="x-msg://200/">No, of course you are right, it doesn't.  I failed to digest properly the information I got.

Jens

On Mar 12, 2013, at 3:26 PM, Hendricks Trevor <[hidden email]> wrote:

Different approach, but that would work as well. RenderX also has a command line call. Does eXist offer a way to execute system side commands?
 
From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 9:25 AM
To: Hendricks Trevor
Cc: Jens Østergaard Petersen; Dmitriy Shabanov; [hidden email] ml; Dulip Withanage
Subject: Re: [Exist-open] RenderHouse XEP integration
 
Hi Trevor,
 
The way we use it (or the way my colleague, Dulip, uses it, I should say, for I don't know much about this - I only noticed the strange name you used), AntennaHouse is not installed in eXist, but accessed over the command line from eXist. 
 
 
Jens
 
On Mar 12, 2013, at 2:47 PM, Hendricks Trevor <[hidden email]> wrote:


Are there directions for AntennaHouse that I might be able to reference?
 
 
From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 8:41 AM
To: Hendricks Trevor
Cc: Jens Østergaard Petersen; Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
Sorry, can't help - we are using AntennaHouse.
 
Jens
 
On Mar 12, 2013, at 2:31 PM, Hendricks Trevor <[hidden email]> wrote:



We are utilizing RenderX. RenderHouse didn’t make sense, and as mentioned I did see a forum saying this was wrong, but since the only source for setting up listed RenderHouse that was my first shot. I did try what was suggested in the forum previously but it still didn’t work. It’s still outputting via FOP.
 
Is there a particular way that RenderX has to be installed? I’m sure I’m missing something simple, just not sure what.
 
Thanks for all the help everyone.
 
From: Jens Østergaard Petersen [mailto:oesterg@gmail.com] 
Sent: Tuesday, March 12, 2013 7:52 AM
To: Hendricks Trevor
Cc: Dmitriy Shabanov; [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
Hi Trevor,
 
There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?
 
Jens
 
On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email]> wrote:




The only documentation I could find on this setup was from this link.
 
 
I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?
 
From: Dmitriy Shabanov [mailto:shabanovd@gmail.com] 
Sent: Saturday, March 09, 2013 1:41 AM
To: Hendricks Trevor
Cc: [hidden email]
Subject: Re: [Exist-open] RenderHouse XEP integration
 
 
On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email]> wrote:
I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?
 
I’ve modified conf.xml so the module call appears as below.
                <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule" >
                                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/>
</module>
 
it should be "... RenderXXepProcessorAdapter", where do you get that name from?

-- 
Dmitriy Shabanov
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
 
 
 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

hendrickst
In reply to this post by Wolfgang Meier-2
Still can't get it to work. I stepped back through what you provided. Don't know what I'm doing wrong at this point.

1) include.module.xslfo = true
2) <module uri="http://exist-db.org/xquery/xslfo"       class="org.exist.xquery.modules.xslfo.XSLFOModule">
                <parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderXXepProcessorAdapter"/>
            </module>
3) Copied all RenderX .jar files to EXIST_HOME/lib/user.
4) Restarted eXist (a few times).
5) I'm guessing this is where my problem is. Here's the excerpt from my xQuery.
 
let $config := doc("file:///C:\Program Files\RenderX\XEP\xep.xml")
let $pdf := xslfo:render($fo, "application/pdf", (), $config)
return response:stream-binary($pdf, "application/pdf", "output.pdf")

-----Original Message-----
From: Wolfgang Meier [mailto:[hidden email]]
Sent: Tuesday, March 12, 2013 10:15 AM
To: Hendricks Trevor
Cc: Jens Østergaard Petersen; [hidden email] ml
Subject: Re: [Exist-open] RenderHouse XEP integration

Hi Trevor,  

ok, I just installed RenderX again and got it to run. Here's what I did:

1) enable include.module.xslfo = true in extensions/build.properties and run build.sh (not necessary if you run the 2.0 release)
2) edit conf.xml and comment out the xslfo module, changing the adapter for RenderX as documented:

<module uri="http://exist-db.org/xquery/xslfo" class="org.exist.xquery.modules.xslfo.XSLFOModule">
<parameter name="processorAdapter" value="org.exist.xquery.modules.xslfo.RenderXXepProcessorAdapter"/>
</module>



3) copy all .jar from XEP/lib into EXIST_HOME/lib/user
4) restart eXist-db
5) change your XQuery to include the xep configuration as an XML element and pass it to the render function:

let $pdf := xslfo:render(fo:main($id), "application/pdf", (), $config) return
    response:stream-binary($pdf, "media-type=application/pdf", $id || ".pdf")



In $config you need to make sure the path to the license and fonts points to the correct location on your disk.

That's all!

Wolfgang


Am Dienstag, 12. März 2013 um 15:26 schrieb Hendricks Trevor:

> Different approach, but that would work as well. RenderX also has a command line call. Does eXist offer a way to execute system side commands?
>  
> From: Jens Østergaard Petersen [mailto:[hidden email]]
> Sent: Tuesday, March 12, 2013 9:25 AM
> To: Hendricks Trevor
> Cc: Jens Østergaard Petersen; Dmitriy Shabanov;
> [hidden email]
> (mailto:[hidden email]) ml; Dulip Withanage
> Subject: Re: [Exist-open] RenderHouse XEP integration
>  
> Hi Trevor,
>  
>  
> The way we use it (or the way my colleague, Dulip, uses it, I should say, for I don't know much about this - I only noticed the strange name you used), AntennaHouse is not installed in eXist, but accessed over the command line from eXist.  
>  
>  
> <http://www.antennahouse.com/product/ahf60/docs/ahf-xslcmd.html>
>  
>  
> Jens
>  
> On Mar 12, 2013, at 2:47 PM, Hendricks Trevor <[hidden email] (mailto:[hidden email])> wrote:
>  
>  
>  
> Are there directions for AntennaHouse that I might be able to reference?  
>  
>  
>  
> From: Jens Østergaard Petersen [mailto:[hidden email]
> (http://gmail.com)]
> Sent: Tuesday, March 12, 2013 8:41 AM
> To: Hendricks Trevor
> Cc: Jens Østergaard Petersen; Dmitriy Shabanov;
> [hidden email]
> (mailto:[hidden email])
> Subject: Re: [Exist-open] RenderHouse XEP integration
>  
>  
> Sorry, can't help - we are using AntennaHouse.
>  
>  
>  
> Jens
>  
>  
>  
> On Mar 12, 2013, at 2:31 PM, Hendricks Trevor <[hidden email] (mailto:[hidden email])> wrote:
>  
>  
>  
>  
>  
> We are utilizing RenderX. RenderHouse didn’t make sense, and as mentioned I did see a forum saying this was wrong, but since the only source for setting up listed RenderHouse that was my first shot. I did try what was suggested in the forum previously but it still didn’t work. It’s still outputting via FOP.  
>  
>  
>  
> Is there a particular way that RenderX has to be installed? I’m sure I’m missing something simple, just not sure what.
>  
>  
>  
>  
> Thanks for all the help everyone.
>  
>  
>  
>  
> From: Jens Østergaard Petersen [mailto:[hidden email]
> (http://gmail.com)]
> Sent: Tuesday, March 12, 2013 7:52 AM
> To: Hendricks Trevor
> Cc: Dmitriy Shabanov; [hidden email]
> (mailto:[hidden email])
> Subject: Re: [Exist-open] RenderHouse XEP integration
>  
>  
>  
> Hi Trevor,
>  
>  
>  
>  
> There is nothing called "RenderHouse" (well, nothing relevant …). There is AntennaHouse and RenderX. What are you using?
>  
>  
>  
>  
> Jens
>  
>  
>  
>  
> On Mar 11, 2013, at 2:36 PM, Hendricks Trevor <[hidden email] (mailto:[hidden email])> wrote:
>  
>  
>  
>  
>  
>  
> The only documentation I could find on this setup was from this link.  
>  
>  
>  
> http://en.wikibooks.org/wiki/XQuery/Generating_PDF_from_XSL-FO_files
>  
>  
>  
>  
> I did see a mention of the adapter value you mention, but I’ve had no luck using either (rebuilding after each usage). At this point I have set my parameter to what you pointed out. Still publishing with FOP. Does the install of RenderX have to be done in a specific way or to a specific path?
>  
>  
>  
>  
> From: Dmitriy Shabanov [mailto:[hidden email] (http://gmail.com)]
> Sent: Saturday, March 09, 2013 1:41 AM
> To: Hendricks Trevor
> Cc: [hidden email]
> (mailto:[hidden email])
> Subject: Re: [Exist-open] RenderHouse XEP integration
>  
>  
>  
>  
>  
> On Sat, Mar 9, 2013 at 2:20 AM, Hendricks Trevor <[hidden email] (mailto:[hidden email])> wrote:
>  
>  
> I manually downloaded and placed the jar files for fop and the build successfully completed. I can generate my pdf using FOP. Now, how do I change it to use xep from RenderX?
>  
>  
>  
>  
> I’ve modified conf.xml so the module call appears as below.
>  
>  
> <module uri="http://exist-db.org/xquery/xslfo"
> class="org.exist.xquery.modules.xslfo.XSLFOModule" >
>  
>  
> <parameter name="processorAdapter"
> value="org.exist.xquery.modules.xslfo.RenderHouseXepProcessorAdapter"/
> >
>  
>  
> </module>
>  
>  
>  
>  
>  
> it should be "... RenderXXepProcessorAdapter", where do you get that name from?
>  
> --
> Dmitriy Shabanov
> ----------------------------------------------------------------------
> -------- Symantec Endpoint Protection 12 positioned as A LEADER in The
> Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in
> the endpoint security space. For insight on selecting the right
> partner to tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev__________________________________
> _____________
> Exist-open mailing list
> [hidden email]
> (mailto:[hidden email])
> https://lists.sourceforge.net/lists/listinfo/exist-open
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
>  
> ----------------------------------------------------------------------
> -------- Symantec Endpoint Protection 12 positioned as A LEADER in The
> Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in
> the endpoint security space. For insight on selecting the right
> partner to tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
>  
> _______________________________________________
> Exist-open mailing list
> [hidden email]
> (mailto:[hidden email])
> https://lists.sourceforge.net/lists/listinfo/exist-open



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
Reply | Threaded
Open this post in threaded view
|

Re: RenderHouse XEP integration

Joe Wicentowski
On Fri, Mar 15, 2013 at 6:01 PM, Hendricks Trevor
<[hidden email]> wrote:
> Still can't get it to work.

What do you get - an error, or unexpected results?

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open
12