1 / 20

The iiuf Java Package Part II

The iiuf Java Package Part II. Simon Schubiger and Oliver Hitz DIUF, University of Fribourg. Outline. Introduction CVS: Concurrent Versions System XML/DOM Java Imaging Utilities Conclusion. Introduction. Goal: Share common source with minimal overhead through CVS. 21.02.2001:

hayley
Download Presentation

The iiuf Java Package Part II

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The iiuf Java PackagePart II Simon Schubiger and Oliver Hitz DIUF, University of Fribourg

  2. Outline • Introduction • CVS: Concurrent Versions System • XML/DOM • Java Imaging • Utilities • Conclusion

  3. Introduction • Goal: Share common source with minimal overhead through CVS. • 21.02.2001: • 1413 Classes • 906 Source files • 127141 lines of code

  4. Concurrent Versions System • Same source code, multiple developers • Source code history management • No more manual versioning (file1, file2, file3...) • Who made a given change? When? Why? What other changes at the same time? • Different development branches • Remote access • Low bandwidth

  5. CVS Overview • One central file repository • Every developer works on a local copy of the files • By default, no locking of files (contrary to RCS) • Conflicts are resolved manually • Website: • http://www.cvshome.org

  6. Repository Structure • /home/iiufdev/cvsroot • java iiuf edu org • rtsp • grabx

  7. Unix Setup • Become a member of the group "iiufdev" (for file access privileges) • Setup CVSROOT: • setenv CVSROOT :pserver:<user>@iiuf00:/home/iiufdev/cvsroot • Login to CVS: • cvs login • Get a local copy of a project: • cvs checkout <directory>

  8. Common Tasks • Bring the local copy up to date: • cvs update [filename(s)] • Add a file to the repository: • cvs add <filename> • Commit changes: • cvs commit [filename(s)]

  9. Common Tasks • View revision history of a file: • cvs log [filename(s)] • View changes made to the local version: • cvs diff [filename(s)] • Get an older version: • cvs update -r <revision> [filename(s)]

  10. Conflicts • Problem: two developers change the same file at the same time • Conflicts occur at "commit" time • Different portion in the source code: • changes are merged automatically • Same portion: • user is asked to resolve the conflict manually, corresponding source code region is marked

  11. Other Clients • jCVS - Java CVS Client (http://www.jcvs.org)

  12. Other Clients • MacCVS & WinCVS (http://www.cvsgui.org)

  13. XML & DOM • DOM: object representation of XML data • wrapper for different XML parsers • iiuf.dom.DOMUtils • provides access to elements within a DOM structure

  14. Imaging • JAI: Java Advanced Imaging • 100+ different image processing operations, some native implementations • add, subtract, composite... • rotate, scale, warp... • load/save on TIFF, GIF, JPEG... • complex images, (I)FFT... • extreme, histogram, mean... • convolve, edge extract...

  15. Imaging • iiuf.jai provides extensions and utilities for JAI: • DisplayImagePanel • ImageViewer sample application

  16. Document Imaging • Document analysis operators for JAI: • RLSA • Connected components analysis • Projection profiles • iiuf.das.ocr: Ready to use Java interface to the ScanWorX OCR program

  17. iiuf.log.Log • Replacement for System.out.println()-style debugging • Single debugging console for distributed applications • Output sent using the Syslog protocol to a standalone application on a specific machine • Also handles exceptions

  18. iiuf.log.Log • Servers • List • Overview

  19. iiuf.net.winnetou • Simple web server • Extensible through plugins

  20. Conclusion • Use it and contribute! • Documentation: • http://www-iiuf.unifr.ch/iiufdev/doc • 3rd-party libraries: • /home/iiufdev/distr

More Related