Ted Leung on the air
Ted Leung on the air: Open Source, Java, Python, and ...
Thu, 16 Jan 2003
I couldn't resist...
I hacked a proof-of-concept to compute jar dependencies based on attributes in jar file manifests. I'm not tackling the hard problems like versioning, or setting up a distributed, mirrored, repository. I figure this is a good starting point that could get refactored into a real solution. Or not.
It works like this. When jar files are created, place three new attrbutes in the manifest:

jar-id: a string representing a unique id for this jar
jar-version: a string representing the version identifier for this jar
jar-dependencies: a comma separated list of jar-id#jar-version tuples which
                 specifies the jars that this jar directly depends on
                

If all jars embedded this information, then we just compute the set of dependencies needed by the application (root) jar, get those that we don't have, compute their dependencies, and repeat until we have all the jars.

[15:26] | [computers/programming/java] | # | TB | F | G | 0 Comments | Other blogs commenting on this post
You can subscribe to an RSS feed of the comments for this blog: RSS Feed for comments

Add a comment here:

You can use some HTML tags in the comment text:
To insert a URI, just type it -- no need to write an anchor tag.
Allowable html tags are: <a href>, <em>, <i>, <b>, <blockquote>, <br/>, <p>, <code>, <pre>, <cite>, <sub> and <sup>.

You can also use some Wiki style:
URI => [uri title]
<em> => _emphasized text_
<b> => *bold text*
Ordered list => consecutive lines starting spaces and an asterisk

Name:


E-mail:


URL:


Comment:


Remember my info?


twl JPG

About

Ted Leung FOAF Explorer

I work at the Open Source Applications Foundation (OSAF).
The opinions expressed here are entirely my own, not those of my employer.

Creative Commons License
This work is licensed under a Creative Commons License.

Now available!
Professional XML Development with Apache Tools : Xerces, Xalan, FOP, Cocoon, Axis, Xindice
Technorati Profile
PGP Key Fingerprint
My del.icio.us Bookmarks
My Flickr Photos


Syndicate
RSS 2.0 xml GIF
Comments (RSS 2.0) xml GIF
Atom 0.3 feed
Feedburner'ed RSS feed

January 2003 >
SuMoTuWeThFrSa
    1 2 3 4
5 6 7 8 91011
12131415161718
19202122232425
262728293031 

Archives
2006
2005
2004
2003

Articles
Macintosh Tips and Tricks

Search
Lucene
Blogs nearby
geourl PNG

Categories
/ (1567)
  books/ (33)
  computers/ (62)
    hardware/ (15)
    internet/ (58)
      mail/ (11)
      microcontent/ (58)
      weblogs/ (174)
        pyblosxom/ (36)
      www/ (25)
    open_source/ (145)
      asf/ (53)
      osaf/ (32)
        chandler/ (35)
        cosmo/ (1)
    operating_systems/ (16)
      linux/ (9)
        debian/ (15)
        ubuntu/ (2)
      macosx/ (101)
        tips/ (25)
      windows_xp/ (4)
    programming/ (156)
      clr/ (1)
      dotnet/ (13)
      java/ (71)
        eclipse/ (22)
      lisp/ (34)
      python/ (86)
      smalltalk/ (4)
      xml/ (18)
    research/ (1)
    security/ (4)
    wireless/ (1)
  culture/ (10)
    film/ (8)
    music/ (6)
  education/ (13)
  family/ (17)
  gadgets/ (24)
  misc/ (47)
  people/ (18)
  photography/ (25)
    pictures/ (12)
  places/ (3)
    us/ (0)
      wa/ (2)
        bainbridge_island/ (17)
        seattle/ (13)
  skating/ (6)
  society/ (20)



[Valid RSS]

del.icio.us linkblog
» Thrudb – Trac / couchdb thrudb database
» php dtrace 1.0.3 - Evil, as in Dr. / dtrace php
» DTrace and PHP, demonstrated / dtrace php
» Nabble - Scala - [scala] Why are Scala's actors untyped? / actors scala
» zeromq: Fastest. Messaging. Ever. / messaging
» Scalaz - Workingmouse Wiki / scala testing monads
» RIchard Solo Smart Backup Battery Pack rocks for iPhone 3G | Gear Live / iphone
» Advanced Message Queuing Protocol - Advanced Message Queuing Protocol / messaging
» "vmkit" JVM and .Net runtimes for LLVM / llvm java clr
» Advanced Topics in Programming Languages: Concurrency/message passing Newsqueak / concurrency messaging @readreview
» Eric White's Blog : Are Developers Using LINQ? / linq programming
» sweetscala - Google Code / scala
» libconcurrency - Google Code / concurrency
» dramatis - Dramatis - Dramatis / concurrency actors erlang python ruby
» Python and Jython: An Interview With Sun's Ted Leung and Frank Wierzbicki / vanity
RSS
www.flickr.com

Blogroll

java.blogs
Listed on BlogShares

Locations of visitors to this page
Where are visitors to this page?


pyblosxom GIF