ant-devel /

Filename Size Date modified Message
Engine
Examples
Images
Main
Markup
Packages
Runtime
Tools
Typesetting
Unicode
Util
VM
data
2.6 KB
2.4 KB
1.7 KB
                ANT
         “ant is not TeX.”

       http://ant.berlios.de

         Achim Blumensath


In order to compile ant you need:

 o OCaml version 3.08 (version 3.09.0 is buggy and does not work),
 o kpathsea version 3.2,
 o FreeType version 2,
 o CamlImages version 2.2,
 o mlgmp version 20021123 (optional).

(1) You might want to edit the file “Config.mk” to set some paths. In
particular, the variables KPATHSEA_LDFLAGS and KPATHSEA_CFLAGS probably
need adjustment.

(2) You can choose between three number libraries:

 o Float: (default) All computations use floating point numbers. This is
          the fastes option but it might result in rounding errors.
 o Gmp:   uses the mlgmp library. This gives exact results but it
          slower.
 o Num:   Is similar to Gmp but does not depend on an external library.
          This is the slowest option.

You can specify the number library by setting the NUM_LIB variable in
the file “Config.mk”. Alternatively you can pass the corresponding
option directly to make, like:

  $ make NUM_LIB=Gmp

(3) You can specify which version of the compiler to use by setting the
following variables:

 o NATIVE: If empty ant is compiled to bytecode. Otherwise, native code
   is produced (default).
 o NATIVE_CAMLP4: If nonempty a native version of the preprocessor
   camlp4 is created. This speeds up the compilation process.
 o OPT: Determines whether to use the bytecode version of the compilers
   (OPT="") or the native version (OPT=".opt").

(4) Finally, to compile ant type

  $ make depend
  $ make

(5) Further documentation can be found in the file “manual.pdf”. The
directory “Examples” contains some example ant sources including the
source of the manual.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.