Difference between revisions of "Windows"

From WormBaseWiki
Jump to navigationJump to search
 
(18 intermediate revisions by 2 users not shown)
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)  
+
#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 10: Line 10:
 
''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.''  
 
''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'''
+
<span style="font-size: medium;"></span><span style="font-size: small;">''' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '''<u>'''Setting JAVA_HOME PATH permanently'''</u></span><u><span style="font-size: medium;"></span></u><br>
To set the PATH permanently, add the full path of the jdk1.6.0_&lt;version&gt;\bin directory to the PATH variable.
 
  
<span style="font-size: medium;">a. Click Start &gt; Control Panel &gt; System on Windows
+
<span style="font-size: medium;"></span><span style="background-color: rgb(255, 255, 0);"><span style="font-size: small;">To set the PATH permanently, add the full path of the jdk1.6.0_&lt;version&gt;\bin directory to the JAVA_HOME variable
b. Click Advanced &gt; Environment Variables.
+
</span></span>
c. Add the location of bin folder of JDK installation for JAVA_HOME in System Variables. A typical value for is:</span><span style="font-size: small;"></span>
 
  C:\Program Files\Java\jdk1.6.0_&lt;version&gt;  
 
  
<br> ''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_&lt;version&gt;\bin.''
+
<span style="background-color: rgb(255, 255, 0);"><span style="font-size: medium;"></span></span>
  
<br>4. Download the latest version of ANT [http://ant.apache.org/bindownload.cgi] (The version I installed was apache-ant-1.7.0)
+
<span style="background-color: rgb(255, 255, 0);"><span style="font-size: small;">a. Click Start &gt; Control Panel &gt; System on Windows</span><span style="font-size: medium;"></span></span>
  
*'''ANT setup'''
+
<span style="background-color: rgb(255, 255, 0);"></span><span style="background-color: rgb(255, 255, 0);">b. Click Advanced &gt; Environment Variables</span><br>
  
&nbsp;Before you can run Ant there is some additional setup you will need to do:  
+
<span style="background-color: rgb(255, 255, 0);">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_&lt;version&gt;
 +
</span>
  
a. Add the full path of apache-ant-&lt;version&gt;\bin directory to the Path variable. For example,
+
''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_&lt;version&gt;\bin.''
  
&nbsp;&nbsp;&nbsp;&nbsp; Path&nbsp;;C:\Users\apache-ant-1.7.0\bin
+
&nbsp;&nbsp; 4. Download the latest version of ANT [http://ant.apache.org/bindownload.cgi] (The version I installed was apache-ant-1.7.0)
  
b. Set the ANT_HOME environment variable to the directory where you installed Ant
+
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; '''<u>'''ANT setup'''</u>
  
c. Decompress ANT files
+
&nbsp;Before you can run Ant there is some additional setup you will need to do:
  
 +
<span style="background-color: rgb(255, 255, 0);">a. Add the full path of apache-ant-&lt;version&gt;\bin directory to the Path variable. For example:&nbsp; Path&nbsp;;C:\Users\apache-ant-1.7.0\bin
 +
</span>
  
 +
<span style="background-color: rgb(255, 255, 0);">b. Set the ANT_HOME environment variable to the directory where you installed Ant</span>
  
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)
+
<span style="background-color: rgb(255, 255, 0);">
 +
c. Decompress ANT files&nbsp;</span><br>  
  
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; 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>
  
''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).''  
+
&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'''
 +
 
 +
''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)''
 +
 
 +
<span style="font-size: medium;">''''' Example of the batch file<span style="font-family: monospace;"></span>'''''</span>
  
''''' Example of the batch file:'''''
 
 
  copy C:\Users\phenote\conf\worm.cfg C:\Users\.phenote\conf\
 
  copy C:\Users\phenote\conf\worm.cfg C:\Users\.phenote\conf\
   
+
  cd C:\Users\phenote ant run
 
 
cd C:\Users\phenote ant run
 

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