All 3 native projects have a tool called TuscanyMSVC8DevStudioCCompiler that
is an adaptor that fixes a bug on cpp-tasks.
However, when I try to build it from the source available on tools
directory, I get the following error:
BUILD FAILED
E:\Adriano\cpp\sca\tools\ant_cpptasks\build.xml
:24: The following error occurred while executing this line:
E:\Adriano\cpp\sca\antscripts\system.xml:592: j
ava.lang.ClassNotFoundException:
tuscany.antCompilers.TuscanyMSVC8DevStudioCComp
iler
It occurs because build.xml located on \cpp\<sca or sdo or das>\antscripts\
imports the system.xml that tries to define the compiler using the
TuscanyMSVC8DevStudioCCompiler class:
<compiler id="msvc8-Compiler"
extends="Tuscany-BaseCompiler"
classname="tuscany.antCompilers.TuscanyMSVC8DevStudioCCompiler">
<defineset
define="WIN32,_CRT_SECURE_NO_DEPRECATE,_CRT_NON_CONFORMING_SWPRINTFS"/>
</compiler>
But, the adaptor is not compiled yet when the system.xml tries to define the
compiler.
Is there a way to specify that ant should ignore this errors if the
TuscanyMSVC8DevStudioCCompiler.jar does not exists? I havent found any : (
PS.: To see this bug, all three TuscanyMSVC8DevStudioCCompiler.jar files
located on each project must be deleted.
Adriano Crestani