<div dir="ltr">Hi all,<div><br></div><div>> <span style="font-family:arial,sans-serif;font-size:13px">+1 vote for maven for me too.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div>
<div>I had a brief offline discussion with Josh. For my use case (calling ImageJ commands as OMERO scripts, which ends up being a "client-side" thing), it is sufficient to use omero_client.jar, which is an "uber-jar" encapsulating many of its dependencies.</div>
<div><br></div><div>It does not encapsulate SLF4J and log4j, but IIUC those dependencies likely won't come into play unless actually instantiating an OMERO client. It also does not encapsulate its Spring framework dependencies.</div>
<div><br>For Maven users, I placed two recent versions of this OMERO client library in the ImageJ Maven repository:</div><div><br></div><div><a href="http://maven.imagej.net/content/repositories/thirdparty/ome/omero-client/">http://maven.imagej.net/content/repositories/thirdparty/ome/omero-client/</a><br>
</div><div><br></div><div><div>4.4.8p1-ice33-b304 = 4.4.8p1 release version, built for Ice 3.3<br></div></div><div><div>4.4.8-452-cbe42bc-ice34-b326 = a build from dev_4_4 from earlier today, built for Ice 3.4</div></div>
<div><br></div><div>These versions have a simple POM which declares the Spring framework libraries as dependencies. For the sake of thoroughness, I also committed the POMs to source control:</div><div><br></div><div><a href="https://github.com/imagej/imagej-omero/commit/867375c0">https://github.com/imagej/imagej-omero/commit/867375c0</a></div>
<div><br></div><div>In my brief tests, all is OK at compile time; haven't tested runtime yet though. I will reply back if there are any problems.</div><div><br></div><div>Cheers,</div><div>Curtis</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Aug 30, 2013 at 10:32 AM, Lee Kamentsky <span dir="ltr"><<a href="mailto:leek@broadinstitute.org" target="_blank">leek@broadinstitute.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">+1 vote for maven for me too. I realize it's not so easy considering the tools you need to autogenerate source from schema. Client-side usage as well for me.<div><br></div><div>Thanks,</div><div>--Lee</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Fri, Aug 30, 2013 at 11:03 AM, Josh Moore <span dir="ltr"><<a href="mailto:josh@glencoesoftware.com" target="_blank">josh@glencoesoftware.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><br>
On Aug 29, 2013, at 10:07 PM, Curtis Rueden wrote:<br>
<br>
> Hi all,<br>
<br>
Hi Curtis,<br>
<br>
> I would like to depend on some of OMERO's components for communicating with<br>
> the OMERO server, particularly blitz.jar, from my Java code. However,<br>
> blitz.jar has many dependencies of its own.<br>
<br>
Are you developing something for the client-side or the server-side?<br>
<br>
> Is there a release version in a Maven repository that I can use for my<br>
> Maven-based project?<br>
<br>
Not yet, unfortunately.<br>
<br>
> If not, what is the recommended way of managing OMERO components as<br>
> dependencies?<br>
<br>
Assuming this is for the client-side (i.e. it won't run with the server), you'll need the contents of lib/client on your CLASSPATH. For compiling functionality into your server, see <a href="https://github.com/joshmoore/ome-cmd-example" target="_blank">https://github.com/joshmoore/ome-cmd-example</a><br>
<br>
> Thanks,<br>
> Curtis<br>
<br>
Cheers,<br>
~Josh.<br></div></div>
_______________________________________________<br>
ome-devel mailing list<br>
<a href="mailto:ome-devel@lists.openmicroscopy.org.uk" target="_blank">ome-devel@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel</a><br>
</blockquote></div><br></div>
</blockquote></div><br></div>