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

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

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