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

Re: [xmlblaster] RUNNING C++ Client for Blaster.



JAYAGOPALAN BALASUBRAMANI wrote:
Hi Marcel,

Hi Jayagopalan,


I am getting the follwing message when i try to build C++ clients for xmlBlaster.


xmlBlaster Build System
-------------------
Building with classpath C:\j2sdk1.4.0\lib\tools.jar;"."\lib\ant\ant.jar;"."\lib\
ant\cpptasks.jar;"."\lib\ant\ant-contrib.jar;"."\lib\ant\xerces.jar;"."\lib\ant\


optional.jar;"."\lib\junit.jar;"."\lib\ant\xalan.jar;"."\lib\ant\xml-apis.jar

Starting Ant...
Buildfile: build.xml

prepare:
    [echo] os.family=windows os.name=Windows 2000
    [echo] Build timestamp = 11/01/2003 02:14 PM version = 0.845
    [echo] xmlBlaster.home=C:\xmlBlaster

prepare-cpp:
    [echo] Adjust following settings in build.properties if necessary:
    [echo]  XMLCPP_HOME   = C:\xerces-c_2_3_0-win32
    [echo]  XMLCPP_VER    = 2.3.0
    [echo]  CORBACPP_HOME = C:\ACE_wrappers\TAO
    [echo]  CORBACPP_VER  = 5.3.5
    [echo]  use-gcc       = ${use-gcc}
    [echo]  use-CC        = ${use-CC}
    [echo]  use-msvc      = ${use-msvc}
    [echo]  use-bcc       = ${use-bcc}
    [echo]  Setting TAO = true
    [echo]  Setting TAO,windows = true
    [echo]  Setting OMNITHREAD = true

cpp-lib:
    [echo] calling ant target cpp-corba-idl-TAO ...

cpp-corba-idl-TAO:
[echo] Generating ./src/java/org/xmlBlaster/protocol/corba/xmlBlaster.idl T
AO stubs and skeletons for os=windows
[if] Error in class net.sf.antcontrib.logic.IfTask


BUILD FAILED


file:///C:/xmlBlaster/build.xml:1391: Execute failed: java.io.IOException: Creat
eProcess: C:\ACE_wrappers\TAO\..\bin\tao_idl.exe -Ge 0 -Wb,pre_include=C:\xmlBla
ster/./src/c++/util/XmlBCfg.h -Wb,export_macro=Dll_Export C:\xmlBlaster/./src/ja
va/org/xmlBlaster/protocol/corba/xmlBlaster.idl error=2

Try to do this command with tao_idl.exe manually and play with the command line, i don't know what it could be,

regards,

Marcel


Total time: 3 seconds


Iam using ACE+TAO for CORBA xerces-c for XML LIB.

OS WINDOWS 2000.

Pls help me on this.
Jay.



From: Marcel Ruff <mr at marcelruff.info>
Reply-To: xmlblaster at server.xmlBlaster.org
To: xmlblaster at server.xmlblaster.org
Subject: Re: [xmlblaster] RUNNING C++ Client for Blaster.
Date: Fri, 31 Oct 2003 21:28:30 +0100

JAYAGOPALAN BALASUBRAMANI wrote:

Hi all ,

Iam running xmlBlaster in windows platform.

I have a java client for xmlBlaster embedded as an applet in IE.

Iam using the socket protocol in the Java client.

Currently iam giving all permissions in the Java.policy file to enable permissions for applet client.

Since there are permission/security issues i thought i can use a c++ client.


I want to test the c++ client for xmlBlaster.

Can i use the jdk's default CORBA package for CORBA product in build.xml.

More info on building a c++ client will be of great help.


For C++ you need to download one of the supported ORBs, e.g. omniORB
or mico or TAO and install them.
Then you need to install Xerces from www.apache.org and install it.

After that go to the xmlBlaster directory and type

  build.bat cpp

on problems try the -verbose setting.
Thats it.

Assure that you use a VC++ which is at least from Jan.2003 or better
newer!

Please read following docu:

http://www.xmlblaster.org/xmlBlaster/doc/requirements/client.cpp.compile.html

http://www.xmlblaster.org/xmlBlaster/doc/requirements/client.cpp.html



please let me know if anyone has tested the HTTP CALL BACK FRAME WORK of xmlBlaster in IE.


You need to call

  cd xmlBlaster
  build.bat deploy_war

to get a war file (containing all xmlBlaster servlets etc) which you
can throw into the tomcat/webapps directory.

Then you need to start an xmlBlaster server, the SystemPublisher and
tomcat (see xmlBlaster/demo/http/README).

Now you are ready to watch the persistent demo in mozilla and netscape.

I know it once worked in IE5 but i have never investigated further.


Any Suggestions for building a xmlBlaster client for IE will be helpful.

Thanks in advance


--
http://www.xmlBlaster.org