You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/08/03 07:22:52 UTC

[jira] Commented: (AXIS2-3057) Build.xml file skips some required service class files

    [ https://issues.apache.org/jira/browse/AXIS2-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12517443 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-3057:
-----------------------------------------------------

I think this is the problem

<target depends="compile.src,echo.classpath.problem" name="jar.server" if="jars.ok">
        <copy toDir="${classes}/META-INF" failonerror="false">
            <fileset dir="${resources}">
                <include name="*.xml"/>
                <include name="*.wsdl"/>
                <include name="*.xsd"/>
            </fileset>
        </copy>
        <jar destfile="${lib}/${name}.aar">
            <fileset excludes="**/Test.class" dir="${classes}"/>
        </jar>
    </target>

it excluds file names ends with Test.class since that is the default way of writting test classes. Try different name.

> Build.xml file skips some required service class files
> ------------------------------------------------------
>
>                 Key: AXIS2-3057
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3057
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.2
>            Reporter: Ronak Patel
>            Assignee: Amila Chinthaka Suriarachchi
>         Attachments: AxisExampleWrapped.zip
>
>
> I created a Test Web Service that includes three methods that take simple types so I can test out the Axis 2 framework.
> I am doing Top-Down Development (starting from WSDL and generating skeleton/stub code)
> However, I ran into several problems with the Axis 2 generated build.xml file. It seems that the compile.src task skips moving some of the resultant class files that I have placed in the build/src folder. I retried this several times with the same exact result.
> I will attach the service source code along with all deployment descripters and my resulting Service Resource file.
> You will see that Test.class is not copied to the aar file for some reason.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org