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 "Thilo Frotscher (JIRA)" <ji...@apache.org> on 2006/05/04 04:08:17 UTC

[jira] Created: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

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)
        Type: Improvement

  Components: Tools  
    Versions: 1.0    
 Environment: Axis2 1.0 RC5
    Reporter: Thilo Frotscher


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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12436167 ] 
            
Eran Chinthaka commented on AXIS2-663:
--------------------------------------

Thilo,

Ok, now I understand the problem. But I don't think this is blocker for Axis2. This can be a feature enhancement issue. At the same time we are in the process of releasing Axis2 1.1. So we prefer not to implement new features, if it is not blocking the issue. But yes, if you can contribute we are happy to put this into this release. Else I prefer if we can reduce the priority of this issue. 

> 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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12437263 ] 
            
Ajith Harshana Ranabahu commented on AXIS2-663:
-----------------------------------------------

Fixed in the latest revision - I'll mark it as resolved after adding a couple of test cases

> 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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Derek Foster (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12434584 ] 
            
Derek Foster commented on AXIS2-663:
------------------------------------

I have run into this problem too. It is really frustrating.

Suppose I have services Service1 and Service2. They both include the same XML schema file, Schema1, as well as some other schemas that are individual to each service.

Now I run WSDL2Java on each, and put the output in Output1 and Output2 respectively.

Now I have two copies of Schema1's files, including generated .java files: one in Output1 and one in Output2. This causes my IDE and compiler to complain that there are two duplicate copies of each of the Java classes in Schema1 if I try to include these both into the same project or compilation unit.

On the other hand, if I try to have the output generated into the same directory for both services, the Java classes work OK. (Identical source files overwrite each other when WSDL2Java runs, but that is fine). However, the .wsdl and .xsb and build.xml and so forth files overwrite each other in some cases, so when I try to use the Java files for one service, it may crash because it was expecting to find it's own files, but is finding the other services' instead.

As a workaround, I tried using the namespace2package option to remap each schema into its own directory, so that the classes from the two services which share the same schema are placed in different directories and packages. This works... sort of... but it means that if I have a particular element type in the schema named, say, MyElement, that I now have two different classes named MyElement, in different packages, and therefore if I wish to write a utility routine that is shared by both services and which takes a parameter of type MyElement, I can't do it: What was supposed to be one type is now two.

The -o option really isn't enough. There really needs to be a way to cause source code for identical schemas in multiple services to be shared (when the same schema is used in multiple services), while allowing the data files to be distinct.


> 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


[jira] Resolved: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-663?page=all ]

Davanum Srinivas resolved AXIS2-663.
------------------------------------

    Resolution: Fixed

Looks like Ajith fixed this one:
http://svn.apache.org/viewvc?view=rev&revision=449519

Thilo,
could you please give it a whirl?

thanks,
dims

> 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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Thilo Frotscher (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12377806 ] 

Thilo Frotscher commented on AXIS2-663:
---------------------------------------

Exactly that's the problem...that WSDL2Java generates code with only a single service in mind. The problem arises, when you have to use WSDL2Java more than once in the same project. It happens quite often that you want to implement more than one service in the same project (or clients for more than one service in the same project).
In this case, you would run WSDL2Java several times, and then the generated files overwrite each other. That's why it would be great to have the ability to separate the results of multiple WSDL2Java calls from each other.

> 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)
>         Type: Improvement

>   Components: Tools
>     Versions: 1.0
>  Environment: Axis2 1.0 RC5
>     Reporter: Thilo Frotscher

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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12433906 ] 
            
Eran Chinthaka commented on AXIS2-663:
--------------------------------------

Thilo, isn't -o option enough for you?

> 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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Thilo Frotscher (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Assigned: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-663?page=all ]

Deepal Jayasinghe reassigned AXIS2-663:
---------------------------------------

    Assign To: Ajith Harshana Ranabahu

> 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)
>         Type: Improvement

>   Components: Tools
>     Versions: 1.0
>  Environment: Axis2 1.0 RC5
>     Reporter: Thilo Frotscher
>     Assignee: Ajith Harshana Ranabahu

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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12438417 ] 
            
Eran Chinthaka commented on AXIS2-663:
--------------------------------------

Thilo, 

Done !!

> 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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Thilo Frotscher (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12436247 ] 
            
Thilo Frotscher commented on AXIS2-663:
---------------------------------------

Eran,

this JIRA was not set to "Blocker" by me :-) I believe it was Dims after I sent an email a few weeks ago asking to fix this for 1.1
You're right, I wouldn't call it a blocker either. But I think all JIRAs that were supposed to be fixed for 1.1 were set to "Blocker" by Dims.

Anyway,  the current behaviour is quite annoying because it requires a lot of manual folder movement and renaming in an application project. Thus it would be great to have it fixed in the new release and I think it can probably be implemented rather quickly. The same applies to one or two other JIRAs. I understand that you're in the process of creating a new release. But I also believe that it's always better to release software a few days later than announced, but with all important issues fixed, instead of releasing on time and the software contains annoying issues. After all, it's your decision of course :-)

I'd be happy to contribute but I am very busy at the moment. Until when would you need the fix to make sure it goes into 1.1?




> 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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Thilo Frotscher (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12438412 ] 
            
Thilo Frotscher commented on AXIS2-663:
---------------------------------------

Looks great! Just one thing: can you please add the new command line options to the usage information of WSDL2Java, i.e. what appears on the screen when executing "wsdl2java -?"


> 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


[jira] Commented: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-663?page=comments#action_12377717 ] 

Ajith Harshana Ranabahu commented on AXIS2-663:
-----------------------------------------------

Good suggession. But our WSDL2Java tool always generates code for a single service so I'm not sure how useful this would be at this stage! Anyway this is post 1.0

> 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)
>         Type: Improvement

>   Components: Tools
>     Versions: 1.0
>  Environment: Axis2 1.0 RC5
>     Reporter: Thilo Frotscher

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


[jira] Updated: (AXIS2-663) WSDL2Java: allow user to specify separate destination folders for src and resources

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-663?page=all ]

Davanum Srinivas updated AXIS2-663:
-----------------------------------

    Priority: Blocker  (was: Major)

> 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