[ome-users] ivy dependancies

josh.moore at gmx.de josh.moore at gmx.de
Tue Oct 30 22:28:47 GMT 2007


Evening all, especially Mike. 

Curtis Rueden writes:
 > This message is because OMERO doesn't have the most up to date
 > ome-java.jar library. You can download the latest version from:
 > 
 > https://skyking.microscopy.wisc.edu/svn/java/trunk/jar/ome-java.jar
 > 
 > Just overwrite the old ome-java.jar, wherever it is, with that one,
 > and it should solve the CustomNode error.

This shouldn't be necessary. The process that Brian mentioned is
that we're trying to start using internal jars which Brian will keep
in sync. The issue you ran into here has been fixed with
r1904. Classes were being compiled that shouldn't be. Sorry.

 > >  > I'm trying to install OMERO from a current trunk checkout, but I
 > >  > can't build it due to some missing depends related to ivy.  I've
 > >  > poked around the SVN repository but couldn't find them.  Any
 > >  > suggestions?  Error is attached below.

This is a known issue with Ivy, which should go into the FAQ. There's
a trade-off between cleaning the cache on every build and never having
anything stale, versus manually cleaning it and risking not finding
certain jars after a breaking checkout. Unfortunately, we just made
one of those. In general the "clean" target after a checkout is a
good idea.

 > A normal install of the stable 3.0-M3 fails at anouther location (building romio.unit).
 > Such fun.

Can you tell me any more about this? What output are you getting? Are
you trying to run the tests for 3.0-M3? I assume this is why you then
tried to build from trunk.

Then there are the issues that you sent off list. Hopefully you don't
mind me addressing them here for everyone's benefits.

> BUILD FAILED
> /home/mrmike/omero/components/antlib/resources/setup.xml:228: No  
> application server found

This means that JBOSS_HOME is not set, as outlined on the building
from source page at

  http://trac.openmicroscopy.org.uk/omero/wiki/OmeroContributing

The "fullbuild" target checks the environment more closely for a
release. Your best bet is just to use "build".

> test:
>      [copy] Copying 2 files to /home/mrmike/omero/components/dsl/ 
> target/test-classes
>     [javac] Compiling 2 source files to /home/mrmike/omero/ 
> components/dsl/target/test-classes
>     [javac] ----------
>     [javac] 1. ERROR in /home/mrmike/omero/components/dsl/test/ome/ 
> dsl/utests/AntTasksTest.java (at line 27)
>     [javac]     @Test
>     [javac]     ^^^^^
>     [javac] Syntax error, annotations are only available if source  
> level is 5.0
...
>
> This is a clean install of FC6 x86_64, JBoss from your repository,  
> javac version 1.6.0_03, ant 1.6.5, gcc 4.1.2
>

This is worrisome. I haven't run into build issues with Java6, so I'll
have to investigate. Thanks for pointing this out.

Otherwise, night folks. 
Josh.



More information about the ome-users mailing list