-
Notifications
You must be signed in to change notification settings - Fork 10
Development Environment Setup Windows
- Download from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
- Determine the Java home directory path (under Windows it is usually similar to
C:\Program Files\Java\jdk1.7.0_67). - Add
JAVA_HOMEto the environment variables with the value:C:\Program Files\Java\jdk1.7.0_67. - Update/create Path environment variable: prepend the value
%JAVA_HOME%\binto make Java available in the command line. - Open a new command prompt (Winkey + R then type cmd) and run
java -versionto verify that it is correctly installed.
- Download distribution from http://maven.apache.org/download.cgi and unzip the archive (assuming
C:\Program Files\Apache Software Foundation\apache-maven-3.2.3) - Add
M2_HOMEto the environment variables with the value:C:\Program Files\Apache Software Foundation\apache-maven-3.2.3. - Add
M2to the environment variables with the value:%M2_HOME%\bin. - Optional: Add
MAVEN_OPTSto the environment variables with the value:-Xms256m -Xmx512m. - Update/create Path environment variable: prepend the value
%M2%to make Maven available in the command line. - Open a new command prompt (Winkey + R then type cmd) and run
mvn --versionto verify that it is correctly installed.
-
Download Liferay 6.2 bundled with Tomcat (Community Edition) from http://www.liferay.com/downloads/liferay-portal/available-releases
-
Unzip downloaded bundle, let's call the target folder
XCOLAB_BUNDLES_DIR(assumingE:\dev\XCOLAB\XCOLAB_BUNDLES_DIR) -
Clone XCoLab GitHub repository: https://github.com/CCI-MIT/XCoLab. Let's call the directory to which the repository was downloaded
XCOLAB_SRC( assumingE:\dev\XCOLAB\XCOLAB_SRC) -
Add
XCOLAB_SRCto the environment variables with the value:E:/dev/XCOLAB/XCOLAB_SRC. Use / instead of \ in your Path! -
Add
XCOLAB_BUNDLES_DIRto the environment variables with the value:E:/dev/XCOLAB/XCOLAB_BUNDLES_DIR. Use / instead of \ in your Path! -
Go to
XCOLAB_BUNDLES_DIR, check tomcat version (assuming 7.0.42) and addTOMCAT_VERSIONto the environment variables with the value:7.0.42.