Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2077

When using wsdl2java with the -db xmlbeans flag, the generated build.xml doesn't work OOTB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.4
    • 2.2, 2.0.11, 2.1.5
    • Tooling
    • None
    • 2.1.x, trunk

    Description

      When using wsdl2java with the -db xmlbeans flag, the generated build.xml is missing a classpath entry for xmlbeans schema files.

      To reproduce, in a clean directory run:

      >wsdl2java -db xmlbeans -all <wsdl>

      I had to add the following to my build.xml to pick up the generated schema files:

      <property name="home.dir" location ="."/>
      ....
      <path id="cxf.classpath">
      <pathelement location="${build.classes.dir}"/>
      <pathelement location="${cxf-manifest.jar.file}"/>
      <pathelement location="${home.dir}" />
      </path>

      Attachments

        Activity

          People

            njiang Willem Jiang
            dave_stanley Dave Stanley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: