IBM Support

PM89663: Unable to export Java projects as an Ant Buildfiles if the projects have cyclical dependencies

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as suggestion for future release.

Error description

  • Headline:
    
    A cyclical dependency warning is display in RAD 8.5.x.  GUI when
    one attempts to export a project as an ant build build file.
    
    Abstract ? Description:
    Attempts to export a project as an ant build file in RAD 8.5.x
    results in the error below.
    
    A cycle was detected in the build path of project X where X is
    the name of the project.
    
    
    The log file in the metadata directory may log the following:
    
    workspaceGetErrors] ERROR: [1].
    Type=org.eclipse.jdt.core.buildpath_problem Line=0
    Resource=\java5
    [workspaceGetErrors] ERROR: [1].. Message=A cycle was detected
    in the
    build path of project: java5
    [workspaceGetErrors] WorkspaceGetErrors: errors=2 Project=java5
    [workspaceGetErrors] ERROR: [0].
    Type=org.eclipse.jdt.core.problem
    Line=0 Resource=\java6
    [workspaceGetErrors] ERROR: [0].. Message=The project cannot be
    built
    until build path errors are resolved
    
    Workaround:
    
    This issue has been identified as a bug and it's being tracked
    in the link below:
    
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=407656
    
    The best solution is to eliminate cyclical dependencies as it is
    not a good coding practice.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The wizard to export an Ant build file currently prevents the
    action from completing independent of the Java compiler
    preference value found in: Building ? Build path problems ?
    Circular dependencies.
    

Problem conclusion

  • The wizard to export an Ant build file will no longer prevent th
    e action from completing if the Java compiler preference Buildin
    g ? Build path problems ? Circular dependencies is set to 'Warni
    ng'.
    
    The fix for this APAR will be included in a future release of Ra
    tional Application Developer.
    

Temporary fix

Comments

  • The wizard to export an Ant build file will no longer prevent
    the action from completing if the Java compiler preference
    Building > Build path problems > Circular dependencies is set to
     'Warning'.
    
    The fix for this APAR will be included in a future release of
    Rational Application Developer.
    

APAR Information

  • APAR number

    PM89663

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    851

  • Status

    CLOSED SUG

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-23

  • Closed date

    2013-05-23

  • Last modified date

    2013-05-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSRTLW","label":"Rational Application Developer for WebSphere Software"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 May 2013