Hi everyone, does anybody know which JLine version I should use? I tried to use the version jline-0_9_5 and I get an error while I tried to compile it using ant I also tried using Eclipse but it says that my jline library doesn't have a methos setDefaultPrompt. Thanks in advance.
Renato M. [echo] *** Building Main Sources *** [echo] *** To compile with all warnings enabled, supply -Dall.warnings=1 on command line *** [echo] *** If all.warnings property is supplied, compile-sources-all-warnings target will be executed *** [echo] *** Else, compile-sources (which only warns about deprecations) target will be executed *** compile-sources: [javac] Compiling 601 source files to /home/rmogrovejo/workspace/pig-0.7.0/build/classes [javac] /home/rmogrovejo/workspace/pig-0.7.0/src/org/apache/pig/Main.java:397: cannot find symbol [javac] symbol : method setDefaultPrompt(java.lang.String) [javac] location: class jline.ConsoleReader [javac] reader.setDefaultPrompt("grunt> "); [javac] ^ [javac] /home/rmogrovejo/workspace/pig-0.7.0/src/org/apache/pig/tools/grunt/GruntParser.java:213: cannot find symbol [javac] symbol : method setDefaultPrompt(java.lang.String) [javac] location: class jline.ConsoleReader [javac] mConsoleReader.setDefaultPrompt("grunt> "); [javac] ^ [javac] /home/rmogrovejo/workspace/pig-0.7.0/src-gen/org/apache/pig/tools/pigscript/parser/PigScriptParserTokenManager.java:28: cannot find symbol [javac] symbol : method setDefaultPrompt(java.lang.String) [javac] location: class jline.ConsoleReader [javac] consoleReader.setDefaultPrompt(">> "); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 3 errors