Installing CoCoViLa

vkotkas edited this page May 31, 2017 · 11 revisions

CoCoViLa installation guide

How to install CoCoViLa: CoCoViLa contains two executables Scheme editor and Class Editor. They are distributed together.

[How to install packages](Installing-CoCoViLa#installing-packages): The ready made packages are distributed separately. They can be found on http://cocovila.github.io/packages.html For the beginning there is a set of demo-packages.

Installing CoCoViLa

The easiest way to get CoCoViLa is to download the latest release and unzip archive to any directory. As a result you will get folder cocovila-release.number.zip. Folder contains two runnables:

Where I can get CoCoViLa

There three ways to get CoCoViLa:

  1. Webstart
  2. Dowloading release
  3. Cloning the repository

Web start

To run CoCoViLa using Java Web Start:

  • Open Java settings and in Security tab add http://www.cs.ioc.ee to Exception Site List.
  • Execute from the command line: javaws http://www.cs.ioc.ee/cocovila/webstart/CoCoViLa.jnlp (If it fails to start, clean the JWS cache: javaws -viewer)

Downloading release

Download release https://github.com/CoCoViLa/CoCoViLa/releases

  • Get .zip file
  • Unzip it. You will get folder cocovila-release.number
  • Folder contains two runnables:
  • cocovila-release.number.jar - for Scheme editor
  • cocovila-ce-release.number.jar - for Class Editor

Executing from command line

For executing CoCoViLa from the command line you need java 1.8 or later being installed. Enter the folder where the Scheme and Class Editors jar files are located,

  • Execute from the command line: java -jar <jar-file-name> (<java-jar-file> = cocovila-release.number.jar in case of Scheme Editor and cocovila-ce-release.number.jar in case of Class Editor)

Cloning the repository

Clone the repository https://github.com/CoCoViLa/CoCoViLa.git

Building:

(requires Apache Maven http://maven.apache.org/)

cd <path to CoCoViLa>/

mvn clean install

Running CoCoViLa Scheme editor:

mvn exec:exec -Prun-se

Running CoCoViLa Class Editor:

mvn exec:exec -Prun-ce

Continuous Integration

Build Status

The file structure of distribution

Folder contains two runnables:

and lib folder for required libraries


Installing packages

The ready made packages are distributed separately. They can be found on http://cocovila.github.io/packages.html For the beginning there is a set of demo-packages http://cocovila.github.io/packages.html#educational

The file structure for a package

The folder contains main file with class descriptions: package.name.xml. For each class in the package there must be java file: Classname.java. There also set of image files for class icon of other graphics. Also there can be schemes with syn extensions.

For example geometry package geometry.xml contains three classes: Circle.java, Rect.java and Result.java. ring.gif, ruut.gif and result.gif are corresponding icon files.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.