Antlion
Welcome
License
 
How-To Guides
Getting Started
Libraries
Artifacts
Subprojects
Repositories
Policy Strategies
Format Strings
Extending Antlion
FAQ
 
Tutorials
First Tutorial: Simple
 
Ant Tasks
<artifact>
<libraryDef>
<library>
<library-policy>
inner processors
inner repositories
<library-type>
<library-repository>
<library-urlrepository>
<library-mavenrepository>
<library-repositoryset>
<create-artifact>
<subprojects>
<run-subproject>
<replace-target>
 
Optional Tasks
About optional tasks
RegexpTokenFormatter
 
TOC   Prev   Next  
Add Antlion to the Build

Let's create the beginnings of our build.xml file. Let's put it in the [root]/ directory, so that it's easily accessible.

Typedef Antlion

The first order of business is to add Antlion to our build file, and some properties to define where everything lives. Here's our start to the build.xml file:

<project name="SimpleProject" default="main">
  <property name="lib.dir" location="lib" />

  <property name="dist.dir" location="dist" />
  <property name="work.dir" location="work" />
  <property name="classes.dir"
      location="${work.dir}/classes" />

  <typedef resource="net/sf/antlion/antlib.xml">
    <classpath><pathelement
      location="${lib.dir}/antlion/0.9.0/antlion-inline-0.9.0.jar" />
  </classpath></typedef>
</project>


TOC   Prev   Next  
Document version $Revision: 1.6 $ $Date: 2005/10/31 04:37:58 $

SourceForge Logo
Copyright © 2004-2006, The Antlion Project