Changes between Initial Version and Version 1 of Devel/Miscellaneous


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

--

Legend:

Unmodified
Added
Removed
Modified
  • Devel/Miscellaneous

    v1 v1  
     1wiki:Devel/Index
     2
     3This article is obsolete, reserved only for memorandom.
     4
     5= Miscellaneous (Obsolete) =
     6
     7== Other Useful Plug-ins for Eclipse ==
     8 * [http://www.eclipse.org/mylyn Mylyne]
     9   * Update site: (for Eclipse 3.2) http://download.eclipse.org/tools/mylyn/update/e3.2
     10   * Task-oriented development support utilities with Trac Ticket/Wiki view, modify, query facilities.
     11 
     12 * [http://kurucz-grafika.de/fatjar FatJar]
     13   * Packs all required Jar files into a single Jar file.
     14
     15 * [http://www.eclipse.org/buckminster/downloads.html Buckminster]
     16   * required to install Subclipse & Mylyn integration feature
     17
     18 * [http://rubyeclipse.sourceforge.net/ Ruby Development Toolkit]
     19
     20 * My bookmarks.xml for Eclipse3.2
     21{{{
     22<?xml version="1.0" encoding="UTF-8"?>
     23<bookmarks>
     24   <site name="Subclipse" url="http://subclipse.tigris.org/update_1.2.x" web="false" selected="true" local="false"/>
     25   <site name="fatjar" url="http://kurucz-grafika.de/fatjar" web="false" selected="true" local="false"/>
     26   <site name="Mylar" url="http://download.eclipse.org/technology/mylar/update-site/e3.2" web="false" selected="true" local="false"/>
     27   <site name="The Eclipse Project Updates" url="http://update.eclipse.org/updates/3.2" web="false" selected="false" local="false"/>
     28   <site name="Callisto Discovery Site" url="http://download.eclipse.org/callisto/releases" web="false" selected="false" local="false"/>
     29</bookmarks>
     30}}}   
     31----
     32
     33The following contents are retrieved from [source:trunk/browser/README]:
     34
     35== Build & Debug (with Eclipse) ==
     36 1. Install GWT (Google Web Toolkit. version 1.4.10 or higher)
     37 1. In Window->Preference->Java->Classpath Variables, add a new variable as follows:
     38{{{
     39GWT_HOME=(your GWT installation folder)
     40}}}
     41 1. (debug) launch Debug -> GenomeBrowser_gwtshell, which displays GWT debug shell and
     42genome browser interface.
     43
     44== Build (from command line) ==
     45
     46 1. Download the Google Web Toolkit from the web. Version 1.4.10 or higher is required.
     47 1. Copy 'build.properties.sample' to 'build.properties'
     48 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)
     49{{{
     50gwt.home=C:/(somewhere in your PC)/gwt-windows-1.4.10
     51gwt.dev=gwt-dev-windows.jar
     52#gwt.dev=gwt-dev-mac.jar
     53#gwt.dev=gwt-dev-linux.jar
     54}}}
     55 1.
     56{{{
     57> ant compileJs
     58}}}
     59 1. Open www/org.utgenome.gwt.utgb.UTGB/UTGB.html in your web browser (IE, Firefox, etc.)
     60
     61== Deploy ==
     62
     63 1. Install Tomcat 5.0 (or higher) Java web server.
     64 1. Edit your build.properties file, and modify the following variables:
     65{{{
     66TOMCAT_HOME=(Tomcat Installation folder)
     67tomcat.base.url=http://localhost:8080
     68tomcat.manager.username=(tomcat manager username)
     69tomcat.manager.password=(tomcat manager password)
     70}}}
     71 1. Set up GWT as described above (the section on build from command line)
     72 1.
     73{{{
     74> ant deploy
     75}}}
     76 * This generates a war file (web application archive), and deploy the war file in the tomcat server
     77
     78== Trouble Shooting ==
     79
     80* Q: GWT Shell invokes a following error:
     81{{{
     82[ERROR] Errors in 'jar:file(...)UTGB%20Common/lib/gwt-dragdrop-1.0RC.jar!/com/allen_sauer/gwt/dragdrop/client/DeferredMoveCommand.java'
     83}}}
     84  * A: Your GWT version must be higher than 1.4.10 in order to use drag & drop facility.
     85 
     86 
     87* Q: out of memory error when running Ant.
     88  * A: create a $HOME/.ant/ant.conf file, then write the following line:
     89{{{
     90ANT_OPTS="-Xmx512M"
     91}}}