Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342802

Summary: war product can't export because of cycles
Product: z_Archived Reporter: Flavio Donze <flavio.donze>
Component: LibraAssignee: Project Inbox <libra.warproducts-inbox>
Status: NEW --- QA Contact: Holger Staudacher <holger.staudacher>
Severity: normal    
Priority: P3 CC: azerr, gunnar, holger.staudacher, marco, pascal.leclercq, rino
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Flavio Donze CLA 2011-04-14 04:29:24 EDT
Build Identifier: 1.4.0.20110315-1602

After I created a war product based on a working launch configuration I get the following error trying to export it:

A cycle was detected when generating the classpath com.softmodeler.common_1.0.0.201104141024, org.slf4j.api_1.5.11.v20100519-1910, ch.qos.logback.classic_0.9.19.v20100519-1505, ch.qos.logback.core_0.9.19.v20100419-1216, org.slf4j.api_1.5.11.v20100519-1910.

I'm using the war tooling of:
http://download.eclipsesource.com/~hstaudacher/warproducts/3.7
described here
http://eclipsesource.com/blogs/2010/08/17/equinoxrap-war-deployment-an-end-to-the-pain/

Reproducible: Always
Comment 1 Gunnar Wagenknecht CLA 2011-05-04 15:24:30 EDT
Did you check the "allow binary cycles" option?
Comment 2 Flavio Donze CLA 2011-05-12 05:09:58 EDT
Where is such an option, can't find one in the .warproduct file.
Comment 3 Holger Staudacher CLA 2011-05-12 05:17:35 EDT
It's not in the ui of the war products. I think we should add this option as it is with normal products.
Comment 4 Flavio Donze CLA 2011-05-12 05:34:48 EDT
yes that would be great, like in the PDE export wizard.

I think it should be checked as default, like in the PDE export.
Comment 5 Rino CLA 2011-09-22 13:41:54 EDT
(In reply to comment #3)
> It's not in the ui of the war products. I think we should add this option as it
> is with normal products.
Hi, i encountered this issue too. This checkbox is not (yet) present in the lastest build. Any way to get around it now / workaround ?

Regards
Rino
Comment 6 Holger Staudacher CLA 2011-09-23 02:41:59 EDT
It will be available for Indigo SR2 earliest. Sorry.
Comment 7 Angelo ZERR CLA 2011-11-08 04:07:00 EST
(In reply to comment #6)
> It will be available for Indigo SR2 earliest. Sorry.

Hi Holger,

Since we have integrated EclipseGemini (Spring DM), I have the same problem with our RAP Application that you can see demo at 
http://xdocreport-rap.opensagres.cloudbees.net/xdocreport?startup=fr.opensagres.xdocreport.eclipse.application

Is it possible to modify at hand the warproduct file to manage "allow binary cycles" option?

If not, do you know when Indigo SR2 will be available? Perhaps I could get source from warproduct (where can I find please?) and start a second Eclipse which will load warproduct plugin and build our warproduct?

Thank a lot for your help.

Regards Angelo
Comment 8 Marco Descher CLA 2013-09-30 11:46:20 EDT
Hy, facing the same probleme here, is there yet any mitigation for this?

thanks
Comment 9 Angelo ZERR CLA 2013-09-30 11:50:25 EDT
(In reply to Marco Descher from comment #8)
> Hy, facing the same probleme here, is there yet any mitigation for this?
> 
> thanks

Hi Marco,

To fix this problem, I had build my own WAR Product. See at http://angelozerr.wordpress.com/2012/06/12/warproduct_step1/

Regards Angelo