-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add topic on local.properties
file
#81
Comments
local.properties
file
Thanks for the input. You're right, the docs are a bit sparse with regard to the use of We're working on improving this with the changes for #62, which adds info on “Setting build parameters with .properties files”, and #46, which points out missing configuration properties. We'll add a new topic to explain how the |
Thanks! I have since also found out about two undocumented command line parameters for enabling the use of Antenna House: ahf.dir ahf.cmd You have to escape the backslashes with \, even though the path to the ditamap does not have to use escaped backslashes (arcane!). So the following command seems to work with OT 1.7.5 without the local.properties file as described earlier: ant -Dargs.input=C:\path\to\map\my.ditamap -Dtranstype=my-pdf -Dpdf.formatter=ah -Dahf.dir=C:\Program Files\Antenna House\AHFormatterV62 -Dahf.cmd=C:\Program Files\Antenna House\AHFormatterV62 |
@markgif I think we addressed the properties file with some doc changes here: http://www.dita-ot.org/2.3/user-guide/build-using-dita-properties-file.html Let the team know if you're satisfied we've addressed that issue. I opened #101 and #102 to address the other two issues raised here. Thanks! |
* develop: Clarify .properties precedence cascade (Fixes #46) Escape backslashes in .properties (Fixes #102) Add topic on `local.properties` file (Fixes #81) Remove obsolete info, update PDF2 I18N for #46 Document additional configuration properties #46 Add spec links on metadata cascading Revise `plugin.properties` description
* hotfix/2.4.3: (28 commits) Implement review feedback on 2.4.3 Release Notes Add info on docs updates to 2.4.3 RN Add info on dita-ot/dita-ot#1525 to 2.4.3 RN Add info on dita-ot/dita-ot#2038 to 2.4.3 RN Add info on dita-ot/dita-ot#2522 to 2.4.3 RN Add info on dita-ot/dita-ot#2555 to 2.4.3 RN Add info on dita-ot/dita-ot#2563 to 2.4.3 RN Re-use `org.dita.pdf2.i18n.enabled` description Format & indent per project conventions Push extended description for PDF2 I18N Update index entries for configuration.properties Push extended description for `default.language` Clarify .properties precedence cascade (Fixes #46) Escape backslashes in .properties (Fixes #102) Add topic on `local.properties` file (Fixes #81) Remove obsolete info, update PDF2 I18N for #46 Document additional configuration properties #46 Add spec links on metadata cascading Revise `plugin.properties` description Add list of resolved issues to 2.4.3 Release Notes ...
I don't know if this applies to later OT versions but this works for 1.7.5 on Windows 7. A local.properties file is mentioned in the docs in reference to using the Antenna House PDF processor. Here is some fleshed out info that would be good in the docs.
I created a text file called local.properties and put it in the 1.7.5 OT root directory. The entire content of the file is this:
axf.path=C:\Program Files\Antenna House\AHFormatterV62
I had to escape the backslashes by repeating them: \
No quotes around the path were needed, even though there are spaces in it. Adding quotes around the path makes it fail.
It does not require that you run integrator to make it take effect.
Mark
The text was updated successfully, but these errors were encountered: