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
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
Proposed fix in https://github.com/openmicroscopy/bioformats/pull/2579
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.)