KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > igfay > util > AntFig


1 package org.igfay.util;
2 import org.apache.log4j.Logger;
3 import org.apache.tools.ant.Main;
4 import org.igfay.jfig.JFig;
5
6 /**
7  * @author conrad4
8  *
9  * This class brings the power and flexibility of JFig to Ant.
10  * It takes advantage of the JFig functionality to automatically load selected values as properties.
11  * You can put your Ant properties in your config file, then use AntFig to process configuration and call Ant.
12  *
13  * This gives you the advantage of storing all your configuration in one central location in
14  * addition to the additional JFig functionality.
15  */

16 public class AntFig {
17     private static Logger logger = Logger.getLogger(AntFig.class);
18
19     public static void main(String JavaDoc[] args) {
20         JFig.getInstance();
21         Main.main(args);
22     }
23
24 }
25
Popular Tags