Buildfile: C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\build.xml init: [echo] --- Build environment for jython --- [echo] --- Flags (Note: If the {property name} is displayed, [echo] --- then the component is not present) [echo] --- Optional Libraries --- [echo] java2 coll = true [echo] servlet = ${servlet.present} [echo] readline = ${readline.present} [echo] oracle = ${oracle.present} [echo] informix = ${informix.present} [echo] mysql = ${mysql.present} [echo] postgresql = ${postgresql.present} [echo] jndi = true [echo] jdbc = true [echo] jdbc3.0 = true dist-prepare: prepare: [mkdir] Created dir: C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\build parser: compile: [javac] Compiling 299 source files to C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\build [javac] WARNING [javac] The -source switch defaults to 1.5 in JDK 1.5. [javac] If you specify -target 1.1 you now must also specify -source 1.2. [javac] Ant will implicitly add -source 1.2 for you. Please change your build file. [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\core\InternalTables1.java:127: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] private Enumeration enum; [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\core\InternalTables1.java:132: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] enum = ((TableProvid1)classes).keys(); [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\core\InternalTables1.java:138: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] enum = ((TableProvid1)lazyClasses).keys(); [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\core\InternalTables1.java:144: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] enum = ((TableProvid1)adapterClasses).keys(); [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\core\InternalTables1.java:151: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] enum = adapters.keys(); [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\core\InternalTables1.java:157: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] if(enum.hasMoreElements()) { [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\core\InternalTables1.java:158: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] cur = enum.nextElement(); [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\core\InternalTables1.java:172: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] enum = null; [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\parser\PythonGrammar.java:7120: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] for (java.util.Enumeration enum = jj_expentries.elements(); enum.hasMoreElements();) { [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\parser\PythonGrammar.java:7120: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] for (java.util.Enumeration enum = jj_expentries.elements(); enum.hasMoreElements();) { [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\parser\PythonGrammar.java:7121: warning: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.5 to use 'enum' as a keyword) [javac] int[] oldentry = (int[])(enum.nextElement()); [javac] ^ [javac] C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\org\python\modules\codeop.java:39: partialParse(java.lang.String,java.lang.String,java.lang.String,org.python.core.CompilerFlags,boolean) in org.python.core.parser cannot be applied to (java.lang.String,java.lang.String,java.lang.String,org.python.core.CompilerFlags) [javac] parser.partialParse(string+"\n", kind, filename, cflags); [javac] ^ [javac] Note: * uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 1 error [javac] 11 warnings BUILD FAILED C:\Documents and Settings\Robert-Jan Veenstra\workspace\jython\build.xml:138: Compile failed; see the compiler error output for details. Total time: 6 seconds