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  
Epilogue
What We Learned

This tutorial showed how to use Antlion to organize library and distribution files. It introduced library policies, and how to organize your builds around what they publish.


Antlion vs. Ant

This project could have been done in Ant by simply replacing the artifact declarations with the corresponding Ant types and properties.

(These files are also available in the downloadable zip file.)

The property names and reference IDs in the Ant version can be shortened, but they were kept the same to make differences easier.

In this example, there is little difference between the two versions besides extra Antlion tags and a bit of property name "magic." For this sized project, learning Antlion doesn't have many advantages. However, in the next tutorial, the advantages of Antlion over Ant should be more apparent for a larger-sized project.



TOC   Prev  
Document version $Revision: 1.4 $ $Date: 2005/12/21 21:37:51 $

SourceForge Logo
Copyright © 2004-2006, The Antlion Project