You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by David Robertson <dw...@lbl.gov> on 2009/04/30 23:43:13 UTC

how to only run wsdl2java when the WSDL changes

Is there a way to only run wsdl2java through the Maven
cxf-codegen-plugin when a WSDL file has changed, without bringing in Ant?

-David Robertson


Re: how to only run wsdl2java when the WSDL changes

Posted by Glen Mazza <gl...@gmail.com>.
I'm not sure, but I don't think I have that problem with my WSDL-first
example--maybe there's something I'm doing that you can leverage: 
http://www.jroller.com/gmazza/entry/creating_a_wsdl_first_web1 .  So long as
you're not running mvn clean, Maven should not be regenerating the JAX-WS
and JAXB artifacts.

HTH,
Glen


David Robertson-5 wrote:
> 
> Is there a way to only run wsdl2java through the Maven
> cxf-codegen-plugin when a WSDL file has changed, without bringing in Ant?
> 
> -David Robertson
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-only-run-wsdl2java-when-the-WSDL-changes-tp23324890p23380537.html
Sent from the cxf-user mailing list archive at Nabble.com.


Re: how to only run wsdl2java when the WSDL changes

Posted by Daniel Kulp <dk...@apache.org>.
On Thu April 30 2009 5:43:13 pm David Robertson wrote:
> Is there a way to only run wsdl2java through the Maven
> cxf-codegen-plugin when a WSDL file has changed, without bringing in Ant?

That's the default for "file" based wsdls where it's easy/cheap to determine 
if the wsdl has changed.

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog