Building Apache Stonehenge Stocktrader ======================================= Apache Stonehenge Stocktrader includes following implementations 1. .NET Stocktrader 2. PHP Stocktrader 3. WSAS Stocktrader 4. Metro Stocktrader You can build all of them at once, by running "build.bat" (for windows) or "build.sh" (for linux and other *nix). However, this will not create the site documents. If you want to build including site documents as well, you can run "bindist.bat" (for windows) or "bindist.sh" (for linux and other *nix). In this case, you don't need to run build.bat or build.sh. If you want to build each implementation separately, following guide can be used. It also shows what are the dependencies needed for each implementation. 1. Using .NET Stocktrader ============================= 1.1 Dependencies needed for .NET Stocktrader -------------------------------------------- a) Internet Information Server (IIS) b) Visual Studio 2008 or Visual Web Developer Express 2008 c) .NET 3.5 SP1 d) ASP.NET 3.5 e) MSSQL Server 2008 OR MSSQLExpress (MSSQLExpress is included in Visual Studio 2008 and Visual Web Developer Express 2008) f) MySQL Connector 6.0+ g) MySQL Server 5.0(or later) (optional) 1.2 Building .NET Stocktrader --------------------------------------------- Go inside stocktrader\dotnet and run "BuildDotNet.cmd" For more information on building and installing, refer documentation\installation_guides\Stonehenge .NET StockTrader Installation Guide.html For updated version of above document, refer http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+.NET+StockTrader+Installation+Guide 2. Using PHP Stocktrader ============================== 2.1 Dependencies needed for PHP Stocktrader -------------------------------------------- a) MSSQL Server 2008 or MSSQLExpress or MySQL Server 5.0(or later) b) PHP (5.2.x or later) c) Apache HTTP Server (2.2.x) d) WSO2 WSF/PHP e) PHP MSSQL Driver (if MSSQL Server is used) 2.2 Building PHP Stocktrader --------------------------------------------- Go inside stocktrader\php and run "build.bat" (or build.sh if you are using linux) For more information on building and installing, refer documentation\installation_guides\Stonehenge PHP and WSAS Stocktrader Installation Guide.html For updated version of above document, refer http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+PHP+and+WSAS+Stocktrader+Installation+Guide 3. Using WSAS Stocktrader ============================== 3.1 Dependencies needed for WSAS Stocktrader -------------------------------------------- a) MSSQL Server 2008 or MSSQLExpress or MySQL Server 5.0(or later) b) JDK 1.5 c) Java Cryptography Extension (JCE) d) MSSQL or MySQL JDBC Driver e) WSO2 WSAS f) Maven (2.x) 3.2 Building WSAS Stocktrader --------------------------------------------- Go inside stocktrader\wsas and run "mvn clean install" For more information on building and installing, refer documentation\installation_guides\Stonehenge WSAS StockTrader Installation Guide.html.html For updated version of above document, refer http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+PHP+and+WSAS+Stocktrader+Installation+Guide 4. Using Metro Stocktrader ============================== 4.1 Dependencies needed for Metro Stocktrader -------------------------------------------- a) MSSQL Server 2008 or MSSQLExpress or MySQL Server 5.0(or later) b) JDK 1.5 c) Java Cryptography Extension (JCE) d) MSSQL or MySQL JDBC Driver (jtds-1.2.2) e) Glassfish f) Ant-1.0b3 g) facelets-1.1.14 h) javaee i) jsf-1_2_03 j) commons-logging-1.1.1 k) log4j-1.2.15 4.2 Building Metro Stocktrader --------------------------------------------- Go inside stocktrader\metro and run "ant deploy" For more information on building and installing, refer documentation\installation_guides\Stonehenge Metro StockTrader Installation Guide.html For updated version of above document, refer http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+PHP+and+WSAS+Stocktrader+Installation+Guide