axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dami...@opensource.lk>
Subject RE: [Axis C++] re-arranging the include files
Date Tue, 21 Oct 2003 06:46:55 GMT
Yes it's good. In that way you can indentify the headerfiles that act as
api to whole axis. But it need work. Susantha, what do you think of this.

damitha



\> I guess better way to do it, is to keep headers and its impl. together,
> and when you create your libs then export only necessary header files
> into the <lib export>/include where only the public API are found. other
> header  files are not required to be copied to that location.
>
> To make correct header file resolution just have -I <header location>
> pass into the compiler and have your definition in *.cpp to pick it as
> <header-name.h> rather than providing a qualified folder name to pick it
> up. or just "header-name.h" if it is in the same folder.
>
> <axis/common/packet.h>  kind of #includes needs if you pass the include
> folder  as axis root (-I <axis-root>) to your compiler.
>
> thanks
> -Lilantha
>
> -----Original Message-----
> From: Susantha
> Sent: Monday, October 20, 2003 1:04 PM
> To: axis-dev@ws.apache.org
> Subject: Re: [Axis C++] re-arranging the include files
>
>
>
> ----- Original Message -----
> From: <damitha@opensource.lk>
> To: <axis-dev@ws.apache.org>
> Sent: Monday, October 20, 2003 11:46 AM
> Subject: Re: [Axis C++] re-arranging the include files
>
>
>> Hi Susantha,
>> >
>> > 1. Following folder structure will be created,
>> >
>> > ws-axis/c/include/axis
>> >                                |-- client
>> >                                |-- common
>> >                                |-- engine
>> >                                |-- server
>> >                                |-- soap
>> >                                |-- wcg
>> >                                |-- wsdd
>> >                                |-- xml
>> >
>> > 2. All include files will be moved from src/... folders to
>> respective new folder in the above structure. 3. All relative
>> include directives "common/packet.h" in .c and .cpp files will be
>> changed to standard includes <axis/common/packet.h>. 4. All Visual
>> C++ project files and makefiles will be updated.
>> >
>>
>> I think include files should not be removed from the current
>> place.Only a copy should be created in the new structure. I think this
>> is what you meant.
>>
> I think there is no point in having those include files in 2 places. If
> we do that we have to keep
> upto date versions of all files which is troublesome.
>
> So I meant to remove from the /c/src/... folders and put them to
> /c/include/axis/... folders.
>
>> damitha




Mime
View raw message