Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11231 (closed)

Opened 11 years ago

Closed 8 years ago

Better dependency management for Ant builds

Reported by: mlinkert Owned by:
Priority: minor Milestone: OME-Files
Component: Bio-Formats Version: 4.4.8
Keywords: ant Cc: cxallan, jamoore, sbesson, jburel, rleigh
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by jamoore)

It would be nice to remove the 'jars' directory entirely, and have the ability to depend upon specific .jar version from other repositories (i.e. for #11230).

See also:

Change History (10)

comment:1 Changed 11 years ago by crueden-x

I think removing jars would be ideal. It bloats the git repository with binaries, and potentially has other problems too.

Fiji had a similar problem with a directory called precompiled with an (in)famous discussion thread: https://groups.google.com/forum/#!topic/fiji-devel/_uSBOxzb9lU. Ultimately, Fiji's move to Maven enabled it to fully ditch this directory.

I would suggest using either Maven or Ivy with external dependency resolution. (Another good option might be git-annex. But really, dependency management becomes a lot easier when your dependencies are actually managed, rather than loosely referenced via Ant build scripts.)

comment:2 Changed 11 years ago by jamoore

  • Description modified (diff)

comment:3 Changed 11 years ago by jamoore

  • Milestone changed from Unscheduled to OMERO-4.4.x

comment:4 Changed 8 years ago by jamoore

  • Milestone changed from 5.x to Unscheduled

comment:5 Changed 8 years ago by mlinkert

  • Cc cxallan jamoore sbesson jburel added
  • Keywords ant added
  • Owner mlinkert deleted

Probably worth a discussion at some point of whether or not this is still something we want to do given the current pervasive usage of Maven.

comment:6 Changed 8 years ago by sbesson

Getting this dependency question addressed is definitely one of the largest Java requirements in order to get the model properly decoupled.

comment:7 Changed 8 years ago by sbesson

  • Cc rleigh added
  • Milestone changed from Unscheduled to OME-Files

comment:8 Changed 8 years ago by sbesson

Referencing ticket #11228 has changed sprint.

comment:9 Changed 8 years ago by sbesson

Referencing ticket #11228 has changed sprint.

comment:10 Changed 8 years ago by sbesson

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.108266 sec.)

We're Hiring!