Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [wtp-incubator-dev] Package wizard service creation in Makefile/maven/whatever.

Hi Bruce,

>The wizard in this plugin is great for getting started, but what's the recommended method for packaging this into a build?
>I'm more comfortable with make, but if there are better ways through maven or ant that's fine too.

There is no build support at the moment. An enhancement request has been logged to provide support for ant.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=270133

And we'll look to include that in the near future. No milestone targeted yet.

>Also, how does re-running WSDL2java deal with modifications to the generated java source? I see that my changes are preserved, what are the rules here?

The modifications to the generated java source that are preserved between wsdl2java re-runs are changes to:

* The Modifiers, Extends and Implements clauses of generated classes.
* The bodies of generated methods.
* The values of generated fields.
* Changes to generated method and field modifiers.
* Any additions to the throws clause of a generated method.

Plus any new methods or fields you add yourself.

If you delete or re-name a generated field or method and re-run wsdl2java that generated field or method will be added back in.

Changes that ARE over written.
* Removal of a generated import statement.
* Changes to a methods return type.
* Any change to a generated annotation or one of it's member value pairs.
* Changes to the generated comments in the source.

Thanks,
Shane


Date: Tue, 21 Apr 2009 07:52:08 -0700
From: bruce.edge@xxxxxxxxx
To: wtp-incubator-dev@xxxxxxxxxxx
Subject: [wtp-incubator-dev] Package wizard service creation in Makefile/maven/whatever.

The wizard in this plugin is great for getting started, but what's the recommended method for packaging this into a build?
I'm more comfortable with make, but if there are better ways through maven or ant that's fine too.

Also, how does re-running WSDL2java deal with modifications to the generated java source? I see that my changes are preserved, what are the rules here?

Thanks, Bruce



Get the next generation of Free Windows Live Services Click here!

Back to the top