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:

  1. retrieve deps via cake, leiningen, etc.
  2. refresh eclipse project see deps (usually in lib directory)
  3. highlight jars want eclipse know about
  4. 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

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -