[
https://issues.jboss.org/browse/JBIDE-7913?page=com.atlassian.jira.plugin...
]
Lukas Jungmann commented on JBIDE-7913:
---------------------------------------
Hi Grid,
I think that the best we can do is:
-for sources generated by under lied tools (by wsconsume in particular) keep the behaviour
as it is now (in the other words let it overwrite code related to the WSDL, unrelated
sources will remain untouched), only try to add some warning (ie "Package x.y already
exists, some sources may be overwritten") for the case when to be generated package
is the same as some already existing package
-for ws implementation class generated by the IDE - if the to be generated class already
exists in the project ask user if he wants to regenerate it
-for entry in web.xml - if there is already related entry there either ask user if he
wants to replace it or automagically add new one of form <name>_1 (perhaps former
would be better)
What do you think?
Top-Down ws wizard overwrites all java classes containing
'@WebService(' string anywhere in the code
----------------------------------------------------------------------------------------------------
Key: JBIDE-7913
URL:
https://issues.jboss.org/browse/JBIDE-7913
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Webservices
Affects Versions: 3.2.0.Beta2
Reporter: Lukas Jungmann
Assignee: Feng Qian
Priority: Blocker
Fix For: 3.2.0.CR1
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
this came up as a result of JBIDE-7681 (see comment from 12/15/10)
-create a new Dynamic web project
-create following interface there:
package x;
import javax.jws.WebService;
@WebService()
public interface Zws {
String test();
}
-create following class there:
package x;
import javax.jws.WebService;
@WebService()
public class ZwsImpl {
public String test() {
return "Hello Dolly!";
}
}
-create some Top-Down ws there using default settings package (use default package)
-open ZwsImpl.java in the editor
=>
Current: ZwsImpl class is rewritten
Expected: the class remains untouched
Note for myself: Check this also for Bottom up case
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira