Skip to content

Commit

Permalink
Remove dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jul 6, 2023
1 parent 446b368 commit 5ff0bfb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ rm dita-ot-4.0.zip

```console
dita install https://github.com/doctales/org.doctales.xmltask/archive/master.zip
dita install https://github.com/jason-fox/fox.jason.translate.xliff/archive/master.zip
```

The `dita` command line tool requires no additional configuration.
Expand Down
7 changes: 5 additions & 2 deletions build_dita2translate_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
<param name="1" value="${args.input}"/>
</dita-ot-fail>
<dirname property="args.input.dir" file="${args.input}"/>


<taskdef resource="fox/jason/translate/antlib.xml"/>
<taskdef classname="com.oopsconsultancy.xmltask.ant.XmlTask" name="xmltask">
<classpath>
<pathelement location="${dita.plugin.fox.jason.translate.xliff.dir}/lib/xmltask.jar"/>
</classpath>
</taskdef>

<property
name="translate.customization.dir"
Expand Down
Binary file added lib/xmltask.jar
Binary file not shown.
3 changes: 0 additions & 3 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,4 @@
<feature extension="dita.xsl.messages" file="resource/messages.xml"/>
<!-- Add a template file to enable overrides to use extension points -->
<template file="build_dita2translate_template.xml"/>

<require plugin="org.doctales.xmltask"/>

</plugin>

0 comments on commit 5ff0bfb

Please sign in to comment.