100 likes | 217 Views
Development tools cvs, tkdiff, JBuilder, building GATE from the sources. Choose an apps directory (usually c:apps or d:apps) Map it as W: ( subst w: c:apps ) Install all apps in w: or c:Program Files Java 1.x.y goes into w:jdkj2sdk1.x.y JBuilder goes into w:JBuilder
E N D
Development tools cvs, tkdiff, JBuilder, building GATE from the sources
Choose an apps directory (usually c:\apps or d:\apps) Map it as W:\ (subst w: c:\apps) Install all apps in w:\ or c:\Program Files Java 1.x.y goes into w:\jdk\j2sdk1.x.y JBuilder goes into w:\JBuilder Choose a work directory (e.g. c:\john\work) Mount it as Z:\ (subst z: c:\john\work) All project directories go in z:\ (e.g. z:\gate, z:\sale, etc) Windows setup 2(10)
Cygwin – www.cygwin.com • cgygwil.dll – a Linux implementation for Win32 platform • Contains most popular tools available for Linux • Mount all partitions as Unix (i.e. do not convert new line characters) • Make sure you install • make, autoconf, cvs. 4(10)
Set a variable in your environment: CVSROOT= :pserver:username@derwent.dcs.shef.ac.uk:/share/nlp/src/CVS_Repository Get a local copy of a project (e.g. GATE): > cd z:/ > cvs co gate cvs – Concurrent Versions System 5(10)
Update an existing local copy (get other people’s changes): > cd z:/gate > cvs update -dP Save your changes: Update first! Fix any conflicts! > cvs ci –m “message describing the changes” Get details on changes for a file (directory) > cvs log [file] Read the cvs documentation onhttp://redmires cvs - more 6(10)
Get fromhttp://www.accurev.com/free/tkdiff/index.htm Copy tkdiff.tcl somewhere (e.g. w:\tkdiff\tkdiff.tcl) Make a script called tkdiff in a directory in your path containing: #!/bin/sh wish /cygdrive/w/tkdiff/tkdiff.tcl $* & Usage: tkdiff fileA fileB tkdiff file tkdiff –r 1.12 file tkdiff –r 1.12 –r 1.11 file tkdiff – a Visual diff 7(10)
Set editing options as in “Team Conventions”: Convert leading tabs to spaces Use 2 spaces indents Use UTF-8 as the encoding Use Unix new lines Borland JBuilder 9(10)
check out gate from cvs configure the make script > cd gate/build > ./configure make the dependencies > make depend compile the classes > make make the jar > make jar try it! > make run Putting all together - building GATE 10(10)