cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Vest Hansen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-928) wsdl2java should not overwrite existing files
Date Wed, 22 Aug 2007 07:36:34 GMT

    [ https://issues.apache.org/jira/browse/CXF-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521722
] 

Christian Vest Hansen commented on CXF-928:
-------------------------------------------

I am very well aware that only regenerating some of the files will
result in an uncompilable source.

But imagine this scenrio: I add a new operation to my WSDL and
possibly new types aswell.
What I tend to do is to delete the interface file but leave the ..Impl
class intact. When I regenerate the interface file, my Impl class no
longer lives up to the contract of the interface - thus it wont
compile. However, this is quickly fixed with an "add unimplemented
methods" operation in eclipse (I'm sure other IDEs have similar
functionality).
Even if I changed the signature of an existing operation, I will still
have the old implementation around so I can copy what I need from it.





-- 
Venlig hilsen / Kind regards,
Christian Vest Hansen.


> wsdl2java should not overwrite existing files
> ---------------------------------------------
>
>                 Key: CXF-928
>                 URL: https://issues.apache.org/jira/browse/CXF-928
>             Project: CXF
>          Issue Type: Improvement
>          Components: Tooling
>    Affects Versions: 2.0.1
>            Reporter: Christian Vest Hansen
>
> wsdl2java, and other code generating tools should not overwrite existing files on a users
system.
> Instead, they should warn a user when they decide not to overwrite a file.

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


Mime
View raw message