Windows

From WormBaseWiki
Revision as of 20:24, 2 May 2008 by Jolene (talk | contribs)
Jump to navigationJump to search

Instructions for Installing Phenote 1.5 and Phenote + (Windows Vista Ultimate)

--Jolene 11:49, 3 April 2008 (EDT)

  1. Create a working directory (under which Phenote is to be installed)
  2. Download the latest version of TortoiseSVN: [1] (The version I installed was TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi on Windows Vista Ulimate Vista)
  3. Download the latest version of JDK [2]
    • Run the JDK installer

It is strongly recommended that you set the PATH variable if you want to be able to conveniently run the JDK executables from any directory without having to type the full path of the command. It's useful to set the PATH permanently so it will persist after rebooting.

Setting JAVA_HOME PATH permanently


To set the PATH permanently, add the full path of the jdk1.6.0_<version>\bin directory to the PATH variable

a. Click Start > Control Panel > System on Windows

b. Click Advanced > Environment Variables

c. Add the location of bin folder of JDK installation for JAVA_HOME in System Variables. A typical value for is: C:\Program Files\Java\jdk1.6.0_<version>

You should only have one bin directory for a JDK in the path at a time. If one is already present, update it to jdk1.6.0_<version>\bin.


4. Download the latest version of ANT [3] (The version I installed was apache-ant-1.7.0)

  • ANT setup

 Before you can run Ant there is some additional setup you will need to do:

a. Add the full path of apache-ant-<version>\bin directory to the Path variable. For example:  Path ;C:\Users\apache-ant-1.7.0\bin

b. Set the ANT_HOME environment variable to the directory where you installed Ant

c. Decompress ANT files 


5. Right click on your Phenote directory. Select the SVN update option and enter the URL : svn co https://obo.svn.sourceforge.net/svnroot/obo/phenote/trunk and select the desired configuration (e.g.: worm.cfg)

6. You can now launch Phenote from the command line using ant run. Alternatively, Phenote+ can be launched using the command ant run-plus

Note: Prior to launching Phenote, you need to update the .cfg file in the .phenote directory after retrieving the latest Phenote revision via SVN update. Creation of the following batch file is recommended (but not required).

 Example of the batch file


copy C:\Users\phenote\conf\worm.cfg C:\Users\.phenote\conf\
cd C:\Users\phenote ant run