axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valentine Kouznetsov <vkuz...@yahoo.com>
Subject Re: Axis C++ Solaris port
Date Thu, 09 Sep 2004 16:55:57 GMT
Adrian,
You forgot to include in build.xml the following
lines:

<!-- Import the environment -->
<property name="env" value="env" environment="env"/>


they should go right behind 
</description>

The rest is fine and I was able to recompile my C++
code. 
Valentin.


--- Adrian Dick <adrian.dick@uk.ibm.com> wrote:

> 
> 
> 
> 
> Hi,
> 
> I've put in your changes.  Please can you test this.
> Thanks,
> Adrian
> 
> _______________________________________
> Adrian Dick (adrian.dick@uk.ibm.com)
> 
> 
> 
>                                                     
>                       
>              Valentine                              
>                       
>              Kouznetsov                             
>                       
>              <vkuznet@yahoo.co                      
>                    To 
>              m>                        Apache AXIS C
> Developers List       
>                                       
> <axis-c-dev@ws.apache.org>          
>              09-09-04 17:00                         
>                    cc 
>                                                     
>                       
>                                                     
>               Subject 
>              Please respond to         Re: Axis C++
> Solaris port           
>               "Apache AXIS C                        
>                       
>              Developers List"                       
>                       
>                                                     
>                       
>                                                     
>                       
>                                                     
>                       
>                                                     
>                       
> 
> 
> 
> 
> Hi,
> I made some changes to build.xml and created new
> build.SunOS.properties. In case of Solaris the
> system
> can be identified either as Solaris or SunOS and I
> still need to check couple of things. But it works
> and
> I was able to compile C++ code. I still need to test
> it. One comment, if you add (as I did)
> <property name="env" value="env" environment="env"/>
> to build.xml
> then you can use environment variables instead of
> hard coded path, see examples in
> build.SunOS.properties.
> Could you please add these changes to CVS.
> Valentin.
> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail <project
> name="AxisC"
> default="production" basedir=".">
>              <description>
> This ANT script compiles and packages the Apache
> AxisC runtime binaries and
> WSDL2Ws tooling.
> 
> This script is intended for use with Java 1.4+ and
> Apache ANT 1.6+.
> Ant is available from: http://ant.apache.org/
> 
> To compile C/C++ code you will require the cpptasks
> extension to ANT,
> within:
>              [ant install dir]/lib
> This is available from:
> http://ant-contrib.sourceforge.net/
> {Note: you will require the cpptasks download, not
> ant-contrib}
> 
> It is intended that the default target be used,
> which compiles and links
> all code,
> generates documentation and packages ready for
> distribution.
> 
> Associated with this build script are property files
> for each platform, the
> script
> will automatically determine the correct one to be
> used;
>              - build.Win32.properties
>              - build.Linux.properties
>              - build.AIX.properties
> Please use these to configure directories to suit
> the needs of your system.
> 
> Notes:
> * The documentation target requires doxygen be
> installed and available on
> the system path
>   This is available from: http://www.doxygen.org
> * The following compilers will be required;
>              - Windows = Microsoft Visual C++ 6.0
>              - Linux   = gcc
>              - AIX     = Visual Age
>              - Solaris = CC/cc
>              </description>
>     <!-- Import the environment -->
>     <property name="env" value="env"
> environment="env"/>
> 
>              <!--   Load definition of C/C++ Tasks
> and Types        To
> allow the compilation and linking of C/C++ code  
> -->
>              <taskdef resource="cpptasks.tasks"/>
>              <typedef resource="cpptasks.types"/>
> 
>              <!--   These properties will be the
> same for all environments,
> so have not been    included within the property
> files        -->
>              <property name="dir.src"
> value="${basedir}/src"/>
>              <property name="dir.include"
> value="${basedir}/include"/>
>              <!-- <property name="dir.objects"
> value="${basedir}/build/axis"/>     <property
> name="dir.bin"
> value="${basedir}/build/bin"/>      -->
> 
>              <!-- Compiler Definitions -->
>                          <!-- Definition of cc
> compile for Solaris -->
>                          <compiler id="SolarisCC"
> name="CC" if="solaris">
>                                      <compilerarg
> value="-KPIC"/>
>                                      <compilerarg
> value="-xildoff"/>
>                                      <compilerarg
> value="-pta"/>
>                                      <compilerarg
> value="-instances=global"/>
>                                      <defineset>
>                                                 
> <define
> name="ENABLE_AXIS_EXCEPTION"/>
>                                                 
> <define
> name="HAVE_CONFIG_H"/>
>                                                 
> <define name="PIC"/>
>                                      </defineset>
>                                      <includepath
> path="${dir.include}"/>
>                          </compiler>
> 
>                          <!-- Definition of Visual
> C++ compiler -->
>                          <compiler id="VisualC++"
> name="msvc" if="windows">
>                                      <compilerarg
> value="/nologo"/>
>                                      <compilerarg
> value="/MD"/>
>                                      <!-- Display
> all warnings -->
>                                      <compilerarg
> value="/W3"/>
>                                      <compilerarg
> value="/GX"/>
>                                      <compilerarg
> value="/Od"/>
>                                      <includepath
> path="${dir.include}"/>
>                                      <defineset>
>                                                 
> <define name="WIN32"/>
>                                                 
> <define name="NDEBUG"/>
>                                                 
> <define name="_WINDOWS"/>
>                                                 
> <define name="_MBCS"/>
> 
=== message truncated ===



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

Mime
View raw message