View Javadoc

1   /*
2    * UML2MMBase module.
3    *
4    * The contents of this file are subject to the Mozilla Public License
5    * Version 1.0 (the "License"); you may not use this file except in
6    * compliance with the License. You may obtain a copy of the License at
7    * http://www.mozilla.org/MPL/
8    *
9    * Software distributed under the License is distributed on an "AS IS"
10   * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
11   * License for the specific language governing rights and limitations
12   * under the License.
13   */
14  
15  package com.finalist.mmbase.ant;
16  
17  /***
18   * Start UML2MMbase using ant to call the build script.
19   * This will avoid an installation of ant or a user.
20   *
21   * Copyright 2003 Finalist IT-Group -- all rights reserved
22   *
23   * @author Rudie Ekkelenkamp.
24   * @version $Revision: 1.3 $, $Date: 2004/10/23 08:54:39 $
25   *
26   * Date: 17-sep-2003
27   * Time: 12:14:52
28   *
29   *
30   * $Id: UML2MMBaseStarter.java,v 1.3 2004/10/23 08:54:39 ekkelenkamp Exp $
31   */
32  public class UML2MMBaseStarter {
33  
34     /***
35      * Main method that will start an ant task. The parameters will be passed on.
36      * @param args list with parameters. For example: -f build.xml all, to run the all target on the build.xml file.
37      */
38     public static void main(String[] args) {
39       // Try to call and with the passed argument
40       org.apache.tools.ant.Main.main(args);
41     }
42  }