[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re:Re: [xmlblaster] Problem with build C++ DLL on Windows2000

Hi Heinrich,
I tried to change to line 134 in $XMLBLASTER_HOME/build.xml (revision)
<property name="compiler" value="gcc"/> to the value "VC6", "bcc"  and so on and it does not change anything.
Ant still try to use gcc compile.   I don't know ant very well, but at $XMLBLASTER_HOME/build.xml   task for compile look like:
      <cc debug="true" link="shared"
          outfile="${lib.dir}/xmlBlasterClient" objdir="${build.dir}/obj"
          multithreaded="true" exceptions="true">
         <compiler refid="msvc"/>
         <compiler refid="gcc"/>        
         <compiler refid="bcc"/>
         <fileset dir="${src.cpp.dir}/generated" includes="*.cpp"/>
         <fileset dir="${src.cpp.dir}/util" includes="*.cpp" />
         <fileset dir="${src.cpp.dir}/client" includes="*.cpp" />
         <includepath location="${src.cpp.dir}" />
         <!-- sysincludepath location="${STL_HOME}/stlport" /-->
         <sysincludepath location="${CORBACPP_HOME}/include" />
         <sysincludepath location="${CORBACPP_HOME}/include/windows" if="windows" /> <!-- necessary for mico on win32 -->
         <sysincludepath location="${XMLCPP_HOME}/src" if="windows" />               <!-- xerces win32 -->
         <sysincludepath location="${XMLCPP_HOME}/include" />           <!-- xerces 1.6.0 -->
         <sysincludepath location="${XMLCPP_HOME}/include/xercesc" />   <!-- Since xerces 1.7.0 -->
            <define name="MICO" value="1" />
            <!-- undefine name="UNWANTEDDEF" / -->
where cc - is custom task, define as nt.sf.antcontrib.apptasks.CCTask.class    
I did not found the place, where name and property of compiler defined according with OS .
And I don't know anything about all these java packages nt.sf.antcontrib.apptasks.*, that are used in ant script. Is that also open source, who wrote this?
I really need to make it work at Windows, so might you have .bat file for windows, or documentation or something else?
Thanks a lot
Anna Lysenko