DITA and XMetaL Discussion

XMetaL Community Forum DITA and XMetaL Discussion XMetaL Author Enterprise can’t find Antenna House XSL Formatter

  • Derek Read

    XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    Participants 8
    Replies 9
    Last Activity 12 years, 6 months ago

    Problem:
    You are using the deliverable type “XMetaL Enhanced PDF via Antenna House XSL Formatter” and you have Antenna House XSL Formatter installed but output fails and your output log file contains something similar to the following:

    Antenna House XSL Formatter could not be found. Please install this applicaton. If XSL Formatter is already installed, ensure XMetaL is configured to identify where the application is installed.

    Solution:
    Specify the location to your copy of Antenna House XSL Formatter using the following parameter* in Tools > Configure Output > [your deliverable's name] > Edit (button) > Advanced (tab) > Other output parameters:

    [code]ANT_PARAM_args.antenna.exe = [/code]

    You can pass command line parameters to xslcmd.exe using the following parameter:

    [code]ANTENNA_PARAM = [/code]

    Example:

    [code]ANT_PARAM_args.antenna.exe  =  “c:progra~1antennaxslfor~1xslcmd.exe”
    ANTENNA_PARAM  =  -i “c:config_file1.xml”[/code]

    If any of the paths you use contain spaces you should place quotation marks around them.

    *Note: If the ANT_PARAM_args.antenna.exe parameter doesn't accept a quoted path for paths that contain spaces (you'll see a truncated path in your output log file after the first space) please use an 8.3 formatted path as shown in the example above. We hope to correct this in the future.

    Reply

    Tazz64

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    what type of XMetaL Enhanced PDF via Antenna House XSL Formatter you are using?Can you tell me what is it?

    Reply

    Derek Read

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    The original post was in reference to the out of the box deliverable that ships with XMetaL Author Enterprise 5.1 and 5.5 called “XMetaL Enhanced PDF via Antenna House XSL Formatter” and documented in help. We do not include a copy of XSL Formatter however, which is why the product does not know where you have installed it (nor is it possible to figure that out using Windows system calls).

    Reply

    Su-Laine Yeo

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    If you are using Antenna House XSL Formatter 4.3 and it is installed in the default location, the parameter is:

    [code]ANT_PARAM_args.antenna.exe  =  “C:Progra~1AntennaXSLFor~1XSLCmd.exe”
    [/code]

    Reply

    Derek Read

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    Antenna House has changed the name of their “XSL Formatter” command line tool with their v5.2 release. By default it is now installed here:

    C:Program FilesAntennaHouseAHFormatterV52AHFCmd.exe

    So, in order for XMetaL Author Enterprise to locate it you will need to add the following parameter (as outlined in the rest of this post):

    ANT_PARAM_args.antenna.exe = C:Program FilesAntennaHouseAHFormatterV52AHFCmd.exe

    Note: Tested with XMetaL Author Enterprise 6.0.1.030 (current version to date) on Windows XP.

    Reply

    Yuwono

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    Derek,

    I tried 3 different ways:

    ANT_PARAM_args.antenna.exe = C:Program FilesAntennaHouseAHFormatterV52AHFCmd.exe
    ANT_PARAM_args.antenna.exe = “C:Program FilesAntennaHouseAHFormatterV52AHFCmd.exe”
    ANT_PARAM_args.antenna.exe = C:PROGRA~1ANTENN~1AHFORM~1AHFCmd.exe

    and they produced an error in the log although PDFs were successfully rendered.

    Should I just ignore the error?

    Reply

    Derek Read

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    I don't see this issue, however, I'm also not running the 64-bit version of Windows 7 (and you seem to be). That might be the reason, I'm not sure.

    XMetaL Author Enterprise 6.0 does not currently officially support 64-bit Windows 7 (only 32-bit) but we have plans to with our next major release.

    Reply

    gcrews

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    don't see how it would not show that error. If you look at the batch code in print_dita142.xml around line  1557 you have a “echo on” and its after the toolkit runs witch enables echo too as i recall. looks like its finding the file but its just a echo from the batch code. If it was actually echoing that message you would not see the echo in the error line. Derek, did you look at the log file in xmetal or just see that it completed successfully?

    Reply

    Derek Read

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    I just recall that output was successful. I don't remember looking to see if there were any messages in the log. I'll see if I still have this VM image (I should) tomorrow and have a look at the log.

    Reply

    Derek Read

    Reply to: XMetaL Author Enterprise can’t find Antenna House XSL Formatter

    OK, I've set up a clean install and also reviewed the batch file instructions and yes, you will see the lines you have highlighted in the log file. However, they are simply commands that happen to be echoed into the log file and are not actual errors. The fact that they are outlined in orange and yellow is a side effect of the simplistic logic that we use to suggest places you may wish to double check in the log file. That logic tries to highlight any line containing certain keywords (error, warning, warn, among others).

    The parameter I suggested before works just fine for AHF 5.2:
    ANT_PARAM_args.antenna.exe = C:Program FilesAntennaHouseAHFormatterV52AHFCmd.exe

    PDF output is produced, the “BUILD SUCCESSFUL” message appears in the log file (above the lines you have indicated), and you should be able to open the PDF directly from our UI once it is complete.

    Reply

  • You must be logged in to reply to this topic.

Lost Your Password?

Products
Downloads
Support