facebook

A cycle was detected when generating the classpath

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #278640 Reply

    rsood
    Member

    Hello
    I have Myeclipse 6.0.1
    Build Id 6.0.1-GA-200710
    I am doing SWT or RCP development through plug in projects…
    when I try to export the plugin using this phrase ‘Eclipse Product Export wizard’ I get a circular dependancy error that says ‘ A cycle was detected when generating the classpath’.
    If I try to export a plugin individually I still get the same error. I have checked all the plugins using ‘dependency analysis’ and did not find any cycles but I still get this error.
    I was wondering if someone could help me out here.
    thanks
    rahul[/img]

    #278654 Reply

    Loyal Water
    Member

    when I try to export the plugin using this phrase ‘Eclipse Product Export wizard’ I get a circular dependancy error that says ‘ A cycle was detected when generating the classpath’.

    I didnt undertand how you are exporting your project. Can you list the steps for me.

    Are there any errors being logged under <workspace>/.metadata/.log file.

    #278671 Reply

    rsood
    Member

    when I try to export the plugin using this phrase I didnt undertand how you are exporting your project. Can you list the steps for me.

    Are there any errors being logged under <workspace>/.metadata/.log file.

    Hi Nipun
    Thanks for your reply…Is there a way to send you attachments.
    Anyways I have tried to document the steps below, By the way the same procedure for the same project with the same manifest files works in MyEclipse 5.1.0.

    Steps
    1. I right click on a project in the Navigator view and select export from the context Menu.
    2. Under the resulting ‘Export’ dialog under the ‘plug-in Development’ folder, I select ‘Deployable plug-ins and fragments with AspectJ support’
    3. I then click on ‘Next’ and then ‘finish’
    MyEclipse then starts doing its mojo but fails with the error ‘A cycle was detected when generating the classpath’, It shows a dialog with a list of few jars..one of them is ours…the same information is printed into the log file under
    <workspace>/.metadata/.log. I am reproducing the same

    !ENTRY org.eclipse.pde.build 4 14 2007-11-16 09:34:35.453
    !MESSAGE A cycle was detected when generating the classpath org.calgb.domain_0.5.0, org.eclipse.ui_3.3.1.M20070910-0800b, org.eclipse.swt_3.3.2.v3347, org.eclipse.atf.mozilla.ide.core_0.2.2.zmyeclipse601200710, org.eclipse.atf.core_0.2.2.zmyeclipse601200710, org.eclipse.ui_3.3.1.M20070910-0800b.

    org.calgb.domain_0.5.0 is our project that I right clicked on from the Navigator view..

    Hope this helps..I can send attachments if you tell me where to or how..
    thanks
    rahul

    #278715 Reply

    Loyal Water
    Member

    Thanks for your reply…Is there a way to send you attachments.

    You can pm the attachment to me. You can do this by clicking the pm button at the bottom of my post.

    Also, please go to MyEclipse > Installation Summary > Installation Details and paste the information here for me so that I can try reproducing this with the same configuration.

    #278719 Reply

    rsood
    Member

    Also, please go to MyEclipse > Installation Summary > Installation Details and paste the information here for me so that I can try reproducing this with the same configuration.

    Here are the Installation Details
    *** Date:
    Monday, November 19, 2007 9:57:46 AM EST

    ** System properties:
    OS=WindowsXP
    OS version=5.1
    Java version=1.5.0_12

    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 6.0.1 GA
    Build id: 6.0.1-GA-200710

    Eclipse Graphical Editing Framework

    Version: 3.3.1.v20070814
    Build id: 20070814-1555

    Eclipse Platform

    Version: 3.3.2.R33x_v20071022-_19UEksF-G8Yc6bUv3Dz
    Build id: M20071023-1652

    Eclipse RCP

    Version: 3.3.2.R33x_r20071022-8y8eE9CEV3FspP8HJrY1M2dS
    Build id: M20070921-1145

    Eclipse Java Development Tools

    Version: 3.3.1.r331_v20070629-7o7jE72EDlXAbqAcnbmyg1rf8RIL
    Build id: M20070921-1145

    Eclipse Plug-in Development Environment

    Version: 3.3.2.R33x_r20071022-7N7M4CYWLBCz-yHkMIuHN
    Build id: M20070921-1145

    Eclipse Project SDK

    Version: 3.3.2.R33x_r20071022-7M7J7C_Mu2gop0b_GAwplOBhyuKO
    Build id: M20071023-1652

    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe
    -name
    Eclipse
    –launcher.library
    C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.2.R331_v20071019\eclipse_1021.dll
    -startup
    C:\Program Files\MyEclipse 6.0\eclipse\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20070828.jar
    -clean
    -vm
    C:\Program Files\Java\jdk1.5.0_12\bin\..\jre\bin\client\jvm.dll

    #278743 Reply

    Loyal Water
    Member

    It seems like you have loads of pluings installed with MyEclipse. They could be causing a conflict here. Can you send me the project so that I can try exporting it with a clean install ? Or you can install MyEclipse to a brand new location and try exporting your project to make sure that this is not being caused by plugins.

    #278781 Reply

    rsood
    Member

    Hi Nipun
    I tried exporting it with bare minimum the only plugins I had were eclipse-RCP-3.3.1.1-delta-pack (need this to do a build for mac) and AspectJ along with eclipse plugin environment and it still failed…do you still need the project

    #278783 Reply

    rsood
    Member

    ok ignore my previous message..it did work with those plugins..i am now going to add other plugins and will let you know

    #278789 Reply

    Loyal Water
    Member

    Thanks for updating me.

    #278837 Reply

    rsood
    Member

    Nipun
    Thanks for your help, it all worked out..I finally added the following additional plugins testing after adding each plugin if the expot would work. Compared to last time I avoided adding plugins that I did not need or were marked (incubation)

    1. RCP Delta Pack
    2. Mylin
    3. AspectJ
    4. Plugin Development
    5. JIRA
    6. Subclipse
    7. BuckMinster for core, maven, pde support
    8. Q4e
    9. Jadeclipse
    10. Matisse
    11. Eclipse updates except rcp patch it has a strange red square box overlay to it ( any idea what it means), anyways it has caused trouble in the past
    12. Birt reporting
    13 GEF

    thanks again for your help , really appreciate it.

    #278893 Reply

    Loyal Water
    Member

    Glad it worked. Your welcome.

Viewing 11 posts - 1 through 11 (of 11 total)
Reply To: A cycle was detected when generating the classpath

You must be logged in to post in the forum log in