Homepage

Ecolego scripting Wiki

Scripts for Ecolego are written using the Java programming language.

Scripts for Ecolego can be written in any text editor (e.g. Notepad) , but it is advised to write the code in a development tool suited for Java programming (such as Eclipse).

In the instructions here we will use the Eclipse IDE to facilitate the writing of scripts. The use of an IDE also facilitates to write programs that make use of Ecolego as a library that can be used from a general Java program.

The instructions will be divided into the following parts:

Installing Java and Eclipse

Writing scripts

Writing a base class script?

Writing a script to build a simple model?

Writing a script to build a dual porosity model?

Using Ecolego as a java library?