Giter VIP home page Giter VIP logo

dottask's Introduction

DITA-OT Ant Task

A simple Ant task for publishing things with DITA Open Toolkit.

Features

  • No need to set classpath.
  • You can use Ant filesets to publish many files at once.
  • Platform-independent.

Installation

NOTE: Java 7+ and Ant required.

$ git clone https://github.com/eerohele/dottask.git
$ cd dottask
$ ant
$ cp target/jar/dotTask-0.1.0.jar /your/dita/ant/project/path/lib

Sample Ant buildfile

See samples/build.xml.

To run it:

$ cd samples
$ ant -Ddita.home=/path/to/your/dita-ot/installation

Optional attributes

You can set these optional attributes on the <dita-ot> element.

  • workdir

    The directory where to store temporary and output files. The default is ${java.io.tmpdir}.

  • inheritAll

    Inherit (almost) all properties from the parent project. The args.input, output.dir, and dita.temp.dir parameters aren't inherited because that wouldn't make sense. The default is false.

  • verbose

    Run Ant in verbose mode. The default is false.

Caveats

  • Only very cursorily tested on Java 7+, DITA-OT 1.8.x, DITA-OT 2.x, and default DITA-OT plugins at the moment. Help appreciated.
  • I resemble a Java programmer about as closely as I resemble George Clooney.

TODO

  • Publish to Maven Central (if there's interest)

dottask's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.