/[gnue]/gnue-appserver/scripts/gnue-appserver.in
ViewVC logotype

Diff of /gnue-appserver/scripts/gnue-appserver.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by btami, Thu Aug 14 21:05:48 2003 UTC revision 1.6 by reinhard, Wed Sep 17 17:59:13 2003 UTC
# Line 1  Line 1 
1  #!/usr/bin/env python  #!/usr/bin/env python
2  #  #
3    # GNU Enterprise Application Server - Main Script
4    #
5  # Copyright 2001-2003 Free Software Foundation  # Copyright 2001-2003 Free Software Foundation
6  #  #
7  # This file is part of GNU Enterprise.  # This file is part of GNU Enterprise.
# Line 19  Line 21 
21  # write to the Free Software Foundation, Inc., 59 Temple Place  # write to the Free Software Foundation, Inc., 59 Temple Place
22  # - Suite 330, Boston, MA 02111-1307, USA.  # - Suite 330, Boston, MA 02111-1307, USA.
23  #  #
24    # $Id$
25    
26  import os  import os
 #import os.path  
27  import sys  import sys
28    
29  __GNUEENV__  __GNUEENV__
30    
31  if not os.environ.has_key('GNUE_CONNECTIONS'):  if not os.environ.has_key ('GNUE_CONNECTIONS'):
32      if os.path.isfile(INST_GNUE_CONNECTIONS):    if os.path.isfile (INST_GNUE_CONNECTIONS):
33          os.environ['GNUE_CONNECTIONS'] = INST_GNUE_CONNECTIONS      os.environ ['GNUE_CONNECTIONS'] = INST_GNUE_CONNECTIONS
     
 from  gnue.appserver.geasRpcServer import *  
34    
35  if __name__ == '__main__':  from gnue.appserver import geasRpcServer
   geas1 = geasRpcServerApp();  
     
   geas1.phaseInit();  
36    
37    geas1.run();  if __name__ == '__main__':
38              server = geasRpcServer.geasRpcServerApp ();
39      server.phaseInit ();
40      server.run ();

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26