IBM Support

PM53960: Removal of the .apt_generated folder can causes publishing performance to be slower

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to removing the .apt_generated folder from a web
    project causes the project to become non-single root and results
    in a degradation of publishing performance to a local WebSphere
    Application Server instance.
    
    Problem:
    
    1. If Annotation processing is enabled, a Dynamic Web project
    has the folder .apt_generated added to these files:
    
    .classpath
    .settings/org.eclipse.wst.common.component
    
    2. If you delete the .apt_generated folder from the Enterprise
    Explorer or from the Project Explorer (as opposed to the
    Navigator View) then:
    - The folder is automatically re-added
    - The folder is no longer in the .classpath file
    - The folder is still in the
    .settings/org.eclipse.wst.common.component file.
    
    3. If you enable the Project Structure Validator
    (Windows?Preferences?Validation), the following warning is
    displayed:
    
    Broken single-root rule: The source path '/.apt_generated' must
    map to a Java source folder    org.eclipse.wst.common.component
    
    4. If you publish the project a local WebSphere Application
    Server, the process is slower because the project is non-single
    root.
    
    5. If you look at the Assembly and Deploy property of the
    project, the folder .apt_generated is not shown, so you cannot
    detect the mismatch between .classpath and
    .settings/org.eclipse.wst.common.component
    
    Local fix:
    
    There is no known workaround at this time.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Removing the .apt_generated folder from a web project causes
    the project to become non-single root and results in a
    degradation of publishing performance to a local WebSphere
    Application Server instance.
    

Problem conclusion

  • The folder .apt_generated now is shown in the deployment
    assembly page. Follow these steps to restore the source
    folder:
    
    1. Right-click the project and select Properties ?
    Deployment assembly.
    2. Remove the .apt_generated folder
    3. Right-click the project and select Properties ? Java
    Build Path
    4. On the Source tab, add .apt_generated to the list of
    Source folders.
    
    This issue is fixed in Rational Application Developer
    v8.0.4.1.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM53960

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    803

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-12-09

  • Closed date

    2012-05-15

  • Last modified date

    2012-05-15

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

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

Fix information

  • Fixed component name

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R803 PSN

       UP

[{"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.0.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 May 2012