Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] Logback slf4j impl 1.0.3

Hello,

I tried some more changes to logback slf4j bundle, which I supposed could cause a problem, but nothing helped. If this bundle is present the build fails, so I removed it. 
Strangely, it seems as if when logback slf4j 1.0.3 is present, the build could not find logback slf4j 0.9.27, although both should be present - they are in http://build.eclipse.org/orbit/projects/orbit-I/workdir/plugins. 

SLF4J API 1.6.1 has a require capability, which is satisfied by a provide capability of logback slf4j 0.9.27. So when logback slf4j 1.0.3 is present, the build fails saying that it cannot resolve SLF4J API 1.6.1 because it cannot satisfy the require capability. This could happen only if logback slf4j 0.9.27 is missing. When logback slf4j 1.0.3 is not present in the build there are no problems and SLF4J API 1.6.1 resolves correctly.

The build fails with the following error:
[orbit-set1] generateScript:
[orbit-set1] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[orbit-set1] [eclipse.buildScript] Bundle ch.qos.logback.slf4j:
[orbit-set1] [eclipse.buildScript] Bundle org.slf4j.api:
[orbit-set1] [eclipse.buildScript] 	Host plug-in org.slf4j.impl.StaticLoggerBinder_0.0.0 has not been found.
[orbit-set1]
[orbit-set1] BUILD FAILED
[orbit-set1] /shared/orbit/projectBuilders/orbit-I/org.eclipse.orbit/org.eclipse.orbit.releng.builder/scripts/build/runbuild.xml:62: The following error occurred while executing this line:
[orbit-set1] /opt/public/orbit/basebuilders/orbit-I/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/build.xml:35: The following error occurred while executing this line:
[orbit-set1] /opt/public/orbit/basebuilders/orbit-I/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/build.xml:91: The following error occurred while executing this line:
[orbit-set1] /shared/orbit/projectBuilders/orbit-I/org.eclipse.orbit/org.eclipse.orbit.releng.builder/components/set1/customTargets.xml:51: The following error occurred while executing this line:
[orbit-set1] /opt/public/orbit/basebuilders/orbit-I/eclipse/plugins/org.eclipse.pde.build_3.8.0.v20120523-1555/scripts/genericTargets.xml:111: Processing inclusion from feature org.eclipse.orbit.build.feature.set1: Bundle org.slf4j.api_1.6.1.v20100831-0715 failed to resolve.:
[orbit-set1] 	Host plug-in org.slf4j.impl.StaticLoggerBinder_0.0.0 has not been found.

David, could you think of something, which could cause such a problem? I could add logback slf4j 1.0.3 once more, so that the build fails again and you could have a look on the logs.

Regards,
Lazar

-----Original Message-----
From: orbit-dev-bounces@xxxxxxxxxxx [mailto:orbit-dev-bounces@xxxxxxxxxxx] On Behalf Of Kirchev, Lazar
Sent: Friday, August 24, 2012 3:53 PM
To: Gunnar Wagenknecht
Cc: orbit-dev@xxxxxxxxxxx
Subject: Re: [orbit-dev] Logback slf4j impl 1.0.3

I tried to add back the bundle with a small modification, but the build failed with the same error - for some reason the build tries to attach it to slf4j.api 1.6.1 and this fails - it should fail. But should not try to do this at all.

-----Original Message-----
From: Kirchev, Lazar 
Sent: Friday, August 24, 2012 2:54 PM
To: 'Gunnar Wagenknecht'
Subject: RE: Logback slf4j impl 1.0.3

No, I left BREE to 1.5, 1.6, 1.7 - I used as base your 1.0.0 version. I only changed the Bundle-Version, as everything else is essentially the same. Then I also changed the start of the version range for the fragment host to 1.6.4 (it was 1.6.1), but with no effect. I was thinking if the problem does not arise because both versions 1.0.0 and 1.0.3 are attached to the same host, but this host is 1.6.4, and no error for 1.6.1 should happen. The build should not at all try  to attach 1.0.3 impl to 1.6.1 api. 



-----Original Message-----
From: Gunnar Wagenknecht [mailto:gunnar@xxxxxxxxxxxxxxx] 
Sent: Friday, August 24, 2012 2:46 PM
To: Kirchev, Lazar
Subject: Re: Logback slf4j impl 1.0.3

Am 24.08.2012 13:09, schrieb Kirchev, Lazar:
> Yes, they are there. It was strange to me that logback.slf4j 1.0.0 builds correctly, while there are problems with 1.0.3, which is essentially the same. Now I am trying to find out why.

Did you change something with the BREE? Maybe there is some Equinox
Wiring issue under the hood?

-Gunnar


-- 
Gunnar Wagenknecht
gunnar@xxxxxxxxxxxxxxx
http://wagenknecht.org/
_______________________________________________
orbit-dev mailing list
orbit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orbit-dev


Back to the top