Presentation is loading. Please wait.

Presentation is loading. Please wait.

Development tools cvs, tkdiff, JBuilder, building GATE from the sources.

Similar presentations


Presentation on theme: "Development tools cvs, tkdiff, JBuilder, building GATE from the sources."— Presentation transcript:

1 Development tools cvs, tkdiff, JBuilder, building GATE from the sources

2 2(10) Windows setup 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)

3 3(10) http://redmires.dcs.shef.ac.uk

4 4(10) Cygwin – www.cygwin.comwww.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.

5 5(10) cvs – Concurrent Versions System 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

6 6(10) cvs - more 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 on http://redmireshttp://redmires

7 7(10) tkdiff – a Visual diff Get from http://www.accurev.com/free/tkdiff/index.htm http://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

8 8(10)

9 9(10) Borland JBuilder 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

10 10(10) Putting all together - building GATE 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


Download ppt "Development tools cvs, tkdiff, JBuilder, building GATE from the sources."

Similar presentations


Ads by Google