KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > make


1 /*
2  * Copyright (c) 2005, Brian Hawkins
3  * brianhks@activeclickweb.com
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the Free
7  * Software Foundation; either version 2 of the License, or (at your option)
8  * any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but
11  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13  * for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the
17  * Free Software Foundation, Inc.,
18  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */

20  
21 import java.lang.reflect.*;
22
23 public class make
24     {
25     public static void main(String JavaDoc[] args)
26         {
27         /*try
28             {
29             bhutils.ClassLoaderWrapper loader = bhutils.ClassLoaderWrapper.getClassLoader();
30             Class[] params = new Class[] { String[].class };
31             Class make = loader.loadClass("cpmake.CPMake");
32             Method m = make.getMethod("main", params);
33             
34             m.invoke(null, new Object[] { args });
35             }
36         catch(Exception e) {}*/

37         cpmake.CPMake.main(args);
38         }
39     }
40
Popular Tags