[ome-users] OMERO Client Exception...
josh.moore at gmx.de
josh.moore at gmx.de
Fri Jun 5 10:29:20 BST 2009
Hi Gernot,
sorry for the slow follow up. Are you wanting to do programmatic
import or some other subset of functionality? The bare minimum is
simply the omero_client.jar. However, import does add several
dependencies for file parsing. The easiest path might be to add an ivy
configuration and a build target which packs all the jars up.
See the "retrieve-client-libs" target in OmeroImporter/build.xml. That
uses the "client" conf from OmeroImporter/ivy.xml, but another one,
e.g. "minimal", could be defined so:
<!-- Loci -->
<dependency org="OME" name="bio-formats"
rev="${versions.bio-formats}"
conf="build,client,minimal->default"/>
...
Note: "build,client->default" is the default configuration and so must
be included.
Best wishes,
~Josh.
Gernot Stocker writes:
> there was one jar file missing >;-) (importer_common.jar). Is there a way to find
> out the minimal set of jars which are REALLY necessary for programmatic/textonly
> access?
>
> Under
> http://trac.openmicroscopy.org.uk/omero/wiki/OmeroJava
>
> is described that in
> http://trac.openmicroscopy.org.uk/omero/browser/trunk/components/tools/OmeroImporter/ivy.xml
>
> one can find the extended classpath but there are some which are definitely not
> necessary e.g. quaqua-filechooser-only, TableLayout ...
>
> >[...]
> > >
> > > Do you have an idea what could be the reason for this signature mismatch?
> >
> > I've tried to reproduce this and I can't. Is it possible you have
> > CLASSPATH issues that are a result of your Tomcat/Spring container? Can
> > you get an OMEROMetadataStoreClient instance using any of the other
> > constructors?
>
> Now also this constructor is working fine and the hint with the sudo session
> helped me a lot!
> Thanks,
> Gernot
> --
> Gernot Stocker,
> Institute for Genomics and Bioinformatics(IGB)
> Petersgasse 14, 8010 Graz, Austria
> Tel.: +43-316-873-5345
> http://genome.tugraz.at
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
More information about the ome-users
mailing list