Difference between revisions of "Windows"

From WormBaseWiki
Jump to navigationJump to search
m
 
Line 4: Line 4:
  
 
#Create a working directory (under which Phenote is to be installed)  
 
#Create a working directory (under which Phenote is to be installed)  
#Download the latest version of TortoiseSVN: [http://tortoisesvn.net/downloads] (The version I installed was TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi on Windows Vista Ulimate Vista.)  (Alternatively install cygwin with svn, ant, x server, whatever you want.  I did this with XP -- Juancarlos)
+
#Download the latest version of TortoiseSVN: [http://tortoisesvn.net/downloads] (The version I installed was TortoiseSVN-1.4.8.12137-win32-svn-1.4.6.msi on Windows Vista Ulimate Vista.)  (Alternatively install cygwin with svn, ant, x server, whatever you want.  I did this with XP -- Juancarlos)  
 
#Download the latest version of JDK [http://java.sun.com/javase/downloads/index.jsp]  
 
#Download the latest version of JDK [http://java.sun.com/javase/downloads/index.jsp]  
 
#*Run the JDK installer
 
#*Run the JDK installer
Line 40: Line 40:
 
c. Decompress ANT files&nbsp;</span><br>  
 
c. Decompress ANT files&nbsp;</span><br>  
  
&nbsp;&nbsp; 5. Right click on your Phenote directory. Select the SVN update option and enter the URL&nbsp;: <nowiki>svn co https://obo.svn.sourceforge.net/svnroot/obo/phenote/trunk</nowiki> and select the desired configuration (e.g.: worm.cfg)  
+
&nbsp;&nbsp; 5. Right click on your Phenote directory. Select the SVN update option and enter the URL&nbsp;: <nowiki>svn co https://obo.svn.sourceforge.net/svnroot/obo/phenote/trunk</nowiki> and select the desired configuration (e.g.: worm.cfg) (Now we're using Raymond's repository instead of the main phenote one : <nowiki>svn co https://obo.svn.sourceforge.net/svnroot/obo/phenote/trunk</nowiki> -- Juancarlos)<br>
  
 
&nbsp;&nbsp; 6. You can now launch '''Phenote''' from the command line using '''ant run'''. Alternatively, '''Phenote+''' can be launched using the command '''ant run-plus'''  
 
&nbsp;&nbsp; 6. You can now launch '''Phenote''' from the command line using '''ant run'''. Alternatively, '''Phenote+''' can be launched using the command '''ant run-plus'''  

Latest revision as of 03:02, 19 December 2008

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.)  (Alternatively install cygwin with svn, ant, x server, whatever you want.  I did this with XP -- Juancarlos)
  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 JAVA_HOME 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) (Now we're using Raymond's repository instead of the main phenote one : svn co https://obo.svn.sourceforge.net/svnroot/obo/phenote/trunk -- Juancarlos)

   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). (You can also symlink the my-phenote file and edit that to name the appropriate .cfg -- Juancarlos)

Example of the batch file

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