[MacPorts] #27442: groovy @1.7.5 Compile error - build failure

MacPorts noreply at macports.org
Sat Nov 27 20:09:41 PST 2010


#27442: groovy @1.7.5 Compile error - build failure
----------------------------------------+-----------------------------------
 Reporter:  lyle2.0+macports@…          |       Owner:  breskeby@…           
     Type:  defect                      |      Status:  assigned             
 Priority:  Normal                      |   Milestone:                       
Component:  ports                       |     Version:  1.9.2                
 Keywords:                              |        Port:  groovy               
----------------------------------------+-----------------------------------

Comment(by lyle2.0+macports@…):

 Removing jline from my local maven repo did not fix the issue.

 A little more investigation has me confused. Groovy 1.7.5 depends on jline
 0.9.94 and is failing on a call to
 jline.ConsoleReader#setDefaultPrompt(String prompt). However, inspecting
 the actual jar file shipped with jline 0.9.94 doesn't show that method
 being defined at all.

 {{{
 $ pwd
 /Users/ldhanson2/.m2/repository/jline/jline/0.9.94
 $ jar tf jline-0.9.94.jar |grep ConsoleReader
 jline/ConsoleReader.class
 jline/ConsoleReaderInputStream$ConsoleEnumeration.class
 jline/ConsoleReaderInputStream$ConsoleLineInputStream.class
 jline/ConsoleReaderInputStream.class
 $ javap jline.ConsoleReader|grep setDefault
 $
 }}}

 The method is definitely in the source distribution for jline 0.9.94, but
 again does not appear in the jar file:


 {{{
 $ cd ~/Downloads/jline-0.9.94/src/src/main/java/jline/
 $ grep setDefaultPrompt *
 ConsoleReader.java:    public void setDefaultPrompt(String prompt) {
 }}}

 Compiling a trivial Java program which uses jline and trying to use the
 setDefaultPrompt method results in the same error. Am I missing something,
 or is this a problem with the jline distribution?

-- 
Ticket URL: <https://trac.macports.org/ticket/27442#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list