[kepler-dev] Unable to run Kepler from Eclipse

Edward A. Lee eal at eecs.berkeley.edu
Wed Feb 14 10:08:22 PST 2007


Apologies, I just checked in a fix.

The problem is that Kepler has its own copy of TableauFrame...
I merged my changes into the kepler version, but there were other
discrepencies that were older... This is the problem with having
different versions of the same class.  I hope I got it right...


Edward


At 08:11 AM 2/14/2007, Edoardo Pignotti wrote:
>Dear Norbert,
>Thank you I fixed the reference to the jar file but this fix only the 
>4th error. The other 3 problems are about a mismatch between the 
>constructor of the class TableauFrame in ptolemy.
>
>Here the errors again:
>The constructor TableauFrame(null, null, MatrixViewer) is undefined
>kepler/ptII/ptolemy/actor/lib/gui    MatrixViewer.java    line 196
>
>The constructor TableauFrame(null, null, Placeable) is undefined
>kepler/ptII/ptolemy/actor/gui    TextEditor.java    line 97
>
>The constructor TableauFrame(Tableau, null, Placeable) is undefined
>kepler/ptII/ptolemy/actor/gui    PlotTableauFrame.java    line 114
>
>It seems like the version checked out from the ptolemy CVS does not 
>match the one used in kepler. The version of that class in ptolemy is:  
>@version $Id: TableauFrame.java,v 1.6 2006/05/06 00:31:52 brooks Exp $
>
>Any suggestion?
>
>Thank you,
>
>Kind Regards,
>
>Edoardo
>
>Norbert Podhorszki wrote:
>>
>> Hi Edoardo,
>>
>> I can only tell you about the jsch jar issue. It is the
>> jsch-0.1.31.jar that you have to use. It is not the jar file you have 
>> to replace but the definition files whatever eclipse use (I have no 
>> idea what eclipse needs, I use ant).
>>
>> This eliminates the 4th error at build.
>>
>> Thank you for showing this bug related to building kepler.
>>
>> Best regards
>> Norbert
>>
>>      Norbert Podhorszki
>>    ------------------------------------
>>      University of California, Davis
>>      Department of Computer Science
>>      1 Shields Ave, 2236 Kemper Hall
>>      Davis, CA 95616
>>      (530) 752-5076
>>      pnorbert at cs.ucdavis.edu
>>      ----------------------------------
>>
>> On Wed, 14 Feb 2007, Edoardo Pignotti wrote:
>>
>>> Hello,
>>> I am trying to build and run Kepler from Eclipse but I have encountered
>>> several problems:
>>>
>>> The file jsch-0.1.24.jar is missing (FIXED, copied the right jar file)
>>>
>>> 4 errors when building the project (Manually bypassed the problems):
>>>
>>> The constructor TableauFrame(null, null, MatrixViewer) is undefined
>>> kepler/ptII/ptolemy/actor/lib/gui    MatrixViewer.java    line 196
>>>
>>> The constructor TableauFrame(null, null, Placeable) is undefined
>>> kepler/ptII/ptolemy/actor/gui    TextEditor.java    line 97
>>>
>>> The constructor TableauFrame(Tableau, null, Placeable) is undefined
>>> kepler/ptII/ptolemy/actor/gui    PlotTableauFrame.java    line 114
>>>
>>> The method setServerAliveInterval(int) is undefined for the type
>>> Session    kepler/src/org/kepler/ssh    SshExec.java    line 116
>>>
>>> Initialization problems when running:
>>>
>>> (gui.KeplerInitialization            103 ) Making directory
>>> /home/ep-pgrid/.kepler/cache/
>>> (gui.KeplerInitialization            103 ) Making directory
>>> /home/ep-pgrid/.kepler/cache/cachedata/
>>> (gui.KeplerInitialization            103 ) Making directory
>>> /home/ep-pgrid/.kepler/cache/objects/
>>> (gui.KeplerInitialization            103 ) Making directory
>>> /home/ep-pgrid/.kepler/cache/RawData/
>>> KAR Library directories: [/home/ep-pgrid/workspace/kepler/kar/actors,
>>> /home/ep-pgrid/workspace/kepler/kar/directors]
>>> (util.StaticResources                315 ) *** Attempting to get
>>> ResourceBundle for SVG defaults ***
>>> (util.StaticResources                351 ) *** svgRenderingMethod =
>>> SVG_BATIK_RENDERING ***
>>> The class name you entered was not found in the classpath.  Note that
>>> the class you are trying to enter must be in the classpath from which
>>> you launched this program: util.FileReader
>>> The class name you entered was not found in the classpath.  Note that
>>> the class you are trying to enter must be in the classpath from which
>>> you launched this program: org.monash.griddles.JMakeGNSEntries
>>> The class name you entered was not found in the classpath.  Note that
>>> the class you are trying to enter must be in the classpath from which
>>> you launched this program: util.SegmentFileReader
>>>
>>> I have checked out both kepler and ptII from CVS. ptII is wokring fine
>>> and  I can run Vergil.
>>>
>>> Any suggestion is more than welcome.
>>>
>>> Thank you,
>>>
>>> Edoardo
>>> _______________________________________________
>>> Kepler-dev mailing list
>>> Kepler-dev at ecoinformatics.org
>>> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
>>>
>
>_______________________________________________
>Kepler-dev mailing list
>Kepler-dev at ecoinformatics.org
>http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev

------------ 
Edward A. Lee
Chair of EECS and Robert S. Pepper Distinguished Professor
231 Cory Hall, UC Berkeley, Berkeley, CA 94720-1770
phone: 510-642-0253, fax: 510-642-2845
eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal  



More information about the Kepler-dev mailing list