Development tools - PowerPoint PPT Presentation

About This Presentation
Title:

Development tools

Description:

... popular tools available for Linux ... Get a local copy of a project (e.g. GATE): cd z:/ cvs co ... Read the cvs documentation on http://redmires. tkdiff ... – PowerPoint PPT presentation

Number of Views:34
Avg rating:3.0/5.0
Slides: 11
Provided by: hamishcu
Category:

less

Transcript and Presenter's Notes

Title: Development tools


1
Development tools cvs, tkdiff,
JBuilder, building GATE from the sources
2
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
http//redmires.dcs.shef.ac.uk
4
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.

5
cvs Concurrent Versions System
  • Set a variable in your environment
  • CVSROOT
  • pserverusername_at_derwent.dcs.shef.ac.uk/share/nl
    p/src/CVS_Repository
  • Get a local copy of a project (e.g. GATE)
  • gt cd z/
  • gt cvs co gate

6
cvs - more
  • Update an existing local copy (get other peoples
    changes)
  • gt cd z/gate
  • gt cvs update -dP
  • Save your changes
  • Update first!
  • Fix any conflicts!
  • gt cvs ci m message describing the changes
  • Get details on changes for a file (directory)
  • gt cvs log file
  • Read the cvs documentation on http//redmires

7
tkdiff a Visual diff
  • Get from 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
(No Transcript)
9
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
Putting all together - building GATE
  • check out gate from cvs
  • configure the make script
  • gt cd gate/build
  • gt ./configure
  • make the dependencies
  • gt make depend
  • compile the classes
  • gt make
  • make the jar
  • gt make jar
  • try it!
  • gt make run
Write a Comment
User Comments (0)
About PowerShow.com