gzz-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gzz-commits] gzz/gzz/control Main.java


From: Tuukka Hastrup
Subject: [Gzz-commits] gzz/gzz/control Main.java
Date: Mon, 26 Aug 2002 14:02:26 -0400

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Tuukka Hastrup <address@hidden> 02/08/26 14:02:26

Modified files:
        gzz/control    : Main.java 

Log message:
        fit to API, doesn't help

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/gzz/control/Main.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gzz/gzz/control/Main.java
diff -c gzz/gzz/control/Main.java:1.1 gzz/gzz/control/Main.java:1.2
*** gzz/gzz/control/Main.java:1.1       Mon Aug 26 12:39:35 2002
--- gzz/gzz/control/Main.java   Mon Aug 26 14:02:26 2002
***************
*** 7,15 ****
  public class Main {
        public static void main(String[] args) throws PyException {
                System.setProperty("python.path", "gzigzag.jar");
!               System.out.println(args[1].toString());
                PythonInterpreter interp = new PythonInterpreter();
-               interp.initialize(System.getProperties(), null, args);
                interp.exec("import Gzz");
        }
  }
--- 7,15 ----
  public class Main {
        public static void main(String[] args) throws PyException {
                System.setProperty("python.path", "gzigzag.jar");
!               System.out.println(args[0].toString());
!               PythonInterpreter.initialize(System.getProperties(), null, 
args);
                PythonInterpreter interp = new PythonInterpreter();
                interp.exec("import Gzz");
        }
  }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]