Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-5819

classpath issue on itest-build.xml for java tasks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 1.7.4
    • Fix Version/s: None
    • Component/s: Integration
    • Labels:
      None
    • Environment:
      JDK1 8.0_45
      ANT 1.9.2
      MAVEN 3.2.5
    • Flags:
      Patch

      Description

      select any <java task from itest-build.xml and correct classpath to contain inner pathelement for
      -previously defined path e.g. maven.dependency.classpath
      -new hardcoded classpath as seen below

      <target name="rpc-wsdl-codegen">
      <echo>Running codegen RPC WSDLs - take 1</echo>
      <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
      <classpath>
      <pathelement path="${maven.dependency.classpath}" />
      <pathelement location="/Axis/2.1.7.3/modules/integration/target/classes" />
      </classpath>

      old classpath declaration threw exception but above classpath/pathelement works in ant 1.9.2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mgainty@hotmail.com Martin Gainty
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified