Difference between revisions of "Windows"

From WormBaseWiki
Jump to navigationJump to search
Line 27: Line 27:
 
  c. Decompress ANT files
 
  c. Decompress ANT files
  
5. Right click on your phenote directory. Select the SVN update option and enter the URL : <nowiki>svn co https://obo.svn.sourceforge.net/svnroot/obo/phenote/trunk</nowiki> and select the desired configuration (e.g.: worm.cfg)
+
5. Right click on your Phenote directory. Select the SVN update option and enter the URL : <nowiki>svn co https://obo.svn.sourceforge.net/svnroot/obo/phenote/trunk</nowiki> and select the desired configuration (e.g.: worm.cfg)
  
 
6. You can now launch Phenote from the command line using ant run
 
6. You can now launch Phenote from the command line using ant run
  
''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).''
+
''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:'''''
 
  ''''' Example of the batch file:'''''

Revision as of 17:33, 20 March 2008

Instructions for Installing Phenote 1.5 (Windows Vista Ultimate)

  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 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 PATH in System Variables (JAVA_HOME). A typical value for PATH is:
 
C:\Program Files\Java\jdk1.6.0_<version>\bin

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)

  • To install Ant, choose a directory and copy the distribution files there. This directory will be known as ANT_HOME.
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. (see above example)
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

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