You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by "Ronald Muller (JIRA)" <ji...@apache.org> on 2014/06/11 15:19:04 UTC

[jira] [Created] (FOP-2386) EventProducerCollectorTask does not work when executed by antrun maven plugin

Ronald Muller created FOP-2386:
----------------------------------

             Summary: EventProducerCollectorTask does not work when executed by antrun maven plugin
                 Key: FOP-2386
                 URL: https://issues.apache.org/jira/browse/FOP-2386
             Project: Fop
          Issue Type: Bug
          Components: unqualified
    Affects Versions: trunk
            Reporter: Ronald Muller


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



--
This message was sent by Atlassian JIRA
(v6.2#6252)