Re: speed up build process

2008-02-18 Thread Lahiru Gunathilake
Hi Dave,
Now on Linux when we generate the C code(server side code)from  WSDL2C
script it generate a build.sh file which is  capable of compiling and
creating the library file.
With -o and -S parameters it works fine and build the library file.
Now i'm checking on doing the same thing with your script and i test it
with VS2005 it generate a VS project but i couldn't open the project.It
tells Project Load Failed due to an error in vcproj file.If i have to do
any modifications please let me know.
Any thoughts...


Regs
lahiru

On Mon, 2008-02-18 at 07:51 +0530, Dimuthu Gamage wrote:
 Hi Mark,
 You seems working on a nightly build on Nov, 12. We have done one or
 two API changes since then,
 
 e.g.
 
 there axis2_stub_Calculator_create is replaced with
 axis2_stub_create_Calculator,
 axis2_stub_Calculator_div is replaced with axis2_stub_op_Calculator_div
 
 you will be able to generate sample codes for both stub and skel from
 the older version[1]..
 
 But it is really recommended to move to the new API, since it has some
 bug fixes, so better to work with the new snapshot[2]
 
 This doesn't affect to generated server side code. The sample logic
 for the WSDL will be in axis2_skel_Calculator2.c.
 
 
 [1] http://people.apache.org/~dimuthu/leisure/23_oct/old/generate_demos.rb
 [2] http://people.apache.org/dist/axis2/nightly/
 
 
 Thanks
 Dimuthu
 
 
 On Feb 18, 2008 5:07 AM, Mark Nüßler [EMAIL PROTECTED] wrote:
  hello users,
 
  k, i am able to generate makefiles on the fly
  next step for me is to understand what [1] does.
 
  i can't read ruby, but i think i know what the skript
  should do. when i start the skript in a folder, where
  all files from adb Calculator are (with stub or with skel)
  i only get an nearly empty demo.c the logic is missing.
 
  i tried to figure out, if the skript needs some parameters,
  but in my simple understanding the skript does this
  automatically.
 
  question, who can generate the demo.c files for both folders
  at [2], so i can try to buid this in java ?
 
  mfg derMark
 
 
  [1] http://people.apache.org/~dimuthu/leisure/23_oct/generate_demos.rb
  [2] http://www.9elements.com/dermark/Calculator__current.zip
 
  Samisa Abeysinghe schrieb:
 
   Dimuthu Gamage wrote:
   1. does anybody really needs this kind of generator,
   is it helpfull or just waste of time when i think
   of this ?
  
  
   Yea definitely.  we have to provide build scripts for at least both
   linux and windows.
  
  
   +1.
  
  
   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
  
  
   I too prefer to integrate this to WSDL2Java tool itself. Unfortunately
   we right now can't ask for an option to decide the OS.  Because
   WSDL2Java tool dosn't have an interface for C code generation to add
   it s custom options, and java guys will not like to add a common
   option that will not relevant to them.
  
   So I think the best option is to put in the axis2/c distribution, BUt
   if it is a Java thing, I don't like to put it in a C distribution.
  
  
   Can we not just generate a build.bat and a build.sh by default whenever
   we generated code?
  
  
   3. what exactly are the requirements, want would we exspect
   from this kind of tool ?
  
  
  
   1. Generate build Scripts (both in linux and windows)
   2. Generate some sample client, i.e. with some demonstration logic
   3. Generate server.
   4. Generate test case(s)
  
  
   +1.
  
   Samisa...
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



problem building debug version of Axis2/C on Win32

2008-02-18 Thread Carl Lefrançois
Hello group,
I ran into a configuration problem when building the debug version of
Axis2/C under Win32 Visual C 6.0 after setting DEBUG=1 on line 30 of
\axis2c\build\win32\configure.in

attempting nmake install with this configuration gives a LNK1146 error no
argument specified with option /INCREMENTAL


line 180 of file \axis2c\build\win32\makefile reads:
LDFLAGS = $(LDFLAGS) /DEBUG /INCREMENTAL

in the msdn documentation I found
(link: http://msdn2.microsoft.com/en-us/library/4khtbfyf(vs.80).aspx )
/INCREMENTAL is implied when /DEBUG is specified.

so I removed /INCREMENTAL from line 180 of the makefile and now the nmake
finishes.

Hope this helps


Re: problem building debug version of Axis2/C on Win32

2008-02-18 Thread Senaka Fernando
Hi Carl,

This is fixed on the svn head, under the revision 616848, Wed Jan 30
19:13:51 2008 UTC.

Regards,
Senaka

 Hello group,
 I ran into a configuration problem when building the debug version of
 Axis2/C under Win32 Visual C 6.0 after setting DEBUG=1 on line 30 of
 \axis2c\build\win32\configure.in

 attempting nmake install with this configuration gives a LNK1146 error no
 argument specified with option /INCREMENTAL


 line 180 of file \axis2c\build\win32\makefile reads:
 LDFLAGS = $(LDFLAGS) /DEBUG /INCREMENTAL

 in the msdn documentation I found
 (link: http://msdn2.microsoft.com/en-us/library/4khtbfyf(vs.80).aspx )
 /INCREMENTAL is implied when /DEBUG is specified.

 so I removed /INCREMENTAL from line 180 of the makefile and now the nmake
 finishes.

 Hope this helps



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [AXIS2C] Need IIS 6 instructions on how to set up Axis2/C

2008-02-18 Thread Dave Meier
Hi Supun,

Have you had a chance to look into this?

Thanks,

-Dave. 

-Original Message-
From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 03, 2008 8:44 PM
To: Apache AXIS C User List
Subject: Re: [AXIS2C] Need IIS 6 instructions on how to set up Axis2/C

Hi Dave,

The instructions are same for the IIS 5 and IIS 6. At the moment IIS
module doesn't differentiate between IIS 6 and IIS 5.

IIS module is built as a filter and an extension. This is the best way
to do this in IIS 5. But in IIS 6 filters may be instantiated multiple
times. That means multiple instances of Axis2/C. The same problem
existed with Apache server and I think now it is fixed for Apache in
Linux.

There is another way that we can do this in IIS 6. In IIS 6 we can drop
the filter part completely and use an extension only. But last time I
checked on this there were several problems like multiple instances, how
URL dispatching works etc. As soon as possible I will look in to this
again and see if the module can be done in a IIS 6 specific way.

Regards,
Supun.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


**
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. Any 
unauthorized review, use, disclosure or distribution is prohibited. If you are 
not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. 
**


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



iconv version mismatch

2008-02-18 Thread Carl Lefrançois
In the axis2c\build\win32\configure.in file, the following line indicates
that iconv version 1.9.2 is expected.

ICONV_BIN_DIR = E:\iconv-1.9.2.win32

however the rest of the documentation refers to iconv version 1.9.1.

Which iconv version is the right one?

build works fine with either version, but I am get an access violation on
launch of axis2_http_server.exe in both cases.  This problem may be
unrelated however so I will continue troubleshooting.


Re: iconv version mismatch

2008-02-18 Thread Mark Nüßler

hello carl,

i build with 1.92 (5 minutes ago, like always)
no prob with building and running axis2_http_server.exe

i use winxp, vs-2005-exp

mfg derMark


Carl Lefrançois schrieb:

In the axis2c\build\win32\configure.in file, the following line indicates
that iconv version 1.9.2 is expected.

ICONV_BIN_DIR = E:\iconv-1.9.2.win32

however the rest of the documentation refers to iconv version 1.9.1.

Which iconv version is the right one?

build works fine with either version, but I am get an access violation on
launch of axis2_http_server.exe in both cases.  This problem may be
unrelated however so I will continue troubleshooting.





No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.7/1286 - Release Date: 18.02.2008 18:49


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: speed up build process

2008-02-18 Thread Mark Nüßler

hello Lahiru,

can you send me the generated files ? i will have a look,
what went wrong. did you put all generted files in one folder
or with a 'scr' subfolder ?

mfg derMark


Lahiru Gunathilake schrieb:

Hi Dave,
Now on Linux when we generate the C code(server side code)from  WSDL2C
script it generate a build.sh file which is  capable of compiling and
creating the library file.
With -o and -S parameters it works fine and build the library file.
Now i'm checking on doing the same thing with your script and i test it
with VS2005 it generate a VS project but i couldn't open the project.It
tells Project Load Failed due to an error in vcproj file.If i have to do
any modifications please let me know.
Any thoughts...


Regs
lahiru

On Mon, 2008-02-18 at 07:51 +0530, Dimuthu Gamage wrote:

Hi Mark,
You seems working on a nightly build on Nov, 12. We have done one or
two API changes since then,

e.g.

there axis2_stub_Calculator_create is replaced with
axis2_stub_create_Calculator,
axis2_stub_Calculator_div is replaced with axis2_stub_op_Calculator_div

you will be able to generate sample codes for both stub and skel from
the older version[1]..

But it is really recommended to move to the new API, since it has some
bug fixes, so better to work with the new snapshot[2]

This doesn't affect to generated server side code. The sample logic
for the WSDL will be in axis2_skel_Calculator2.c.


[1] http://people.apache.org/~dimuthu/leisure/23_oct/old/generate_demos.rb
[2] http://people.apache.org/dist/axis2/nightly/


Thanks
Dimuthu


On Feb 18, 2008 5:07 AM, Mark Nüßler [EMAIL PROTECTED] wrote:

hello users,

k, i am able to generate makefiles on the fly
next step for me is to understand what [1] does.

i can't read ruby, but i think i know what the skript
should do. when i start the skript in a folder, where
all files from adb Calculator are (with stub or with skel)
i only get an nearly empty demo.c the logic is missing.

i tried to figure out, if the skript needs some parameters,
but in my simple understanding the skript does this
automatically.

question, who can generate the demo.c files for both folders
at [2], so i can try to buid this in java ?

mfg derMark


[1] http://people.apache.org/~dimuthu/leisure/23_oct/generate_demos.rb
[2] http://www.9elements.com/dermark/Calculator__current.zip

Samisa Abeysinghe schrieb:


Dimuthu Gamage wrote:

1. does anybody really needs this kind of generator,
is it helpfull or just waste of time when i think
of this ?


Yea definitely.  we have to provide build scripts for at least both
linux and windows.


+1.


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


I too prefer to integrate this to WSDL2Java tool itself. Unfortunately
we right now can't ask for an option to decide the OS.  Because
WSDL2Java tool dosn't have an interface for C code generation to add
it s custom options, and java guys will not like to add a common
option that will not relevant to them.

So I think the best option is to put in the axis2/c distribution, BUt
if it is a Java thing, I don't like to put it in a C distribution.


Can we not just generate a build.bat and a build.sh by default whenever
we generated code?



3. what exactly are the requirements, want would we exspect
from this kind of tool ?



1. Generate build Scripts (both in linux and windows)
2. Generate some sample client, i.e. with some demonstration logic
3. Generate server.
4. Generate test case(s)


+1.

Samisa...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: iconv version mismatch

2008-02-18 Thread Samisa Abeysinghe

Carl Lefrançois wrote:
In the axis2c\build\win32\configure.in file, the following line 
indicates that iconv version 1.9.2 is expected.


ICONV_BIN_DIR = E:\iconv-1.9.2.win32

however the rest of the documentation refers to iconv version 1.9.1.

Which iconv version is the right one?

build works fine with either version, but I am get an access violation 
on launch of axis2_http_server.exe in both cases.  This problem may be 
unrelated however so I will continue troubleshooting.


As Mark has mentioned, it works with 1.9.2. It is a bug in the docs to 
mix up the versions. Please raise a Jira on that.


Access violation is unrelated to this. It could probably be due to lib 
issues. Please double check the setting such as dlls on the PATH. If 
nothing seems to work, clean up the current build and try rebuilding.


Samisa...


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: speed up build process

2008-02-18 Thread Lahiru Gunathilake
Hi dave,
This is what i have done and i have attached the generated code and VS
project.
Simply run your script by giving one the first argument as the wsdl
path.Then it generated those attached files.Please have a look and tell
me what went wrong.
I'm attaching the wsdl i've used to test the script.Yesterday it created
a VS project file in server code i checked today but now it gives some
Exceptions with java code generation then it is unable to create a vc
project.I'm trying to remove java code generation from your script once
i'll be able to generate the VS project file i'll send you those files
too.In this Archive there's no vcproj file in server code.

Regards
Lahiru

On Mon, 2008-02-18 at 23:37 +0100, Mark Nüßler wrote:
 hello Lahiru,
 
 can you send me the generated files ? i will have a look,
 what went wrong. did you put all generted files in one folder
 or with a 'scr' subfolder ?
 
 mfg derMark
 
 
 Lahiru Gunathilake schrieb:
  Hi Dave,
  Now on Linux when we generate the C code(server side code)from  WSDL2C
  script it generate a build.sh file which is  capable of compiling and
  creating the library file.
  With -o and -S parameters it works fine and build the library file.
  Now i'm checking on doing the same thing with your script and i test it
  with VS2005 it generate a VS project but i couldn't open the project.It
  tells Project Load Failed due to an error in vcproj file.If i have to do
  any modifications please let me know.
  Any thoughts...
  
  
  Regs
  lahiru
  
  On Mon, 2008-02-18 at 07:51 +0530, Dimuthu Gamage wrote:
  Hi Mark,
  You seems working on a nightly build on Nov, 12. We have done one or
  two API changes since then,
 
  e.g.
 
  there axis2_stub_Calculator_create is replaced with
  axis2_stub_create_Calculator,
  axis2_stub_Calculator_div is replaced with axis2_stub_op_Calculator_div
 
  you will be able to generate sample codes for both stub and skel from
  the older version[1]..
 
  But it is really recommended to move to the new API, since it has some
  bug fixes, so better to work with the new snapshot[2]
 
  This doesn't affect to generated server side code. The sample logic
  for the WSDL will be in axis2_skel_Calculator2.c.
 
 
  [1] http://people.apache.org/~dimuthu/leisure/23_oct/old/generate_demos.rb
  [2] http://people.apache.org/dist/axis2/nightly/
 
 
  Thanks
  Dimuthu
 
 
  On Feb 18, 2008 5:07 AM, Mark Nüßler [EMAIL PROTECTED] wrote:
  hello users,
 
  k, i am able to generate makefiles on the fly
  next step for me is to understand what [1] does.
 
  i can't read ruby, but i think i know what the skript
  should do. when i start the skript in a folder, where
  all files from adb Calculator are (with stub or with skel)
  i only get an nearly empty demo.c the logic is missing.
 
  i tried to figure out, if the skript needs some parameters,
  but in my simple understanding the skript does this
  automatically.
 
  question, who can generate the demo.c files for both folders
  at [2], so i can try to buid this in java ?
 
  mfg derMark
 
 
  [1] http://people.apache.org/~dimuthu/leisure/23_oct/generate_demos.rb
  [2] http://www.9elements.com/dermark/Calculator__current.zip
 
  Samisa Abeysinghe schrieb:
 
  Dimuthu Gamage wrote:
  1. does anybody really needs this kind of generator,
  is it helpfull or just waste of time when i think
  of this ?
 
  Yea definitely.  we have to provide build scripts for at least both
  linux and windows.
 
  +1.
 
  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
 
  I too prefer to integrate this to WSDL2Java tool itself. Unfortunately
  we right now can't ask for an option to decide the OS.  Because
  WSDL2Java tool dosn't have an interface for C code generation to add
  it s custom options, and java guys will not like to add a common
  option that will not relevant to them.
 
  So I think the best option is to put in the axis2/c distribution, BUt
  if it is a Java thing, I don't like to put it in a C distribution.
 
  Can we not just generate a build.bat and a build.sh by default whenever
  we generated code?
 
  3. what exactly are the requirements, want would we exspect
  from this kind of tool ?
 
 
  1. Generate build Scripts (both in linux and windows)
  2. Generate some sample client, i.e. with some demonstration logic
  3. Generate server.
  4. Generate test case(s)
 
  +1.
 
  Samisa...
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
  
  

Re: speed up build process

2008-02-18 Thread Lahiru Gunathilake

On Tue, 2008-02-19 at 08:58 +0530, Lahiru Gunathilake wrote:
 Hi Mark,
 This is what i have done and i have attached the generated code and VS
 project.
 Simply run your script by giving one the first argument as the wsdl
 path.Then it generated those attached files.Please have a look and tell
 me what went wrong.
 I'm attaching the wsdl i've used to test the script.Yesterday it created
 a VS project file in server code i checked today but now it gives some
 Exceptions with java code generation then it is unable to create a vc
 project.I'm trying to remove java code generation from your script once
 i'll be able to generate the VS project file i'll send you those files
 too.In this Archive there's no vcproj file in server code.
 
 Regards
 Lahiru
 
 On Mon, 2008-02-18 at 23:37 +0100, Mark Nüßler wrote:
  hello Lahiru,
  
  can you send me the generated files ? i will have a look,
  what went wrong. did you put all generted files in one folder
  or with a 'scr' subfolder ?
  
  mfg derMark
  
  
  Lahiru Gunathilake schrieb:
   Hi Mark,
   Now on Linux when we generate the C code(server side code)from  WSDL2C
   script it generate a build.sh file which is  capable of compiling and
   creating the library file.
   With -o and -S parameters it works fine and build the library file.
   Now i'm checking on doing the same thing with your script and i test it
   with VS2005 it generate a VS project but i couldn't open the project.It
   tells Project Load Failed due to an error in vcproj file.If i have to do
   any modifications please let me know.
   Any thoughts...
   
   
   Regs
   lahiru
   
   On Mon, 2008-02-18 at 07:51 +0530, Dimuthu Gamage wrote:
   Hi Mark,
   You seems working on a nightly build on Nov, 12. We have done one or
   two API changes since then,
  
   e.g.
  
   there axis2_stub_Calculator_create is replaced with
   axis2_stub_create_Calculator,
   axis2_stub_Calculator_div is replaced with axis2_stub_op_Calculator_div
  
   you will be able to generate sample codes for both stub and skel from
   the older version[1]..
  
   But it is really recommended to move to the new API, since it has some
   bug fixes, so better to work with the new snapshot[2]
  
   This doesn't affect to generated server side code. The sample logic
   for the WSDL will be in axis2_skel_Calculator2.c.
  
  
   [1] 
   http://people.apache.org/~dimuthu/leisure/23_oct/old/generate_demos.rb
   [2] http://people.apache.org/dist/axis2/nightly/
  
  
   Thanks
   Dimuthu
  
  
   On Feb 18, 2008 5:07 AM, Mark Nüßler [EMAIL PROTECTED] wrote:
   hello users,
  
   k, i am able to generate makefiles on the fly
   next step for me is to understand what [1] does.
  
   i can't read ruby, but i think i know what the skript
   should do. when i start the skript in a folder, where
   all files from adb Calculator are (with stub or with skel)
   i only get an nearly empty demo.c the logic is missing.
  
   i tried to figure out, if the skript needs some parameters,
   but in my simple understanding the skript does this
   automatically.
  
   question, who can generate the demo.c files for both folders
   at [2], so i can try to buid this in java ?
  
   mfg derMark
  
  
   [1] http://people.apache.org/~dimuthu/leisure/23_oct/generate_demos.rb
   [2] http://www.9elements.com/dermark/Calculator__current.zip
  
   Samisa Abeysinghe schrieb:
  
   Dimuthu Gamage wrote:
   1. does anybody really needs this kind of generator,
   is it helpfull or just waste of time when i think
   of this ?
  
   Yea definitely.  we have to provide build scripts for at least both
   linux and windows.
  
   +1.
  
   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
  
   I too prefer to integrate this to WSDL2Java tool itself. Unfortunately
   we right now can't ask for an option to decide the OS.  Because
   WSDL2Java tool dosn't have an interface for C code generation to add
   it s custom options, and java guys will not like to add a common
   option that will not relevant to them.
  
   So I think the best option is to put in the axis2/c distribution, BUt
   if it is a Java thing, I don't like to put it in a C distribution.
  
   Can we not just generate a build.bat and a build.sh by default whenever
   we generated code?
  
   3. what exactly are the requirements, want would we exspect
   from this kind of tool ?
  
  
   1. Generate build Scripts (both in linux and windows)
   2. Generate some sample client, i.e. with some demonstration logic
   3. Generate server.
   4. Generate test case(s)
  
   +1.
  
   Samisa...
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional commands, e-mail: [EMAIL PROTECTED]
  
  
  
   -
   To unsubscribe, e-mail: [EMAIL PROTECTED]
   For additional