axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thilo Frotscher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources
Date Tue, 19 Sep 2006 11:32:25 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12435753 ] 
            
Thilo Frotscher commented on AXIS2-663:
---------------------------------------

Eran, no the -o option is not enough. We really need a way to specify to different destinations:

1) a destination folder for the source code
2) a destination folder the resources and the build script

Otherwise, the resources and build scripts of multiple services get in each others way if
you need to generate code for multiple WSDLs in the same project.
When implementing this, please make sure the generated build scripts "know" the destination
of the source code, as it won't necessarily be in the same folder anymore!

Thanks!


> WSDL2Java: allow user to specify separate destination folders for src and resources
> -----------------------------------------------------------------------------------
>
>                 Key: AXIS2-663
>                 URL: http://issues.apache.org/jira/browse/AXIS2-663
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.0
>         Environment: Axis2 1.0 RC5
>            Reporter: Thilo Frotscher
>         Assigned To: Ajith Harshana Ranabahu
>            Priority: Blocker
>
> WSDL2Java generates source code, resources (service.xml, wsdl, xsd) and a build.xml file.
> The user can specify a destination folder for all of these files, but they all go into
the same folder.
> When generating code for more than one service, you'll generally want to have the source
code for all services in the same src-folder.
> That's why you would specify the same destination folder for all services. However, in
this causes the problem that the build.xml files 
> and the resources for all the services go into the same folder as well and interfere
with each other, or a overwritten respectively.
> Therefore, it would be great if the user could specify two separate destination folders:
one for the source code and the second one for 
> the build file and the resources. Of course, the build files would have to reflect the
new folder structure.
> Alternative suggestion: WSDL2Java could do this automatically by introducing a service-specific
folder
> under resouces:
> /resources/MyService1/service.xml
> /resources/MyService1/MyService.wsdl
> /resources/MyService1/MyService.xsd
> /resources/MyService2/service.xml
> /resources/MyService2/MyService.wsdl
> /resources/MyService2/MyService.xsd
> For the build files a similar solution could be used.

-- 
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

        

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


Mime
View raw message