KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mullassery > act > Main


1 /*
2  * The Apache Software License, Version 1.1
3  *
4  * Copyright (c) 2000-2002 The Apache Software Foundation. All rights reserved.
5  *
6  * Redistribution and use in source and binary forms, with or without
7  * modification, are permitted provided that the following conditions are met: 1.
8  * Redistributions of source code must retain the above copyright notice, this
9  * list of conditions and the following disclaimer. 2. Redistributions in
10  * binary form must reproduce the above copyright notice, this list of
11  * conditions and the following disclaimer in the documentation and/or other
12  * materials provided with the distribution. 3. The end-user documentation
13  * included with the redistribution, if any, must include the following
14  * acknowlegement: "This product includes software developed by the Apache
15  * Software Foundation (http://www.apache.org/)." Alternately, this
16  * acknowlegement may appear in the software itself, if and wherever such
17  * third-party acknowlegements normally appear. 4. The names "The Jakarta
18  * Project", "Ant", and "Apache Software Foundation" must not be used to
19  * endorse or promote products derived from this software without prior written
20  * permission. For written permission, please contact apache@apache.org. 5.
21  * Products derived from this software may not be called "Apache" nor may
22  * "Apache" appear in their names without prior written permission of the
23  * Apache Group.
24  *
25  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
26  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
27  * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
28  * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
29  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
30  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
31  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
32  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35  * ====================================================================
36  *
37  * This software consists of voluntary contributions made by many individuals
38  * on behalf of the Apache Software Foundation. For more information on the
39  * Apache Software Foundation, please see <http://www.apache.org/> .
40  */

41 package com.mullassery.act;
42
43 /**
44  * @author Abey Mullassery
45  *
46  */

47 public class Main {
48
49     public static void main(String JavaDoc[] args) {
50         try {
51             TaskMaster tm = new TaskMaster();
52             tm.run(args);
53         } catch (Exception JavaDoc e) {
54             e.printStackTrace();
55             System.err.println(
56                 "Error occurred (" + e + " : " + e.getMessage() + ")");
57         }
58     }
59 }
60
Popular Tags