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

Re: [xmlblaster-devel] Re: C++ compiling with ant/build: build.sh cpp-lib



Tobias Jahn wrote:
Hello Marcel,

sorry if this is a newbie question but I could not find an answer on the
website (perhaps it is even not xmlBlaster related...).

When I run "./build.sh cpp-lib" (on debian) I get this message:
---
cpp-lib:
     [echo] Adjust following settings in build.properties if necessary:
     [echo]  XMLCPP_HOME   = /opt/local/xerces
     [echo]  XMLCPP_VER    = 1_7_0
     [echo]  CORBACPP_HOME = /opt/local/mico
     [echo]  CORBACPP_VER  = 2.3.7
     [echo] Generating IDL stubs and skeletons
       [if] Error in class net.sf.antcontrib.logic.IfTask

BUILD FAILED
/tmp/xmlBlaster/build.xml:618: java.lang.reflect.InvocationTargetException
---

I tried many things but nothing changed this. I would be glad if you or
other xmlBlaster users could give me a tiny hint what went wrong and what
I can do to get the c++ client lib compiled ;-)

The ant-build is 'pre alfa' code, i have not added the newest patches from ant contrib C++ stuff to xmlBlaster (i need to do some porting in build.xml for this). The current build.xml compiles fine on my Linux.

Try to use the verbose flag to see what happens:

   cd xmlBlaster/src/c++
   build.sh -verbose cpp-lib



If all fails, fall back to Makefiles:
-------------------------------------

Activate the .bashrc in the distribution, e.g.

export JAVA_HOME=/opt/local/jdk
export XMLBLASTER_HOME=${HOME}/xmlBlaster
. ${XMLBLASTER_HOME}/.bashrc

and then try a

cd xmlBlaster/src/c++
make all    (builds the shared library)

cd xmlBlaster/testsuite/c++
make all    (builds demo clients in the bin directory)




good luck

Marcel




-- Marcel Ruff mailto:ruff at swand.lake.de http://www.lake.de/home/lake/swand/ http://www.xmlBlaster.org