Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15915 Large-scale refactor to split major functionality into clear systems with public API
  3. JBIDE-16171

Separation of module filters and traversing a publish tree for copy / rm / mkdir / etc

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • 4.2.0.Alpha2
    • 4.2.0.Alpha1
    • server
    • None

    Description

      The current code in charge of traversing a module tree or its delta for publish suffers from many problems:

      1) The class name is vague and not informative (PublishCopyUtil)
      2) It suffers from an inconsistant api (was designed stateless, became stateful, but not fully converted)
      3) It suffers from overlapping concerns (filtering and determining if module requires restart are intertwined in this logic)

      These systems need to be broken apart. The scope of this jira is to create new runners (for incremental or full publish) without reference to IModulePathFilter, and to enhance the interface for IModulePathFilter to be able to provide clean deltas.

      Test cases for all should be provided.

      Attachments

        Activity

          People

            rob.stryker Rob Stryker (Inactive)
            rob.stryker Rob Stryker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: