001    // Generated from: ../../frysk/frysk-gui/frysk/gui/FryskGui.java-in
002    
003    // -*- Java -*-
004    
005    // This file is part of the program FRYSK.
006    //
007    // Copyright 2005, 2006, 2008, Red Hat Inc.
008    //
009    // FRYSK is free software; you can redistribute it and/or modify it
010    // under the terms of the GNU General Public License as published by
011    // the Free Software Foundation; version 2 of the License.
012    //
013    // FRYSK is distributed in the hope that it will be useful, but
014    // WITHOUT ANY WARRANTY; without even the implied warranty of
015    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
016    // General Public License for more details.
017    // 
018    // You should have received a copy of the GNU General Public License
019    // along with FRYSK; if not, write to the Free Software Foundation,
020    // Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
021    // 
022    // In addition, as a special exception, Red Hat, Inc. gives You the
023    // additional right to link the code of FRYSK with code not covered
024    // under the GNU General Public License ("Non-GPL Code") and to
025    // distribute linked combinations including the two, subject to the
026    // limitations in this paragraph. Non-GPL Code permitted under this
027    // exception must only link to the code of FRYSK through those well
028    // defined interfaces identified in the file named EXCEPTION found in
029    // the source code files (the "Approved Interfaces"). The files of
030    // Non-GPL Code may instantiate templates or use macros or inline
031    // functions from the Approved Interfaces without causing the
032    // resulting work to be covered by the GNU General Public
033    // License. Only Red Hat, Inc. may make changes or additions to the
034    // list of Approved Interfaces. You must obey the GNU General Public
035    // License in all respects for all of the FRYSK code and other code
036    // used in conjunction with FRYSK except the Non-GPL Code covered by
037    // this exception. If you modify this file, you may extend this
038    // exception to your version of the file, but you are not obligated to
039    // do so. If you do not wish to provide this exception without
040    // modification, you must delete this exception statement from your
041    // version and license this file solely under the GPL without
042    // exception.
043    
044    package frysk.gui;
045    
046    import frysk.config.Prefix;
047    import frysk.config.PrefixFactory;
048    
049    /**
050     * Wrapper class for Gui.java. This is an entry point for the Frysk UI
051     * that runs from the build-tree.
052     */
053    public class FryskGui {
054        public static void main (String[] args) {
055            final String ROOT_SRCDIR = "../../frysk/";
056            final String ABS_BUILDDIR = "/home/scratch/frysk/git/native/frysk-gui";
057            Prefix.set(PrefixFactory.createBuildPrefix(ROOT_SRCDIR, ABS_BUILDDIR));
058            Gui.gui(args);
059        }
060    }