Project

General

Profile

Actions

Sample-groovy-in-Z2 » History » Revision 4

« Previous | Revision 4/29 (diff) | Next »
Udo Offermann, 08.04.2013 16:45


Sample Groovy in Z2

Prerequisites

All you need is a JDK 6 distribution as described in Step_2_-_Install_and_run_in_5_minutes.

Setting up the sample

There is no further pre-requisite to running this sample, and you may proceed as described in How to run a sample. Here's the really fast version:

mkdir install
cd install 
git clone -b master http://git.z2-environment.net/z2-base.core
git clone -b master http://git.z2-environment.net/z2-samples.groovy

# on Linux / Mac OS:
cd z2-base.core/run/bin
./gui.sh

# on Windows:
cd z2-base.core\run\bin
gui.bat

The first time you launch the sample will take a while. Watch the log output and keep an eye out for the following lines:

If you want to inspect the code using Eclipse, please create a workspace in install (i.e. install/workspace) and import the Git repositories and the following projects into your workspace: core from z2-base.core, environemnt and com.zfabrik.samples.groovy.web from z2-samples.groovy (see also First steps).

Updated by Udo Offermann about 11 years ago · 4 revisions