JUMBO2.0alpha Installation

Version 1.0, 199804
 
 

Installation of JUMBO2.0alpha

The alpha distribution is aimed at people already familiar with XML and Java. (I can't answer questions at this stage about 'what is a CLASSPATH?', though hopefully JUMBO2.0 should be easy to install). You will need the following: JUMBO source and test data are not essential but may be useful.

I use a setup.bat (W95) as follows:

echo off
REM JUMBO2.0 relies on the JFC/SwingSet. This directory must contain (at least) swing.jar
set SWING_HOME=C:\swing-1.0.1

set XML_HOME=C:\xml

REM Norbert Mikula/Datachannel's DXP
REM DXP must come elsewhere as it has an outdated set of classes
REM set DXP_HOME=%XML_HOME%\dxp

REM Tim Bray's Lark parser
set LARK_HOME=%XML_HOME%\Lark10b

REM David Megginson/Microstar's AElfred parser
set AELFRED_HOME=%XML_HOME%\aelfred12

REM SAX_HOME includes the file sax.jar.
set SAX_HOME=%XML_HOME%\sax10gamma

REM James Clark's XP parser
set XP_HOME=%XML_HOME%\xp

set JUMBO_HOME=C:\jumbo

REM need the directory for test progs and jar for library
set classpath=%SAX_HOME%;%SAX_HOME%\sax.jar
REM need the directory for test progs and jar for library
set classpath=%CLASSPATH%;%AELFRED_HOME%;%AELFRED_HOME%\aelfred.jar;
set classpath=%CLASSPATH%;%LARK_HOME%
set classpath=%CLASSPATH%;%XP_HOME%/classes
REM JUMBO classes must come after the others as com.* and org.* may be duplicated under JUMBO
set classpath=%CLASSPATH%;%JUMBO_HOME%\classes
set classpath=%CLASSPATH%;%SWING_HOME%\swing.jar
REM include current directory
set classpath=.;%CLASSPATH%

echo CLASSPATH is: %CLASSPATH%
echo on

I have NOT tested this on UNIX, but I do not foresee major problems.

BUGS

Running JUMBO as an applet under NS4.0.5 was very slow and the menus didn't seem to work.

I use DavidM's makeAbsoluteURL() to generate URLs. It doesn't like C:\... (thinks C is a protocol). I must hack this. It seems to work (just) with relative filesnames (..\) but this needs hacking.

The WAIT cursor doesn't seem to display.

I cannot get icons and titles rendered with TreeCellRenderer (XTree). This WORKED the first time I used it, but I have failed since. Help would be appreciated.

I cannot get icons or GIFs into text (XTree). The first instance goes in but the text is garbled. Again I would appreciate help.

I didn't manage to get suffix selection (EndsWithFilter) working for FileDialog under JUMBO1 and haven't tried it yet for JUMBO2

I don't know where to put the help file (jumbohelp.xml) except in the current directory.

PIs before the first XML element are not stored in the tree. This is really a DOM problem.

I have not tested filenames on non-W95 machines. I suspect they may break if complicated.

TODO

Xlink, XSL and namespaces are not implemented

Errors are not well reported

Nodes cannot be edited and updated