View Source

h1. Overview

This section outlines initial steps to setting up a Windows 7 PC for development.  The following steps provide an overview of the installation required:

# Install Java 6 SDK (todo: verify Java 7 support by all SCAPE projects)
# Install Maven (version 3)
# Install Git for Windows (msysgit)
# Install Cygwin
# Install Python 2.7
# Install Eclipse
## Install Eclipse Git, Maven and Python plugins
# Install Tomcat
# Install Taverna

h2. Java 6 SDK

Download Java SE 6 SDK from [Oracle download site|] and follow the instructions.

Once complete, you'll need to set up some environment variables and add Java to your command path:

JAVA6_HOME = <path_to_Java6_JDK>

h2. Maven 3

Download Maven 3 binary zip file from the&nbsp;[Apache Maven download site|]&nbsp;and extract to a suitable directory (e.g. Program Files (x86)\Apache Software Foundation)

Again, you will need to set up environment variables:

M3_HOME = <path_to_apache-maven-3>
M3 = %M3_HOME%\bin
PATH = %PATH%;%JAVA_HOME%\bin;%M3%;

*Network User Profile and Multiple Development PCs...*
If you have a networked user profile you may find that, in your bash shells, the *~*&nbsp;points to a networked user directory (rather than a directory on your local drive). If you only have one development PC, this is potentially not a problem, however if you have multiple development PCs, by default they will all share the same dependency&nbsp;repository&nbsp;(Maven's default dependency repository can be found at \~/.m2).

h2. Git (for Windows - msysgit)

Follow the instructions on [GitHub|]&nbsp;to set up Git on a Windows machine. &nbsp;Make sure to select "Checkout as-is, commit Unix-style line endings" (see&nbsp;[Configuring how line-endings are handled by git|SP:Configuring how line-endings are handled by git]).

h2. Cygwin

h2. Python 2.7

h2. Eclipse Indigo (3.7)

h4. Eclipse Plugins

h2. Tomcat 7

Download Tomcat 7 binary zip (32 or 64bit depending on your machine) from the [Apache Tomcat 7 download site|]. &nbsp;

Unzip this to an appropriate directory such as C:\Tomcat\. &nbsp;Do *not*&nbsp;extract it to c:\Program Files\ (or presumably any other directory containing a space) - the&nbsp;[Toolwrapper|]&nbsp;seemed to have trouble deploying to Tomcat if Tomcat was placed in such a directory.

h4. User Authentication

Update C:\Tomcat\apache-tomcat-7.0.25\conf\tomcat-users.xml to add a manager role:

<role rolename="manager-gui"/>
<role rolename="manager-script"/>
<user roles="manager-gui,manager-script" username="username" password="password"/>
Remember your username and password (useful in projects that wish to deploy straight to Tomcat), or at least remember this file is where you specified them.

h4. Starting and Stopping the Tomcat Server

Tomcat can be started and stopped by running the startup.bat and shutdown.bat scripts found in c:\Tomcat\apache-tomcat-7.0.25\bin

h2. Taverna