Uploaded image for project: 'FOP'
  1. FOP
  2. FOP-2386

EventProducerCollectorTask does not work when executed by antrun maven plugin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.5
    • Fix Version/s: None
    • Component/s: unqualified
    • Labels:
      None

      Description

      If using qdox 1.12.x (as currently in trunk) this is easy to fix:

      Change:
      JavaDocBuilder builder = new JavaDocBuilder(this.tagFactory);
      to:
      JavaDocBuilder builder = new JavaDocBuilder(this.tagFactory,
      new ClassLibrary(getClass().getClassLoader()));

      in EventProducerCollector#scanFile(..)

      This also resolves reported problems with alternate builds.

      I have tested this fix with the normal ant based build and a maven build (we mavenized the project)

      Ronald

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rmuller@xiam.nl Ronald Muller
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: