lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1426118 - in /lucene/pylucene: branches/pylucene_3_6/extensions.xml trunk/jcc/setup.py
Date Thu, 27 Dec 2012 04:12:23 GMT
Author: vajda
Date: Thu Dec 27 04:12:23 2012
New Revision: 1426118

URL: http://svn.apache.org/viewvc?rev=1426118&view=rev
Log:
add -source/-target flag to javac invocations (Robert Muir)

Modified:
    lucene/pylucene/branches/pylucene_3_6/extensions.xml
    lucene/pylucene/trunk/jcc/setup.py

Modified: lucene/pylucene/branches/pylucene_3_6/extensions.xml
URL: http://svn.apache.org/viewvc/lucene/pylucene/branches/pylucene_3_6/extensions.xml?rev=1426118&r1=1426117&r2=1426118&view=diff
==============================================================================
--- lucene/pylucene/branches/pylucene_3_6/extensions.xml (original)
+++ lucene/pylucene/branches/pylucene_3_6/extensions.xml Thu Dec 27 04:12:23 2012
@@ -16,7 +16,7 @@
 
   <target name="compile">
     <mkdir dir="${classes.dir}"/>
-    <javac srcdir="java" destdir="${classes.dir}" classpathref="classpath" />
+    <javac srcdir="java" destdir="${classes.dir}" classpathref="classpath" source="1.5"
target="1.5" />
   </target>
 
   <target name="jar" depends="compile">

Modified: lucene/pylucene/trunk/jcc/setup.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/setup.py?rev=1426118&r1=1426117&r2=1426118&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/setup.py (original)
+++ lucene/pylucene/trunk/jcc/setup.py Thu Dec 27 04:12:23 2012
@@ -149,7 +149,7 @@ if platform == 'linux2':
     LFLAGS['linux2'] = LFLAGS['linux2/%s' %(machine)]
 
 JAVAC = {
-    'darwin': ['javac', '-target', '1.5'],
+    'darwin': ['javac', '-source', '1.5', '-target', '1.5'],
     'ipod': ['jikes', '-cp', '/usr/share/classpath/glibj.zip'],
     'linux2': ['javac'],
     'sunos5': ['javac'],



Mime
View raw message