Return-Path: Delivered-To: apmail-ws-axis-c-user-archive@www.apache.org Received: (qmail 31850 invoked from network); 14 Feb 2008 06:48:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2008 06:48:38 -0000 Received: (qmail 4495 invoked by uid 500); 14 Feb 2008 06:48:31 -0000 Delivered-To: apmail-ws-axis-c-user-archive@ws.apache.org Received: (qmail 4480 invoked by uid 500); 14 Feb 2008 06:48:31 -0000 Mailing-List: contact axis-c-user-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C User List" Reply-To: "Apache AXIS C User List" Delivered-To: mailing list axis-c-user@ws.apache.org Received: (qmail 4469 invoked by uid 99); 14 Feb 2008 06:48:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 22:48:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.68.4.129] (HELO wbm7.pair.net) (209.68.4.129) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 06:47:57 +0000 Received: by wbm7.pair.net (Postfix, from userid 65534) id A914F10558; Thu, 14 Feb 2008 01:48:04 -0500 (EST) Received: from 124.43.219.2 ([124.43.219.2]) (SquirrelMail authenticated user senaka@wso2.com) by webmail7.pair.com with HTTP; Thu, 14 Feb 2008 01:48:04 -0500 (EST) Message-ID: <3305.124.43.219.2.1202971684.squirrel@webmail7.pair.com> In-Reply-To: <1202962051.7259.0.camel@lahiru-desktop> References: <47B3811E.80609@9elements.com> <1202962051.7259.0.camel@lahiru-desktop> Date: Thu, 14 Feb 2008 01:48:04 -0500 (EST) Subject: Re: speed up build process From: "Senaka Fernando" To: "Apache AXIS C User List" Reply-To: senaka@wso2.com User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20080214014804_29596" X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org ------=_20080214014804_29596 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi Lahiru and Mark, I'm attaching here with the two files (batch files required to build the skeleton and the stub. With some minor modifications (changing the name of the exe and dll made), I believe we can use this to generate code. What we could do is just generate these file using another script, like the one Lahiru is working on. Regards, Senaka > +1 for your ideas. > > But i'm using a script which create the service and client code and > compile both and deploy the service and run the client.But that is for > Linux.With the script we only have to give the wsdl file name as a > parameter and it does every thing.But it won't work with windows.If we > use nmake to build the service and client it would be possible thing to > write a shell script in Windows too. > > Regs > Lahiru > > On Thu, 2008-02-14 at 00:45 +0100, Mark Nüßler wrote: >> hello users, >> >> not long ago there was a thread "Questions/suggestions on WSDL2C" >> with the idea to have some improvements with building projects >> from the generated files. >> >> at this moment i hadn't a lot of time, but maybe now. >> i want to pick up these thoughts and discuss a possible >> process which can help to speed up development with axis2c. >> >> it was asked if there is something that generates >> a main method to test the code and somthing that >> generates makefiles for server and client. >> >> i think nearly everybody here who created a sevice not only once, >> goes through his personal same steps over and over again, >> to create a running project - waste of time ? >> >> what "we" have ? nearly nothing :-( >> the java project has an ant-build script, even when >> i personally didn't use it, it is helpfull. >> >> Dimuthu has an ruby script, that can generate a main method >> to run the client [1]. >> >> i have a skript that can't build makefiles, but vs-studio >> files [2]. >> >> ok, so fare, what i want you to tell me is, >> want are your personal steps, when you want >> to implement a service from a wsdl file ? >> >> lets take the well known [3] wsdl file >> >> my personal steps are : >> >> 1. have a batch file that generates client and server code in >> different folders >> >> 2. generate with [2] the vs files >> >> 3. create a vs-studio-project for the client by hand and >> also implement same basic logic for the main by hand >> >> k, this is windows specific, but the idea behind my generator >> could be used for other stuff as well >> >> the idea : >> >> have a generator that can read an >> input-file that holds some values needed for output, >> e.g path variables for include files. the generators >> logic is nothing more than first traverse the source-folders >> and gathering information and second to replace some >> marks in template files with this information - nothing >> more. >> >> i think with the input information and a simple >> replacement engine any kind of make-files or ide >> specific files can be done!? >> >> i tried to write a makefile for servercode [3], >> but i failed - i am not very familiar with this ... >> maybe someone can send me one for nmake ? >> >> k, somethink to think about >> >> 1. does anybody really needs this kind of generator, >> is it helpfull or just waste of time when i think >> of this ? >> >> 2. with what kind of languages the genearator should >> work, so that win and linux users profit ? >> --> i would prefer java, everyone has cause of wsdl2java >> >> 3. what exactly are the requirements, want would we exspect >> from this kind of tool ? >> >> >> i would be grateful to hear about your thoughts, >> maybe you can give me an imagination how you work. >> >> mfg derMark >> >> >> [1] http://people.apache.org/~dimuthu/leisure/23_oct/generate_demos.rb >> [2] www.9elements.com/dermark/axis2_vs_gen.zip >> [3] \test\resources\wsdl\Calculator.wsdl >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org >> For additional commands, e-mail: axis-c-user-help@ws.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org > For additional commands, e-mail: axis-c-user-help@ws.apache.org > > ------=_20080214014804_29596 Content-Type: application/octet-stream; name="build.bat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="build.bat" QGVjaG8gb2ZmDQoNCkBjbC5leGUgL0QgIldJTjMyIiAvRCAiX1dJTkRPV1MiIC9EICJfTUJDUyIg L0QgIkFYSVMyX0RFQ0xBUkVfRVhQT1JUIiAvRCAiQVhJUzJfU1ZSX01VTFRJX1RIUkVBREVEIiAv dyAvbm9sb2dvIC9JICAlQVhJUzJDX0hPTUUlXGluY2x1ZGUgL2MgKi5jDQoNCkBsaW5rLmV4ZSAv bm9sb2dvIC9MSUJQQVRIOiVBWElTMkNfSE9NRSVcbGliIGF4dXRpbC5saWIgYXhpb20ubGliIGF4 aXMyX3BhcnNlci5saWIgYXhpczJfZW5naW5lLmxpYiAvRExMIC9PVVQ6QmFzZURhdGFUeXBlc0Rv Y0xpdFdTZXJ2aWNlLmRsbCAqLm9iag0KDQpAaWYgZXhpc3QgIiVBWElTMkNfSE9NRSVcc2Vydmlj ZXNcQmFzZURhdGFUeXBlc0RvY0xpdFdTZXJ2aWNlIiBybWRpciAvcyAvcSAiJUFYSVMyQ19IT01F JVxzZXJ2aWNlc1xCYXNlRGF0YVR5cGVzRG9jTGl0V1NlcnZpY2UiDQoNCkBta2RpciAiJUFYSVMy Q19IT01FJVxzZXJ2aWNlc1xCYXNlRGF0YVR5cGVzRG9jTGl0V1NlcnZpY2UiDQoNCkBjb3B5IHNl cnZpY2VzLnhtbCAiJUFYSVMyQ19IT01FJVxzZXJ2aWNlc1xCYXNlRGF0YVR5cGVzRG9jTGl0V1Nl cnZpY2VcIg0KDQpAY29weSBCYXNlRGF0YVR5cGVzRG9jTGl0V1NlcnZpY2UuZGxsICIlQVhJUzJD X0hPTUUlXHNlcnZpY2VzXEJhc2VEYXRhVHlwZXNEb2NMaXRXU2VydmljZVwiDQoNCkBlY2hvIG9u ------=_20080214014804_29596 Content-Type: application/octet-stream; name="build.bat" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="build.bat" QGVjaG8gb2ZmDQoNCkBjbC5leGUgL25vbG9nbyAvRCAiV0lOMzIiIC9EICJfV0lORE9XUyIgL0Qg Il9NQkNTIiAvSSAlQVhJUzJDX0hPTUUlXGluY2x1ZGUgL2MgKi5jDQoNCkBsaW5rLmV4ZSAvTElC UEFUSDolQVhJUzJDX0hPTUUlXGxpYiBheHV0aWwubGliIGF4aW9tLmxpYiBheGlzMl9wYXJzZXIu bGliIGF4aXMyX2VuZ2luZS5saWIgL09VVDpCYXNlRGF0YVR5cGVzRG9jTGl0V1NlcnZpY2UuZXhl ICoub2JqDQoNCkBlY2hvIG9u ------=_20080214014804_29596 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-user-help@ws.apache.org ------=_20080214014804_29596--