[ http://issues.apache.org/jira/browse/AXIS2-628?page=all ]
     
Davanum Srinivas resolved AXIS2-628:
------------------------------------

    Resolution: Fixed

already done :)

http://marc.theaimsgroup.com/?l=axis-dev&m=114607448824947&w=2

thanks,
dims

> Generated build.xml doesn't include .xsd files in .aar
> ------------------------------------------------------
>
>          Key: AXIS2-628
>          URL: http://issues.apache.org/jira/browse/AXIS2-628
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: deployment
>     Versions: 1.0
>     Reporter: Thilo Frotscher

>
> WSDL2Java generates a build.xml file which can be used to package the service 
> in an .aar file.
> The corresponding ant task "jar.server" does only include .wsdl files and 
> .xml files into the service archive.
> However, if the WSDL imports external xsd-files, these must be included in 
> the aar-file as well.
> Otherwise axis2 throws exceptions when the aar file is dropped into the 
> services folder.
> Thus, one line should be added to the ant task:
>       <target name="jar.server" depends="compile.src,echo.classpath.problem" 
> if="jars.ok">
>               <copy toDir="${classes}/META-INF">
>                       <fileset dir="${resources}">
>                               <include name="*.xml"/>
>                               <include name="*.wsdl"/>
>                               <include name="*.xsd"/>             <!-- this 
> line must be added -->
>                       </fileset>
>               </copy>
>               <jar destfile="${lib}/${name}.aar">
>                       <fileset excludes="**/Test.class" dir="${classes}"/>
>               </jar>
>       </target>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to