SNIPPET BUILD BUNDLE GUIDE

System Requirements

Hardware

  • CPU at least Intel pentium III or higher
  • 512Mb Ram or higher
  • 80Gb Hard disk drive or more

Software


Setup Environments

Download and install JDK 5.x

  • Download JDK 5.x at  http://java.sun.com/javase/downloads/index_jdk5.jsp, install it to “C:\Java\jdk1.5.0_14” for example.
  • Right click to My Computer -> Advanced -> Environment Variables. In System variables dialog, click on “new”, enter variable name: JAVA_HOME , variable value: C:\Java\jdk1.5.0_14 , click OK to apply.
  • Still in In System variables dialog, double click on “path” variable, append “C:\Java\jdk1.5.0_14\bin” to the variable value, click ok to apply.

Setup Maven

  • Download maven 2.0.10 at  http://maven.apache.org/download.html, unzip it to a folder, say, c:\maven.
  • Right click to My Computer -> Advanced -> Environment Variables. In System variables dialog, double click on “path” variable, append “c:\maven\bin” to the variable value, click OK to apply.

Setup ant

  • Download ant 1.6.5 at  http://ant.apache.org/bindownload.cgi, unzip it to a folder, say, c:\apache-ant-1.6.5
  • Right click to My Computer -> Advanced -> Environment Variables. In System variables dialog, double click on "path" variable, append "C:\apache-ant-1.6.5\bin" to the variable value, and click OK to apply.

Download tomcat


Build Bundle Snippet Repo Browser

  • Open cmd, navigate to source folder and type mvn install
    Image 1 of Build bundle guide (maven)
  • After install successful, still in cmd, type ant bundle
    Image 2 of Build bundle guide (ant)
  • After ant command is successful, the bundle file is stored in your release home folder (for example, D:/mvnsofts/snippetrepobrowser_build_folder/release). If you want to change the release home folder, you may modify release.home value in file build.properties which is stored in your source folder.

Run the bundle

* Unzip the bundle file (ex: snippetrepobrowser-1.0_dev-jakarta-tomcat-5.0.28-20090905.zip), then run by double click the startup.bat (example: it could be in snippetrepobrowser-1.0_dev-jakarta-tomcat-5.0.28-20090905\bin) * Open the browser and enter this link:  http://localhost:8080/snippetrepobrowser

Attachments

1.1.2-pro © 2008-2009 agile42 all rights reserved (this page was served in: 0.32000 sec.)