[ome-devel] Logging change since 4.10?

Harri Jäälinoja harri.jaalinoja at helsinki.fi
Wed May 27 15:26:51 BST 2015


Hi Josh,

I progressed to some build problems. I moved the hyldap component code 
to a proper repository, and prepared a branch for OMERO5 modifications.
https://github.com/hajaalin/omero-hyldap/tree/omero5

I then cloned this in openmicroscopy/components/hyldap. Now when I try 
to build the project, I get an error.

OMERO_BRANCH=5.1.1 BUILD_NUMBER=0 sh docs/hudson/OMERO.sh
...

Entering /build/components/hyldap...

testng-init:
:: Apache Ivy 2.3.0 - 20130110142753 :: http://ant.apache.org/ivy/ ::
:: loading settings :: file = /build/etc/ivysettings.xml
:: problems summary ::
:::: ERRORS
     a module is not authorized to depend on itself: 
omero#hyldap;5.1.1-328-f978880-ice35-b0

:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS

BUILD FAILED
/build/build.xml:351: The following error occurred while executing this 
line:
/build/build.xml:345: The following error occurred while executing this 
line:
/build/components/antlib/resources/global.xml:448: The following error 
occurred while executing this line:
/build/components/antlib/resources/lifecycle.xml:184: impossible to 
resolve dependencies:
     java.lang.IllegalArgumentException: a module is not authorized to 
depend on itself: omero#hyldap;5.1.1-328-f978880-ice35-b0
     at 
org.apache.ivy.core.resolve.IvyNodeCallers.addCaller(IvyNodeCallers.java:167)
     at org.apache.ivy.core.resolve.IvyNode.addCaller(IvyNode.java:1076)


Is there a way to build only the hyldap component? " ./build.py -f 
components/hyldap/build.xml" doesn't work, it doesn't know the id of the 
build that was made before (omero#server;UNKNOWN: not found).

Best,
Harri

On 26/05/15 18:55, Josh Moore wrote:
> Could you send your current configuration (minus passwords) and I'll
> have a look.
>
>
>> Thanks,
>> Harri
> All the best,
> ~Josh.
>
>
> P.S. you likely should migrate to SL4J rather than:
>
> import org.apache.commons.logging.LogFactory;
> import org.apache.commons.logging.Log;
>
> in your component. That should fix the logging. Configuration takes
> place via etc/logback.xml.
> _______________________________________________
> ome-devel mailing list
> ome-devel at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel



More information about the ome-devel mailing list