wsgen ant task <-> preferences [message #224816] |
Mon, 08 December 2008 22:06 |
Eclipse User |
|
|
|
Originally posted by: mail.volker-wegert.de
Hello,
I don't know whether this is a bug, so I'd like to get some opinions
before reporting it as one... When using the Ant tasks to generate web
service implementation classes, the wsgen or WSDL2Java utility uses the
flags set in the preferences (Web Services --> Axis Emitter). This can
lead to strange issues if people forget to set these preferences
correctly, especially since you can't check these settings into a SCM
repository. IMHO these options should be available from the properties
file. What do you think?
Thanks
Volker
--
* Volker Wegert * http://www.volker-wegert.de/contact *
This is the Time Travelling Agency's answering machine. We're closed right now
but leave a message before the beep and we might have called you back.
|
|
|
|
Re: wsgen ant task <-> preferences [message #227862 is a reply to message #225246] |
Sun, 15 February 2009 19:57 |
Eclipse User |
|
|
|
Originally posted by: mail.volker-wegert.de
ericdp@ca.ibm.com (Eric D. Peters) writes:
> Volker Wegert wrote:
>> I don't know whether this is a bug, so I'd like to get some opinions
>> before reporting it as one... When using the Ant tasks to generate web
>> service implementation classes, the wsgen or WSDL2Java utility uses the
>> flags set in the preferences (Web Services --> Axis Emitter). This can
>> lead to strange issues if people forget to set these preferences
>> correctly, especially since you can't check these settings into a SCM
>> repository. IMHO these options should be available from the properties
>> file. What do you think?
> Regarding the lack of setting these preferences in the web service wizards &
> ANT tasks property files... this is by design- we don't expect many users
> would want to change these on a per-web-service or per-web-service-client
> basis, but rather most commonly users would set these preferences at the
> workspace level then use them for several runs of Web Service creation (via
> wizards or ANT tasks).
Agreed. The problem is, if someone checks out a project from a
repository into a fresh workspace and then executes the ant build
without adjusting the settings, bad things will happen...
> The web service wizard is (arguably) very fat in terms
> of being able to (re)define a non-default web services preferences, so we've
> chosen to not expose those preferences that users would not typically change
> on a per-web-service or per-web-service-client basis.
Personally, I think that's a bad idea in this case because it makes an
automated task dependent on some values that are set somewhere else, far
off the mental map.
Volker
|
|
|
Powered by
FUDForum. Page generated in 0.03392 seconds