| 111 | == Java Tools == |
| 112 | |
| 113 | A bundle of recipe commands that support tools commonly used by Java projects. |
| 114 | |
| 115 | ''Namespace'':: `http://bitten.cmlenz.net/tools/java` |
| 116 | ''Common prefix'':: `java` |
| 117 | |
| 118 | === `<java:ant>` === |
| 119 | |
| 120 | Runs an Ant build. |
| 121 | |
| 122 | ==== Parameters ==== |
| 123 | |
| 124 | || Name || Description || |
| 125 | || `file` || Path of the build file, relative to the project source directory (default is `build.xml`). || |
| 126 | || `target` || Name of the build target(s) to execute. || |
| 127 | || `keep_going` || Tell Ant to continue even when errors are in encountered in the build. || |
| 128 | |
| 129 | ==== Examples ==== |
| 130 | |
| 131 | {{{ |
| 132 | <java:ant target="compile" /> |
| 133 | }}} |
| 134 | |
| 135 | Executes the target `compile` of the `build.xml` buildfile at the top of the project source directory. |
| 136 | |
| 137 | ---- |
| 138 | |