Skip to content

Commit

Permalink
Added an environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
marmanis committed Feb 26, 2013
1 parent 5bc3d2c commit 6391f57
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,34 @@ Quick start for running book examples on Windows platform
______________________________________________________________________________
1. Verify your environment

1.1. Make sure that you've placed all distribution files under C:\iWeb2\

1.2. Start windows command line interpreter (cmd.exe) and confirm that you
can run java and ant from the command line on your system.

Within a Windows command prompt, execute the following:

java -version
ant -version

If you get an error see step 2. Otherwise skip to step 3.

1.1 Make sure that you've placed all distribution files under a directory
on your filesystem, say, "C:\code\yooreeka" on a Windows OS or /code/yooreeka
on a Linux OS. You can call that directory whatever you want.

1.2 Create a new environment variable YOOREEKA_HOME with the above directory as its value

1.3 Set the property yooreeka.home in the yooreeka.properties file, so that
it points to the installation directory mentioned above. Make sure the rest
of the properties are consistently pointing to the appropriate locations.

1.4 Start windows command line interpreter (cmd.exe) and confirm that you
can run java and ant from the command line on your system.

Within a Windows command prompt, execute the following:

java -version
ant -version

If you get an error see step 2. Otherwise skip to step 3.

______________________________________________________________________________
2. Configure your Java and Ant environment variables

You can skip this step, if you already have JDK and Ant configured on your
system to run from command line. Assuming that java jdk is in C:\jdk1.5.0_12
system to run from command line. Assuming that java jdk is in C:\jdk1.7.0_10
and Ant is in C:\apache-ant-1.7.0 use the following commands:

SET JAVA_HOME=C:\jdk1.5.0_12
SET JAVA_HOME=C:\jdk1.7.0_10
SET ANT_HOME=C:\apache-ant-1.7.0
SET PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;%PATH%

Expand Down Expand Up @@ -60,19 +68,19 @@ ______________________________________________________________________________

Within the same command prompt execute the following two commands:

cd /D C:\iWeb2\build
cd /D C:\code\yooreeka\build
ant

Ant will execute the default target from the C:\iWeb2\build\build.xml
build file. It will build all source code and will prepare the
'C:\iWeb2\deploy' directory.
'C:\code\yooreeka\deploy' directory.

______________________________________________________________________________
5. Start the BeanShell

Within the same command prompt execute:

C:\iWeb2\deploy\bin\bsc.bat
C:\code\yooreeka\deploy\bin\bsc.bat

______________________________________________________________________________

Expand Down

0 comments on commit 6391f57

Please sign in to comment.