Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CSC307 Lecture 11

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

CSC307 Lecture 11

Introduction to Software Engineering
Dependency Management
(202505)

Tweet

More Decks by Javier Gonzalez-Sanchez

Other Decks in Programming

Transcript

  1. Dr. Javier Gonzalez-Sanchez [email protected] www.javiergs.info o ffi ce: 14 -227

    CSC 307 Introduction to Software Engineering Lecture 11. Dependency Management
  2. Library • A collection of resources (cl a sses) •

    A J a v a Archive, or JAR f ile, cont a ins a ll of the v a rious components th a t m a ke up a self- cont a ined, execut a ble J a v a a pplic a tion or, most commonly, a J a v a libr a ry to which a J a v a Runtime Environment c a n link. 6
  3. • Build m a n a gement tool • M

    a ven a utom a tes dependency m a n a gement by a utom a tic a lly downlo a ding required libr a ries a nd their dependencies, ensuring consistent builds with speci f ied versions. • In contr a st, m a nu a lly downlo a ding JARs is l a bor-intensive a nd error-prone. 8
  4. • The project object model (POM) f ile describes a

    project a nd its dependencies. • A st a nd a rdized directory form a t. • Repositories where third-p a rty softw a re is stored a nd discovered. 9
  5. Jsoup • A J a v a libr a ry

    th a t simpli f ies working with HTML a nd XML. • O ff ers URL fetching, d a t a p a rsing, extr a ction, a nd m a nipul a tion. • https://jsoup.org/ 19
  6. JavaParser • A J a v a libr a ry

    to a n a lyze, tr a nsform, a nd gener a te J a v a code. • https://j a v a p a rser.org/ 26
  7. JFreeChart • https://www.jfree.org/jfreech a rt/ • JFreeCh a rt is

    a libr a ry to displ a y profession a l-qu a lity ch a rts. 33
  8. Weka • Wek a is a collection of m a

    chine le a rning a nd d a t a a n a lysis • W a ik a to Environment for Knowledge An a lysis (Wek a ) • developed a t the University of W a ik a to, New Ze a l a nd • https://ml.cms.w a ik a to. a c.nz/wek a • 40
  9. 115,475 Towns and Cities in the United States July, 2012

    https://www.math.uwaterloo.ca/tsp/data/usa/index.html A dataset 48
  10. Lab 1. Make NumberGenerator to randomly generate (x, y) 2.

    Let’s add Decorations to our Shapes
  11. CSC 307 Introduction to Software Engineering Javier Gonzalez-Sanchez, Ph.D. [email protected]

    Summer 2024 Copyright. These slides can only be used as study material for the class CSC307 at Cal Poly. They cannot be distributed or used for another purpose.