Anna,
I'm kinda helpless right now, provide more output please.
What is the output of the command
'build.bat -verbose cpp-lib'?
On Wed, 31 Jul 2002, Anna Lysenko wrote:
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 -->
<defineset>
<define name="MICO" value="1" />
<!-- undefine name="UNWANTEDDEF" / -->
</defineset>
</cc>
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 .
I didn't either yet. ;-)
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 assume it is OS. It comes somewhere from ant contrib.
I really need to make it work at Windows, so might you have .bat file for windows, or documentation or something else?
I try to help as good as I can, but due to a lack of Windows I'm not able
to test here. Probably there other gauys around who can assist.
regards
Heinrich
--
http://www.xmlBlaster.org