Return-Path: X-Original-To: apmail-cxf-users-archive@www.apache.org Delivered-To: apmail-cxf-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DE5DF9AFC for ; Sat, 21 Jul 2012 02:52:57 +0000 (UTC) Received: (qmail 81455 invoked by uid 500); 21 Jul 2012 02:52:57 -0000 Delivered-To: apmail-cxf-users-archive@cxf.apache.org Received: (qmail 81408 invoked by uid 500); 21 Jul 2012 02:52:56 -0000 Mailing-List: contact users-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cxf.apache.org Delivered-To: mailing list users@cxf.apache.org Received: (qmail 81375 invoked by uid 99); 21 Jul 2012 02:52:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2012 02:52:55 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of r6squeegee@gmail.com designates 74.125.82.169 as permitted sender) Received: from [74.125.82.169] (HELO mail-we0-f169.google.com) (74.125.82.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jul 2012 02:52:51 +0000 Received: by weys10 with SMTP id s10so3666529wey.0 for ; Fri, 20 Jul 2012 19:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=QBqRI8cRvj18H1ADD2ezAGrI1h8q9F54wtGs8sAVb2c=; b=kzjutnJJKpA/eUEfWnVaP+VzlGQxUbCFHZ+wCb3WiG9KpFTXivo1kH6Iu3hDC6e60a lne5HAOoZNZIjWyPGoJN0xtY3aIvjjovKlgGhjRB5sZ+78vl3P4r5gwVKX91XRCAXDeh F5d/WxjeivtWiAs0eTCNSyTMO9nejwj/T5SzbIJBUfMGCnPIAABNzxpFWwejYrpXbwxL E69LdiLyOWz/SGD6cFWVzJLlrOLNmqIEoOoe1mTO/tkqlFi9DD/7tYxdJqdxuzfbU5Fl g8GFtjw0KL0aUE3UjTN4mWLT3AOvuDyipRoetpCUXDKr+ii28374ViQz8IoQxkabue9C NMUg== MIME-Version: 1.0 Received: by 10.180.105.130 with SMTP id gm2mr30801022wib.6.1342839149492; Fri, 20 Jul 2012 19:52:29 -0700 (PDT) Received: by 10.223.73.195 with HTTP; Fri, 20 Jul 2012 19:52:29 -0700 (PDT) In-Reply-To: <3277005.cJvXv4ofUb@dilbert.dankulp.com> References: <1342810699672-5711369.post@n5.nabble.com> <3277005.cJvXv4ofUb@dilbert.dankulp.com> Date: Sat, 21 Jul 2012 12:52:29 +1000 Message-ID: Subject: Re: Using wsdl2java with maven and a lot of wsdls From: Ted To: users@cxf.apache.org Content-Type: multipart/alternative; boundary=f46d044281047ef7f304c54e1a41 X-Virus-Checked: Checked by ClamAV on apache.org --f46d044281047ef7f304c54e1a41 Content-Type: text/plain; charset=ISO-8859-1 Nice, is there something similar for the HTTP version of the wsdl's? like off the service listing? I'd submitted a hack/patch for a prior version (2.4 I think) but I noticed it was no longer in there for 2.6 etc. I'd gone back to manually enumerating all the wsdl's in a shell script. On Sat, Jul 21, 2012 at 6:45 AM, Daniel Kulp wrote: > > It has an automatic scan build in. > > Just set: > > ${basedir}/path/to/wsdl/dir > > > and it will automatically run on all the wsdl files it finds there. > > Dan > > > On Friday, July 20, 2012 11:58:19 AM zmelnick wrote: > > Hi, > > > > I'm working on a project where the time it takes to build all of our > wsdls > > is currently upwards of 15 minutes. Currently the project is built using > > Ant, and I've read several places that the best way to use both cxf and > > wsdl2java is with maven. I've been trying to put together a test pom.xml > > to see if there are any performance gains that can be realized by > > switching. I'm skeptical, but optimistic. > > > > However, we have more than 100 wsdl files to build, and all of the > > documentation I can find on the cxf-codegen-plugin indicates that each > > wsdl file must be listed as a separate value. We got around this in Ant > > by using a for loop that picks the next file that ends in .wsdl inside of > > our wsdl directory. > > > > I don't want to have to list each and every single wsdl independently. Is > > there anyway to have the plugin traverse all files inside of a directory? > > > > Here is what my current pom.xml looks like: > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > http://maven.apache.org/xsd/maven-4.0.0.xsd"> > > 4.0.0 > > gov.hhs.fha.nhinc > > CommonTypesLib > > 1.0 > > jar > > > > > > CXF > > > > true > > > > > > > > > > maven-compiler-plugin > > > > 1.7 > > 1.7 > > > > > > > > org.apache.cxf > > cxf-codegen-plugin > > 2.6.0 > > > > > > > > > > ../new > > > > > > ../Interfaces/src/wsdl > > > > > > > > > -verbose > > > -client > > > > > ../Interfaces/src/wsdl/AdapterAdminDistSecured.wsdl> > > > > > > > > > > wsdl2java > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > View this message in context: > > > http://cxf.547215.n5.nabble.com/Using-wsdl2java-with-maven-and-a-lot-of-w > > sdls-tp5711369.html Sent from the cxf-user mailing list archive at > > Nabble.com. > -- > Daniel Kulp > dkulp@apache.org - http://dankulp.com/blog > Talend Community Coder - http://coders.talend.com > -- Ted. --f46d044281047ef7f304c54e1a41--