Task #12166 (closed)
Bug: omero_client.jar is missing dependencies
Reported by: | jamoore | Owned by: | bpindelski |
---|---|---|---|
Priority: | blocker | Milestone: | 5.0.2 |
Component: | Deployment | Version: | 5.0.1 |
Keywords: | n.a. | Cc: | bramalingam, java@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | n.a. |
Description
For example, when using bioformats_package.jar and omero_client.jar in matlab:
`
java.lang.NoClassDefFoundError?: ome/services/blitz/repo/path/ClientFilePathTransformer
`
Change History (4)
comment:1 Changed 10 years ago by bpindelski
comment:2 Changed 10 years ago by bpindelski
- Owner set to bpindelski
- Status changed from new to accepted
comment:3 Changed 10 years ago by bpindelski
- Resolution set to fixed
- Status changed from accepted to closed
Closing, as PR 2393 merged. A general plan for an OMERO uber-JAR for Matlab is still pending and is being handled on Trello.
comment:4 Changed 10 years ago by Josh Moore <josh@…>
- Remaining Time set to 0
(In [722c5fde67f05d400da0cde8d65aa640bc57a073/ome.git] on branch develop) Merge pull request #2465 from bpindelski/rebased/develop/12166-omero-client
Add missing deps to omero_client.jar (fix #12166) (rebased onto develop)
A monkey-wrench solution would be the following change:
The problem lies in the build.xml file in OmeroJava. The pre-compile target is very selective when it comes to copying over files from other components. It additionally is confusing when build.xml is viewed side by side with ivy.xml, as the latter promises to include all of blitz in the resulting omero_client.jar.