Code Monkey home page Code Monkey logo

mnmhouse / yooreeka Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rgravina/yooreeka

0.0 2.0 0.0 18.62 MB

This is a clone of the code of the Yooreka project (code used in the book Algorithms of the Intelligent Web, Manning - http://www.manning.com/marmanis/ ) with minor modifications to make it easier to setup on non-Windows platforms.

Home Page: http://code.google.com/p/yooreeka/

HTML 74.79% Batchfile 0.07% Shell 0.03% Java 25.11%

yooreeka's Introduction

------------------------------------------------------------------------------
Quick start for running book examples
------------------------------------------------------------------------------

----------------
Linux, Mac OS X
----------------

1. Ensure java and ant are installed.

> which java; which ant
/usr/bin/java
/usr/bin/ant

2. Build using ant

> cd build
> ant

Buildfile: build.xml

init:
 ...
BUILD SUCCESSFUL
Total time: 10 seconds

3. Run Beanshell

> cd ../deploy/bin/
> ./bsc.sh
Start ClassPath Mapping
 ...
BeanShell 2.0b4 - by Pat Niemeyer ([email protected])
bsh % 

--------
Windows
--------

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 command line on your system. 

From windows command prompt execute:

java -version
ant -version

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

2. Configure your java environment

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 and 
Ant is in C:\apache-ant-1.7.0 use the following commands:

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

At this point you should be able to run java and ant from command line without 
errors. If you've only configured environment for your current command line 
interpreter make sure that you perform steps 3 and 4 in the same instance of 
interpreter.

3. Run ant build file for the project: 

From command prompt execute:

cd /D C:\iWeb2\build
ant

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

4. Start beanshell

From command prompt execute:

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

You are ready to run book examples!!!

yooreeka's People

Watchers

James Cloos avatar housezhang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.