KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > tools > mapping > reversedb > Main


1 package org.apache.ojb.tools.mapping.reversedb;
2
3 /* Copyright 2002-2005 The Apache Software Foundation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */

17
18
19 /**
20  *
21  * @author <a HREF="mailto:bfl@florianbruckner.com">Florian Bruckner</a>
22  * @version $Id: Main.java,v 1.1.2.1 2005/12/21 22:32:04 tomdz Exp $
23  */

24 public class Main {
25     
26     private java.util.Properties JavaDoc theProperties;
27     
28     /** Creates a new instance of Main */
29     public Main()
30     {
31       try
32       {
33         theProperties = new java.util.Properties JavaDoc();
34         theProperties.load(new java.io.FileInputStream JavaDoc(System.getProperty("user.home") +
35             System.getProperty("file.separator") + "SchemeGenerator.properties"));
36       }
37       catch (java.io.IOException JavaDoc ioex)
38       {
39         // report nothing, because the worst thing that can happen is
40
// that the properties arent there.
41
}
42       new org.apache.ojb.tools.mapping.reversedb.gui.JFrmMainFrame(theProperties).show();
43     }
44     
45     /**
46      * @param args the command line arguments
47      * @param args ghjghjghj
48      */

49     public static void main(String JavaDoc[] args)
50     {
51         new Main();
52     }
53 }
54 /***************************** Changelog *****************************
55 // $Log: Main.java,v $
56 // Revision 1.1.2.1 2005/12/21 22:32:04 tomdz
57 // Updated license
58 //
59 // Revision 1.1 2004/05/05 16:39:05 arminw
60 // fix fault
61 // wrong package structure used:
62 // org.apache.ojb.tools.reversdb
63 // org.apache.ojb.tools.reversdb2
64 //
65 // instead of
66 // org.apache.ojb.tools.mapping.reversdb
67 // org.apache.ojb.tools.mapping.reversdb2
68 //
69 // Revision 1.1 2004/05/04 13:45:01 arminw
70 // move reverseDB stuff
71 //
72 // Revision 1.5 2004/04/04 23:53:42 brianm
73 // Fixed initial copyright dates to match cvs repository
74 //
75 // Revision 1.4 2004/03/11 18:16:22 brianm
76 // ASL 2.0
77 //
78 // Revision 1.3 2003/09/10 06:45:00 mpoeschl
79 // remove duplicated license
80 //
81 // Revision 1.2 2002/06/17 19:34:33 jvanzyl
82 // Correcting all the package references.
83 // PR:
84 // Obtained from:
85 // Submitted by:
86 // Reviewed by:
87 //
88 // Revision 1.1.1.1 2002/06/17 18:16:52 jvanzyl
89 // Initial OJB import
90 //
91 // Revision 1.2 2002/05/16 11:47:09 florianbruckner
92 // fix CR/LF issue, change license to ASL
93 //
94 // Revision 1.1 2002/04/18 11:44:16 mpoeschl
95 //
96 // move files to new location
97 //
98 // Revision 1.3 2002/04/07 09:05:16 thma
99 // *** empty log message ***
100 //
101 // Revision 1.2 2002/03/11 17:36:05 florianbruckner
102 // fix line break issue for these files that were previously checked in with -kb
103 //
104 // Revision 1.1 2002/03/04 17:19:32 thma
105 // initial checking for Florians Reverse engineering tool
106 //
107 // Revision 1.1.1.1 2002/02/20 13:35:25 Administrator
108 // initial import
109 //
110 /***************************** Changelog *****************************/

111
Popular Tags