Changes between Version 38 and Version 39 of Devel/Setup


Ignore:
Timestamp:
10/12/07 21:38:20 (18 years ago)
Author:
leo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Devel/Setup

    v38 v39  
    8989
    9090
    91 
    92 
    93 = Miscellaneous (Obsolete) =
    94 
    95 == Other Useful Plug-ins for Eclipse ==
    96  * [http://www.eclipse.org/mylyn Mylyne]
    97    * Update site: (for Eclipse 3.2) http://download.eclipse.org/tools/mylyn/update/e3.2
    98    * Task-oriented development support utilities with Trac Ticket/Wiki view, modify, query facilities.
    99  
    100  * [http://kurucz-grafika.de/fatjar FatJar]
    101    * Packs all required Jar files into a single Jar file.
    102 
    103  * [http://www.eclipse.org/buckminster/downloads.html Buckminster]
    104    * required to install Subclipse & Mylyn integration feature
    105 
    106  * [http://rubyeclipse.sourceforge.net/ Ruby Development Toolkit]
    107 
    108  * My bookmarks.xml for Eclipse3.2
    109 {{{
    110 <?xml version="1.0" encoding="UTF-8"?>
    111 <bookmarks>
    112    <site name="Subclipse" url="http://subclipse.tigris.org/update_1.2.x" web="false" selected="true" local="false"/>
    113    <site name="fatjar" url="http://kurucz-grafika.de/fatjar" web="false" selected="true" local="false"/>
    114    <site name="Mylar" url="http://download.eclipse.org/technology/mylar/update-site/e3.2" web="false" selected="true" local="false"/>
    115    <site name="The Eclipse Project Updates" url="http://update.eclipse.org/updates/3.2" web="false" selected="false" local="false"/>
    116    <site name="Callisto Discovery Site" url="http://download.eclipse.org/callisto/releases" web="false" selected="false" local="false"/>
    117 </bookmarks>
    118 }}}   
    119 ----
    120 
    121 The following contents are retrieved from [source:trunk/browser/README]:
    122 
    123 == Build & Debug (with Eclipse) ==
    124  1. Install GWT (Google Web Toolkit. version 1.4.10 or higher)
    125  1. In Window->Preference->Java->Classpath Variables, add a new variable as follows:
    126 {{{
    127 GWT_HOME=(your GWT installation folder)
    128 }}}
    129  1. (debug) launch Debug -> GenomeBrowser_gwtshell, which displays GWT debug shell and
    130 genome browser interface.
    131 
    132 == Build (from command line) ==
    133 
    134  1. Download the Google Web Toolkit from the web. Version 1.4.10 or higher is required.
    135  1. Copy 'build.properties.sample' to 'build.properties'
    136  1. Open the 'build.property' file, then change the gwt.home variable to the path of your GWT (Google Web Toolkit) folder, and comment out appropriate 'gwt.dev' lines to select GWT develeopement library on your OS. - e.g.  (in Windows)
    137 {{{
    138 gwt.home=C:/(somewhere in your PC)/gwt-windows-1.4.10
    139 gwt.dev=gwt-dev-windows.jar
    140 #gwt.dev=gwt-dev-mac.jar
    141 #gwt.dev=gwt-dev-linux.jar
    142 }}}
    143  1.
    144 {{{
    145 > ant compileJs
    146 }}}
    147  1. Open www/org.utgenome.gwt.utgb.UTGB/UTGB.html in your web browser (IE, Firefox, etc.)
    148 
    149 == Deploy ==
    150 
    151  1. Install Tomcat 5.0 (or higher) Java web server.
    152  1. Edit your build.properties file, and modify the following variables:
    153 {{{
    154 TOMCAT_HOME=(Tomcat Installation folder)
    155 tomcat.base.url=http://localhost:8080
    156 tomcat.manager.username=(tomcat manager username)
    157 tomcat.manager.password=(tomcat manager password)
    158 }}}
    159  1. Set up GWT as described above (the section on build from command line)
    160  1.
    161 {{{
    162 > ant deploy
    163 }}}
    164  * This generates a war file (web application archive), and deploy the war file in the tomcat server
    165 
    166 == Trouble Shooting ==
    167 
    168 * Q: GWT Shell invokes a following error:
    169 {{{
    170 [ERROR] Errors in 'jar:file(...)UTGB%20Common/lib/gwt-dragdrop-1.0RC.jar!/com/allen_sauer/gwt/dragdrop/client/DeferredMoveCommand.java'
    171 }}}
    172   * A: Your GWT version must be higher than 1.4.10 in order to use drag & drop facility.
    173  
    174  
    175 * Q: out of memory error when running Ant.
    176   * A: create a $HOME/.ant/ant.conf file, then write the following line:
    177 {{{
    178 ANT_OPTS="-Xmx512M"
    179 }}}