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
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:
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:
|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).
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.
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.
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