My favorites | Sign in
Project Logo
                
Code license: New BSD License
Labels: haxe, ant, build, task, neko, cpp, js, swf, as3
Feeds:
People details
Project owners:
  wildwinter, kukkerman

This project contains a collection of Ant tasks which help you integrate haXe with Ant.

Tested and working on Ant 1.7.0, 1.7.1

Installation

To install anthx, use: haxelib install anthx

Declare anthx Tasks

To declare all anthx tasks within Ant so that you can use it in your Ant build files, place the following inside the project element of your Ant build file:

<taskdef resource="net/wildwinter/anthx/anthx.properties"
    classpath="pathToAntHX/libs/AntHX.jar"/>

Note the path to Ant HX This must be the path to AntHX in your haxelib folder. Type haxelib path anthx to retrieve this.

For example, on my install the declaration looks like this:

<taskdef resource="net/wildwinter/anthx/anthx.properties"
  classpath="E:\devtools\haxe-2.0-win\lib\anthx\0,7\libs\AntHX.jar"/>

Use

Once you have declared the tasks as above, you can use them like any other Ant task.

Tasks

Paths to haXe and neko

By default, the tasks here try to call haXe and neko within the current environment i.e. they assume that haXe and neko will run from the command line and all the appropriate environment variables are set.

You can override these using the haxeEnv task.

Changelog

Version 0.7

Version 0.6

Version 0.5

Version 0.5

Version 0.4

Version 0.3









Hosted by Google Code