Building Apache Stonehenge Stocktrader ======================================= Apache Stonehenge Stocktrader includes following implementations 1. .NET Stocktrader 2. PHP Stocktrader 3. WSAS 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) 1.2 Building .NET Stocktrader --------------------------------------------- Go inside stocktrader\dotnet and run "BuildDotNet.cmd" For more information on building and installing, refer documentation\installation_guides\DOTNET-Stocktrader-InstallationGuide.pdf 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\PHP-WSAS-Stocktrader-InstallationGuide.pdf 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\PHP-WSAS-Stocktrader-InstallationGuide.pdf For updated version of above document, refer http://cwiki.apache.org/confluence/display/STONEHENGE/Stonehenge+PHP+and+WSAS+Stocktrader+Installation+Guide