classpath cycle with pde build [message #100646] |
Tue, 30 October 2007 13:41 |
Paul Gardiner Messages: 94 Registered: July 2009 |
Member |
|
|
When I use pde build to do a headless product build, it fails because of a
classpath cycle, if when using the slf4j bundles. There are two bundles
from slf4j that are in use: slf4j-api-1.4.3.jar and slf4j-log4j12-1.4.3.jar.
The api bundle exports org.slf4j, org.slf4j.helpers and org.slf4j.spi. It
exports org.slf4j.impl. The slf4j-log4j bundle does exactly the opposite.
Therefore there is a bi-directional dependency between the bundles, but not
between the packages, and they are using Import/Export-Package headers, so
this should work fine. However, I get this message:
.. . . genericTargets.xml:85: A cycle was detected when generating the
classpath com.syntellect.vxmlstats.gateway_1.0.0,
com.syntellect.vxmlstats.db_1.0.0, slf4j.api_1.4.3, slf4j.log4j12_1.4.3,
slf4j.api_1.4.3.
Thanks,
Paul
|
|
|
Re: classpath cycle with pde build [message #100764 is a reply to message #100646] |
Thu, 01 November 2007 01:29 |
Simon Kaegi Messages: 381 Registered: July 2009 |
Senior Member |
|
|
see https://bugs.eclipse.org/bugs/show_bug.cgi?id=208011
"Paul Gardiner" <pgardiner@syntellect.com> wrote in message
news:fg7cb9$u47$1@build.eclipse.org...
> When I use pde build to do a headless product build, it fails because of a
> classpath cycle, if when using the slf4j bundles. There are two bundles
> from slf4j that are in use: slf4j-api-1.4.3.jar and
> slf4j-log4j12-1.4.3.jar.
> The api bundle exports org.slf4j, org.slf4j.helpers and org.slf4j.spi. It
> exports org.slf4j.impl. The slf4j-log4j bundle does exactly the opposite.
> Therefore there is a bi-directional dependency between the bundles, but
> not
> between the packages, and they are using Import/Export-Package headers, so
> this should work fine. However, I get this message:
>
> . . . genericTargets.xml:85: A cycle was detected when generating the
> classpath com.syntellect.vxmlstats.gateway_1.0.0,
> com.syntellect.vxmlstats.db_1.0.0, slf4j.api_1.4.3, slf4j.log4j12_1.4.3,
> slf4j.api_1.4.3.
>
> Thanks,
> Paul
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03289 seconds