axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] [Created] (AXIS-2877) wsdl2java ant task fails to load custom GeneratorFactory from <classpath>
Date Wed, 19 Sep 2012 19:08:08 GMT
Andreas Veithen created AXIS-2877:

             Summary: wsdl2java ant task fails to load custom GeneratorFactory from <classpath>
                 Key: AXIS-2877
             Project: Axis
          Issue Type: Bug
          Components: WSDL processing
    Affects Versions: 1.4
            Reporter: Andreas Veithen
            Assignee: Andreas Veithen
            Priority: Minor
             Fix For: 1.4.1

The wsdl2java ant task fails to load a custom GeneratorFactory (specified using the "factory"
attribute) from the class path specified using a nested <classpath> element. This is
caused by the following code in Wsdl2javaAntTask:

            if (factory != null) {
            if (classpath != null) {
                AntClassLoader cl = new AntClassLoader(
                log("Using CLASSPATH " + cl.getClasspath(),

Axis attempts to load the custom GeneratorFactory in the Emitter#setFactory method, but the
class loader (for the nested <classpath> element) is only set up later.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message