01: package org.igfay.util;
02:
03: import org.apache.log4j.Logger;
04: import org.apache.tools.ant.Main;
05: import org.igfay.jfig.JFig;
06:
07: /**
08: * @author conrad4
09: *
10: * This class brings the power and flexibility of JFig to Ant.
11: * It takes advantage of the JFig functionality to automatically load selected values as properties.
12: * You can put your Ant properties in your config file, then use AntFig to process configuration and call Ant.
13: *
14: * This gives you the advantage of storing all your configuration in one central location in
15: * addition to the additional JFig functionality.
16: */
17: public class AntFig {
18: private static Logger logger = Logger.getLogger(AntFig.class);
19:
20: public static void main(String[] args) {
21: JFig.getInstance();
22: Main.main(args);
23: }
24:
25: }
|