[ 
https://issues.apache.org/jira/browse/AXIS2-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen resolved AXIS2-5819.
------------------------------------
    Resolution: Invalid

itest-build.xml is used by the Maven build (via maven-antrun-plugin). It is not 
meant to be executed directly using Ant.

> classpath issue on itest-build.xml for java tasks
> -------------------------------------------------
>
>                 Key: AXIS2-5819
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5819
>             Project: Axis2
>          Issue Type: Bug
>          Components: Integration
>    Affects Versions: 1.7.4
>         Environment: JDK1 8.0_45
> ANT 1.9.2
> MAVEN 3.2.5
>            Reporter: Martin Gainty
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@axis.apache.org
For additional commands, e-mail: java-dev-h...@axis.apache.org

Reply via email to