{"action":"created","issue":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2090","labels_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2090/labels{/name}","comments_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2090/comments","events_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2090/events","html_url":"https://github.com/dita-ot/dita-ot/pull/2090","id":110419396,"number":2090,"title":"Add axf.jar into log-processor taskdef classpath","user":{"login":"eerohele","id":31859,"avatar_url":"https://avatars.githubusercontent.com/u/31859?v=3","gravatar_id":"","url":"https://api.github.com/users/eerohele","html_url":"https://github.com/eerohele","followers_url":"https://api.github.com/users/eerohele/followers","following_url":"https://api.github.com/users/eerohele/following{/other_user}","gists_url":"https://api.github.com/users/eerohele/gists{/gist_id}","starred_url":"https://api.github.com/users/eerohele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eerohele/subscriptions","organizations_url":"https://api.github.com/users/eerohele/orgs","repos_url":"https://api.github.com/users/eerohele/repos","events_url":"https://api.github.com/users/eerohele/events{/privacy}","received_events_url":"https://api.github.com/users/eerohele/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/ant%20interface","name":"ant interface","color":"ededed"},{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/dita-ot/dita-ot/labels/pdf","name":"pdf","color":"84b6e8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-08T10:34:06Z","updated_at":"2015-10-09T12:38:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dita-ot/dita-ot/pulls/2090","html_url":"https://github.com/dita-ot/dita-ot/pull/2090","diff_url":"https://github.com/dita-ot/dita-ot/pull/2090.diff","patch_url":"https://github.com/dita-ot/dita-ot/pull/2090.patch"},"body":"The `dita` command works without this change because `axf.jar` is imported into the classpath in `org.dita.pdf2.axf/plugin.xml`, but running DITA-OT via Ant will fail because it can't find the `org.dita.dost.pdf2.AhfLogProcessorTask` class."},"comment":{"url":"https://api.github.com/repos/dita-ot/dita-ot/issues/comments/146855693","html_url":"https://github.com/dita-ot/dita-ot/pull/2090#issuecomment-146855693","issue_url":"https://api.github.com/repos/dita-ot/dita-ot/issues/2090","id":146855693,"user":{"login":"eerohele","id":31859,"avatar_url":"https://avatars.githubusercontent.com/u/31859?v=3","gravatar_id":"","url":"https://api.github.com/users/eerohele","html_url":"https://github.com/eerohele","followers_url":"https://api.github.com/users/eerohele/followers","following_url":"https://api.github.com/users/eerohele/following{/other_user}","gists_url":"https://api.github.com/users/eerohele/gists{/gist_id}","starred_url":"https://api.github.com/users/eerohele/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eerohele/subscriptions","organizations_url":"https://api.github.com/users/eerohele/orgs","repos_url":"https://api.github.com/users/eerohele/repos","events_url":"https://api.github.com/users/eerohele/events{/privacy}","received_events_url":"https://api.github.com/users/eerohele/received_events","type":"User","site_admin":false},"created_at":"2015-10-09T12:38:31Z","updated_at":"2015-10-09T12:38:31Z","body":"If I understand you correctly, if I check out the 2.1 tag and run:\r\n\r\n```bash\r\n$ ant -logfile /tmp/log.txt -debug -lib lib:resources -f build.xml \\\r\n      -Dargs.input=$PWD/samples/hierarchy.ditamap -Dtranstype=pdf \\\r\n      -Dpdf.formatter=ah -Daxf.path=/usr/local/AHFormatterV62\r\n```\r\n\r\nIt does work, and the debug log says:\r\n\r\n```\r\ntransform.fo2pdf.ah.init:\r\n<snip/>\r\nFinding class org.dita.dost.pdf2.AhfLogProcessorTask\r\nLoaded from /Users/eerohele/Git/dita-ot/src/main/plugins/org.dita.pdf2/lib/fo.jar org/dita/dost/pdf2/AhfLogProcessorTask.class\r\n```\r\n\r\nSo it does work without having to explicitly add `fo.jar` into the classpath when running via Ant."}}