Skip to end of metadata
Go to start of metadata

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:

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

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>
JAVA_HOME = %JAVA6_HOME%
PATH = %PATH%;%JAVA_HOME%\bin;

Maven 3

Download Maven 3 binary zip file from the Apache Maven download site 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 ~ 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 repository (Maven's default dependency repository can be found at ~/.m2).

Git (for Windows - msysgit)

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

Cygwin

Python 2.7

Eclipse Indigo (3.7)

Eclipse Plugins

Tomcat 7

Download Tomcat 7 binary zip (32 or 64bit depending on your machine) from the Apache Tomcat 7 download site.  

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

User Authentication

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

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.

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

Taverna

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.