lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1442394 - in /lucene/pylucene/trunk/jcc: INSTALL jcc/cpp.py jcc/python.py
Date Mon, 04 Feb 2013 22:05:00 GMT
Author: vajda
Date: Mon Feb  4 22:04:59 2013
New Revision: 1442394

URL: http://svn.apache.org/viewvc?rev=1442394&view=rev
Log:
added missing Writer classes imports

Modified:
    lucene/pylucene/trunk/jcc/INSTALL
    lucene/pylucene/trunk/jcc/jcc/cpp.py
    lucene/pylucene/trunk/jcc/jcc/python.py

Modified: lucene/pylucene/trunk/jcc/INSTALL
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/INSTALL?rev=1442394&r1=1442393&r2=1442394&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/INSTALL (original)
+++ lucene/pylucene/trunk/jcc/INSTALL Mon Feb  4 22:04:59 2013
@@ -1,3 +1,3 @@
 
 Please see doc/jcc/documentation/install.html or
-http://lucene.apache.org/pylucene/jcc/documentation/install.html
+http://lucene.apache.org/pylucene/jcc/install.html

Modified: lucene/pylucene/trunk/jcc/jcc/cpp.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/cpp.py?rev=1442394&r1=1442393&r2=1442394&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/cpp.py (original)
+++ lucene/pylucene/trunk/jcc/jcc/cpp.py Mon Feb  4 22:04:59 2013
@@ -537,8 +537,8 @@ def jcc(args):
                     install, dist, debug, jars, version,
                     prefix, root, install_dir, home_dir, use_distutils,
                     shared, compiler, modules, wininst, find_jvm_dll,
-                    arch, generics, resources, imports, egg_info,
-                    extra_setup_args)
+                    arch, generics, resources, imports, use_full_names,
+                    egg_info, extra_setup_args)
     else:
         if imports:
             def walk((include, importset), dirname, names):
@@ -694,8 +694,8 @@ def jcc(args):
                         install, dist, debug, jars, version,
                         prefix, root, install_dir, home_dir, use_distutils,
                         shared, compiler, modules, wininst, find_jvm_dll,
-                        arch, generics, resources, imports, egg_info,
-                        extra_setup_args)
+                        arch, generics, resources, imports, use_full_names,
+                        egg_info, extra_setup_args)
 
 
 def header(env, out, cls, typeset, packages, excludes, generics,

Modified: lucene/pylucene/trunk/jcc/jcc/python.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/python.py?rev=1442394&r1=1442393&r2=1442394&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/python.py (original)
+++ lucene/pylucene/trunk/jcc/jcc/python.py Mon Feb  4 22:04:59 2013
@@ -1594,8 +1594,7 @@ def module(out, allInOne, classes, impor
 def compile(env, jccPath, output, moduleName, install, dist, debug, jars,
             version, prefix, root, install_dir, home_dir, use_distutils,
             shared, compiler, modules, wininst, find_jvm_dll, arch, generics,
-            resources, imports, egg_info, extra_setup_args):
-
+            resources, imports, use_full_names, egg_info, extra_setup_args):
     try:
         if use_distutils:
             raise ImportError
@@ -1721,6 +1720,8 @@ def compile(env, jccPath, output, module
     for import_ in imports:
         line(out, 0, 'from %s._%s import *', import_.__name__, import_.__name__)
     line(out, 0, 'from %s import *', extname)
+    if use_full_names:
+        line(out, 0, 'from java.io import PrintWriter, StringWriter')
     out.close()
 
     includes = [os.path.join(output, extname),



Mime
View raw message