classpath cycle with pde build [message #100646] |
Tue, 30 October 2007 09:41  |
Eclipse User |
|
|
|
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] |
Wed, 31 October 2007 21:29   |
Eclipse User |
|
|
|
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
>
|
|
|
Re: classpath cycle with pde build [message #104825 is a reply to message #100764] |
Wed, 06 February 2008 16:12  |
Eclipse User |
|
|
|
So I am running into this same issue. Has a work around been resolved??? Is this just an Equinox issue? Any help here would be much appreciated. I read the above Bug issue but it seems as if there has been no resolution to this issue.
I can successfully run my RCP Application via the Eclipse Application Run Dialog with all the required plug-ins including SLF4J-API and SLF4J-log4j but when I attempt to export the product with the Product export wizard It fails with the following::
Problems during export
A cycle was detected when generating the classpath org.dcm4che2.core.bundle_2.0.12, slf4j.api_1.4.3, slf4j.log4j12_1.4.3, slf4j.api_1.4.3.
I am assuming for the same reasons stated above. Someone out there has to have a resolution for this since I know of a bunch of project that use SLF4J logging with there Equinox projects...
Please help!!!!
-Kyle
|
|
|
Powered by
FUDForum. Page generated in 0.04139 seconds