Here are (hopefully) some simple install instructions to get MaVerick going. There are 2 kinds of install:
This is the install intended for users of the software, to actually use the software ie compile and run BASIC programs, to create and manipulate files.
A developer install is intended for users so that they can recompile, modify or further develop the software.
Java Runtime version 1.1 or better(http://java.sun.com/)
Many operating systems already have a java runtime installed at the DOS or unix shell prompt try typing:
java -version (for java 1.2+)
jre -version (for java 1.1)
jview /? (for MS Windows Java)
If any of the above commands are successful, you already have a java vm installed. For a basic install you only need a java runtime, not a full development kit. If your machine does not have a VM download one from one of the links below:
If you do not a java vm installed and are not using one of the systems above try:
or get in touch with your operating system vendor.
The distribution is in tar-gzip form use the tar and gzip utilities on unix, perhaps winzip or similar or windows to extract the archive to a suitable location.
You need to create a maverick.properties file in the etc directory. This file contains all the configuration settings used by the runtime. To start with there is a sample file sample.maverick.properties in the etc directory which may be copied across.
ie cd etc
copy sample.maverick.properties maverick.properties
edit maverick.properties
Add the maverick/bin directory to your path.
Also under Windows 95/98/ME you also need to set the MAVERICK_HOME environment variable to the location where you installed the distribution(This is not necessary for Windows NT/2000/XP).
ie TEST.BAS:
PRINT "Hello World!"
to compile
BASIC TEST.BAS
to run
RUN TEST
If it prints "Hello World!" then you have successfully completed the install.
If you wish to work on up to date versions and help with coding of maverick you will need to do a developer install.
Ensure you have these tools available:
Available either by file download(release version or snapshot) or via CVS.
Note that CVS is the hardest to setup but is then easiest to keep synchronized with other developers
Copy the etc/sample.maverick.properties to etc/maverick.properties and edit to suit local settings.
If using the ant build tool copy the etc/sample.build.properties file to the base directory of the distribution and rename to 'build.properties' and then modify to suit local conventions. If using gmake then edit etc/Makefile.defs. For both build tools you will at least need to specify the install location of the antlr tool.
In the base directory run ant or gmake which should build the binaries.
To run the test suite copy junit.jar into the maverick/lib directory. Then if using ant then copy etc/sample.test.properties into the base directory as 'test.properties' edit if necessary and run 'ant test' to run the test suite
ie TEST.BAS:
PRINT "Hello World!"
to compile
BASIC TEST.BAS
to run
RUN TEST
If it prints "Hello World!" then you have successfully completed the install and build.