Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » circular dependency in RAP
circular dependency in RAP [message #635275] Tue, 26 October 2010 09:03 Go to next message
fangjava  is currently offline fangjava Friend
Messages: 8
Registered: July 2009
Junior Member
I get a error when I use Ant to build webappBuilder.xml in RAP

A cycle was detected when generating the classpath mas_1.0.0.201010261515, org.springframework.bundle.spring.beans_2.5.5, com.springsource.slf4j.org.apache.commons.logging_1.5.0, com.springsource.slf4j.api_1.5.0, com.springsource.slf4j.log4j_1.5.0, com.springsource.slf4j.api_1.5.0.

It's circular dependency , so I cann't build it .
How can I avoid this error??

Thanks in advance for any help.

[Updated on: Tue, 26 October 2010 09:06]

Report message to a moderator

Re: circular dependency in RAP [message #635345 is a reply to message #635275] Tue, 26 October 2010 14:01 Go to previous messageGo to next message
Cole Markham is currently offline Cole MarkhamFriend
Messages: 150
Registered: July 2009
Location: College Station, TX
Senior Member

We had the same problem with circular dependencies in our target platform. If you use the Export->"Deployable Features" or "Deployable Plugins and Fragments" wizard, then you will see an option to "Allow for binary cycles in the target platform". Verify that you are able to export the feature this way.
http://ccmcomputing.net/export-features.png

Once you confirm that this will allow you to build, you will run up against this bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=308070). The ant task used in webappBuilder.xml runs the exact same code as the wizard, but does not expose the additional flags. The only solution is to patch the PDE plugin in your Eclipse installation.

There are a few alternative build options that I think are easier to get working.

Using normal eclipse products, supports binary cycles out of the box:
http://wiki.eclipse.org/RAP/WAR_Deployment_with_products

A special WAR product which was developed this summer. We use a modified version of this which supports binary cycles. I'm not sure if that fix made it into the main release.
http://wiki.eclipse.org/RAP/Equinox_WAR_products
Our changes are on this bug, but the patch is probably out of date with CVS head: https://bugs.eclipse.org/bugs/show_bug.cgi?id=322281
Re: circular dependency in RAP [message #635478 is a reply to message #635345] Wed, 27 October 2010 01:44 Go to previous message
fangjava  is currently offline fangjava Friend
Messages: 8
Registered: July 2009
Junior Member
Thank you very much for your replay. I will study it.

I use org.appach.commons.logging instead of above jars as a temprorily solution. it work fine.
Previous Topic:Redirect browser after close workbench
Next Topic:Console plugin
Goto Forum:
  


Current Time: Sat May 11 01:34:55 GMT 2024

Powered by FUDForum. Page generated in 0.03780 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top