jar - What's the best way to manage dependencies with CounterClockwise/Eclipse? -
i have dependency on clj-record in counterclockwise project. what's best way manage this? copy source code or compile jar , add referenced library?
there seems no pattern specifying dependencies apart hacking code project or building jar externally.
of course can, java project. while dependency resolution isn't tied eclipse (yet), once retrieve deps (via 1 of command line tools nickik listed), can specify jars included in java build path of eclipse project:
- retrieve deps via cake, leiningen, etc.
- refresh eclipse project see deps (usually in lib directory)
- highlight jars want eclipse know about
- right-click, select build path > add build path
that's it. can fiddle build path going java build path section of project's properties window.
Comments
Post a Comment