DITA PDF2 - How to integrate icu4j-4_0.jar
Here should go questions about transforming XML with XSLT and FOP.
DITA PDF2 - How to integrate icu4j-4_0.jar
Hello,
XEP is installed, but how can I integrate 'icu4j-4_0.jar'.
Within DITA-OT you have to paste the file into DITA-OT\demo\fo\lib - then you have to run "ant -f integrator.xml"!
Whats to do within the framework for Oxygen?
Thank you in advance
Joe
XEP is installed, but how can I integrate 'icu4j-4_0.jar'.
Within DITA-OT you have to paste the file into DITA-OT\demo\fo\lib - then you have to run "ant -f integrator.xml"!
Whats to do within the framework for Oxygen?
Thank you in advance
Joe
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hi Joe,
To run an IDIOM PDF2 transformation using ICU4J just copy the jar to the OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\demo\fo\lib.
You do not have to run the integrator, the library is loaded automatically by the process if found.
Regards,
Radu
To run an IDIOM PDF2 transformation using ICU4J just copy the jar to the OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\demo\fo\lib.
You do not have to run the integrator, the library is loaded automatically by the process if found.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hello Radu,
I copied "icu4j-4_0.jar" into the folder "OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\demo\fo\lib". After transforming the sample file to PDF2 I still get the following message:
transform.topic2fo:
It seems that the "icu4j" is not really integrated?!
Best Regards,
Joe
I copied "icu4j-4_0.jar" into the folder "OXYGEN_INSTALL_DIR\frameworks\dita\DITA-OT\demo\fo\lib". After transforming the sample file to PDF2 I still get the following message:
transform.topic2fo:
Code: Select all
[dita-version] Search finished
[index-preprocess] [INFO] IBM ICU4J Collator is not found. Default Java Collator will be used
Best Regards,
Joe
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hi Joe,
You'd better rename the library to icu4j.jar.
It seems that the DITA Open Toolkit process is looking for a particular jar file name.
Regards,
Radu
You'd better rename the library to icu4j.jar.
It seems that the DITA Open Toolkit process is looking for a particular jar file name.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hi all,
I had the same problem. To get rid of that message, I had to put icu4j.jar into frameworks\dita\DITA-OT\lib. For some reason, putting it into frameworks\dita\DITA-OT\demo\fo\lib did not work for me. I'm using oXygen 11.2.
Susanne
I had the same problem. To get rid of that message, I had to put icu4j.jar into frameworks\dita\DITA-OT\lib. For some reason, putting it into frameworks\dita\DITA-OT\demo\fo\lib did not work for me. I'm using oXygen 11.2.
Susanne
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hi Susanne,
Just tested with an Oxygen 11.2 installation and the procedure should work as described in the post.
Are you sure you are copying the icu4j.jar library in the correct Oxygen installation directory? Maybe you are copying to the directory of an older installation.
Also, maybe the content of the icu4j jar you are copying is incorrect.
You can also download an entire DITA Open Toolkit full-easy-install kit from http://sourceforge.net/projects/dita-ot/files/ and use the icu4j.jar found there in the \DITA-OT\lib path.
Regards,
Radu
Just tested with an Oxygen 11.2 installation and the procedure should work as described in the post.
Are you sure you are copying the icu4j.jar library in the correct Oxygen installation directory? Maybe you are copying to the directory of an older installation.
Also, maybe the content of the icu4j jar you are copying is incorrect.
You can also download an entire DITA Open Toolkit full-easy-install kit from http://sourceforge.net/projects/dita-ot/files/ and use the icu4j.jar found there in the \DITA-OT\lib path.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hi Radu,
I'm pretty sure that I'm in the correct installation directory. The previous version was uninstalled by the setup.
I already have a separate DITA OT 1.5 installation. It contains XEP and the icu4j.jar file that I copied to the oXygen installation directory (I copied it twice). When I'm transforming from oXygen, I'm pointing to this copy of XEP, but I'm using the DITA OT that comes with oXygen.
I turned on verbose output to shed some light into this. Whenever I rename C:\Programme\Oxygen XML Editor 11\frameworks\dita\DITA-OT\lib\icu4j.jar to C:\Programme\Oxygen XML Editor 11\frameworks\dita\DITA-OT\lib\renamed_icu4j.jar, I get the following messages in the output:
The file C:\Programme\Oxygen XML Editor 11\frameworks\dita\DITA-OT\demo\fo\lib\icu4j.jar is ignored.
Maybe I'm putting the file into the wrong transformation directory. The transformation I'm using is an adjusted version of PDF - Idiom FO Plugin.
Thanks for your help
Susanne
I'm pretty sure that I'm in the correct installation directory. The previous version was uninstalled by the setup.
I already have a separate DITA OT 1.5 installation. It contains XEP and the icu4j.jar file that I copied to the oXygen installation directory (I copied it twice). When I'm transforming from oXygen, I'm pointing to this copy of XEP, but I'm using the DITA OT that comes with oXygen.
I turned on verbose output to shed some light into this. Whenever I rename C:\Programme\Oxygen XML Editor 11\frameworks\dita\DITA-OT\lib\icu4j.jar to C:\Programme\Oxygen XML Editor 11\frameworks\dita\DITA-OT\lib\renamed_icu4j.jar, I get the following messages in the output:
Code: Select all
dropping C:\Programme\Oxygen XML Editor 11\frameworks\dita\DITA-OT\lib\icu4j.jar from path as it doesn't exist
...
[index-preprocess] [INFO] IBM ICU4J Collator is not found. Default Java Collator will be used
Maybe I'm putting the file into the wrong transformation directory. The transformation I'm using is an adjusted version of PDF - Idiom FO Plugin.
Thanks for your help
Susanne
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hi Susanne,
Let's try something else:
Edit the DITA Map to PDF scenario, in the "Advanced" tab press the "Libraries" button.
Uncheck the Allow Oxygen to add... button.
A list of libraries should appear.
Can you search for the dost.jar reference?
If there are more than one, check for the one closest to the top of the list.
The icu4j.jar should be copied in the same directory as the dost.jar referenced in the class path.
Regards,
Radu
Let's try something else:
Edit the DITA Map to PDF scenario, in the "Advanced" tab press the "Libraries" button.
Uncheck the Allow Oxygen to add... button.
A list of libraries should appear.
Can you search for the dost.jar reference?
If there are more than one, check for the one closest to the top of the list.
The icu4j.jar should be copied in the same directory as the dost.jar referenced in the class path.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hi Radu,
that's it - the list of libraries contains one instance of dost.jar. The entry reads as follows: ${frameworks}/dita/DITA-OT/lib/dost.jar - the icu4j.jar file in that directory is actually found during the transformation.
Why is this different in my installation?
Regards
Susanne
that's it - the list of libraries contains one instance of dost.jar. The entry reads as follows: ${frameworks}/dita/DITA-OT/lib/dost.jar - the icu4j.jar file in that directory is actually found during the transformation.
Why is this different in my installation?
Regards
Susanne
Re: DITA PDF2 - How to integrate icu4j-4_0.jar
Hi Susanne,
The dost.jar tries to find the icu4j.jar in same directory from where is was loaded.
Regards,
Radu
I do not understand, is it working now?susannecm wrote:the icu4j.jar file in that directory is actually found during the transformation.
The dost.jar tries to find the icu4j.jar in same directory from where is was loaded.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service