diff --git a/README.txt b/README.txt index 7ddccf0..5625343 100644 --- a/README.txt +++ b/README.txt @@ -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% @@ -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 ______________________________________________________________________________