TAO Usage Guide - Make a Tao SDK

xiaoxiao2021-03-06  150

Tao's documents, the directory structure is complex, so generate a so-called Tao SDK to facilitate development.

The directory structure of this Tao SDK is as follows:

Taosdk_Root

|

| - bin (all executables and dynamic link libraries)

| - IDL (ORB IDL file)

| - Include (all header files)

| | | - ACE

| | | | - ***

| | | | - ***

| | |

| | - Orbsvcs

| | | | - Cosevent

| | | | - Naming

| | | | - ***

| | | | - ***

| | |

| | | - TAO

| | | | - IORTABLE

| | | | - PortableServer

| | | | - ***

| - LIB (all static library files)

When using, first create the environment variable Taosdk_root as the root directory of Tao SDK, then

Set the following in the project of VC:

Add header file of the incrude path:

$ (TaosDK_Root) / include, $ (Taosdk_Root) / include / Orbsvcs, $ (Taosdk_Root) / TAO

Add a static library file path:

$ (Taosdk_Root) / lib

Below, a batch file that automatically generates Tao SDK is provided, and the file is placed in the ACE_ROOT directory.

Then execute it ...

Note: This program comes from TAO mailing list.

FILE NAME: Taosdk.bat

-------------------------------------------------- -----------------------

@echo off

@echo createing Directories ...

Mkdir ../tao/bin

Mkdir ../tao/include

Mkdir ../tao/include/ace

Mkdir ../tao/include/ace/classix

Mkdir ../tao/include/ace/QOS

mkdir ../tao/include/ace/rmcast

Mkdir ../tao/include/ace/ssl

Mkdir ../tao/include/tao

Mkdir ../tao/include/tao/bidir_giop

Mkdir ../tao/include/tao/domain

Mkdir ../tao/include/tao/dynamicany

Mkdir ../tao/include/tao/dynamicinterface

Mkdir ../tao/include/tao/IFR_Client

Mkdir ../tao/include/tao/iormanipulation

Mkdir ../tao/include/tao/omeTable

Mkdir ../tao/include/tao/portableserver

Mkdir ../tao/include/tao/rtcorba

mkdir ../tao/include/tao/rtportablesRVER

Mkdir ../tao/include/tao/smartproxies

mkdir ../tao/include/tao/strategies

Mkdir ../tao/include/tao/typecodefactory

Mkdir ../tao/include/orbsvcs

Mkdir ../tao/include/orbsvcs/av

Mkdir ../tao/include/orbsvcs/concurrency

Mkdir ../tao/include/orbsvcs/cosevent

Mkdir ../tao/include/orbsvcs/esf

Mkdir ../tao/include/orbsvcs/etcl

Mkdir ../tao/include/orbsvcs/event

Mkdir ../tao/include/orbsvcs/faulttolerancemkdir ../tao/include/orbsvcs/lifecycle

Mkdir ../tao/include/orbsvcs/loadbalancing

Mkdir ../tao/include/orbsvcs/log

Mkdir ../tao/include/orbsvcs/naming

Mkdir ../tao/include/orbsvcs/notify

Mkdir ../tao/include/orbsvcs/property

Mkdir ../tao/include/orbsvcs/sched

Mkdir ../tao/include/orbsvcs/security

Mkdir ../tao/include/orbsvcs/ssliop

Mkdir ../tao/include/orbsvcs/time

Mkdir ../tao/include/orbsvcs/trader

Mkdir ../tao/lib

@echo copying header files ...

Copy ace / *. i ../tao/include/ace

Copy ace / *. inl ../tao/include/ace

Copy ace / *. h ../tao/include/ace

Copy ace / *. CPP ../tao/include/ace

Copy ace / classix / *. i ../tao/include/ace/classix

Copy Ace / Classix / *. h ../tao/include/ace/classix

Copy Ace / Classix / *. CPP ../tao/include/ACE/Classix

Copy Ace / QoS / *. i ../tao/include/ace/QOS

Copy Ace / QoS / *. h ../tao/include/ace/qos

Copy Ace / QoS / *. CPP ../tao/include/ace/QOS

Copy ACE / RMCAST / *. i ../tao/include/ace/rmcast

Copy ACE / RMCAST / *. h ../tao/include/Aditional_rmcast

Copy ACE / RMCAST / *. CPP ../tao/include/ace/rmcast

Copy ace / ssl / *. i ../tao/include/ace/ssl

Copy ace / ssl / *. h ../tao/include/ace/ssl

Copy ACE / SSL / *. CPP ../tao/include/ace/ssl

Copy tao / tao / *. i ../tao/include/tao

Copy tao / tao / *. inl ../tao/include/tao

Copy tao / tao / *. h ../tao/include/tao

Copy tao / tao / *. idl ../tao/include/tao

Copy tao / tao / *. CPP ../tao/include/tao

Copy tao / orbsvcs / naming_service / *. h ../tao/include/tao

Copy tao / orbsvcs / loadbalancer / *. h ../tao/include/tao

Copy Tao / OrbSVCS / Logging_Service / *. h ../tao/include/tao

Copy Tao / OrbSVCS / TAO_SERVICE / *. h ../tao/include/tao

Copy Tao / OrbSVCS / TIME_SERVICE / *. h ../tao/include/tao

Copy tao / orbsvcs / naming_service / *. h ../tao/include/tao

Copy tao / orbsvcs / trading_service / *. h ../tao/include/taocopy tao / orbsvcs / impRepo_service / *. h ../tao/include/tao

Copy tao / orbsvcs / concurrency_service / *. h ../tao/include/tao

Copy Tao / OrbSVCS / COSEVENT_SERVICE / *. h ../tao/include/tao

Copy tao / orbsvcs / dump_schedule / *. h ../tao/include/tao

Copy Tao / OrbSVCS / Event_Service / *. h ../tao/include/tao

Copy Tao / OrbSVCS / IFR_Service / *. h ../tao/include/tao

Copy Tao / OrbSVCS / Lifecycle_Service / *. h ../tao/include/tao

Copy Tao / OrbSVCS / Notify_Service / *. h ../tao/include/tao

Copy Tao / OrbSVCS / Scheduling_Service / *. h ../tao/include/tao

Copy tao / orbsvcs / orbsvcs / *. h ../tao/include/orbsvcs

Copy tao / orbsvcs / orbsvcs / *. i ../tao/include/orbsvcs

Copy tao / orbsvcs / orbsvcs / *. CPP ../tao/include/orbsvcs

Copy Tao / OrbSVCS / OrbSVCS / AV / *. h ../tao/include/orbsvcs/av

Copy tao / orbsvcs / orbsvcs / av / *. i ../tao/include/orbsvcs/av

Copy tao / orbsvcs / orbsvcs / av / *. CPP ../tao/include/orbsvcs/AV

Copy Tao / OrbSVCS / OrbSVCS / Concurrency / *. h ../tao/include/orbsvcs/concurrency

Copy tao / orbsvcs / orbsvcs / concurrency / *. i ../tao/include/orbsvcs/concurrency

Copy tao / orbsvcs / orbsvcs / concurrency / *. CPP ../tao/include/orbsvcs/concurrency

Copy tao / orbsvcs / orbsvcs / cosevent / *. h ../tao/include/orbsvcs/cosevent

Copy tao / orbsvcs / orbsvcs / cosevent / *. i ../tao/include/orbsvcs/cosevent

Copy tao / orbsvccs / orbsvcs / cosevent / *. CPP ../tao/include/orbsvcs/cosevent

Copy tao / orbsvcs / orbsvcs / esf / *. h ../tao/include/orbsvcs/esf

Copy tao / orbsvcs / orbsvcs / esf / *. i ../tao/include/orbsvcs/esf

Copy Tao / OrbSVCS / OrbSVCS / ESF / *. CPP ../tao/include/orbsvcs/esf

Copy tao / orbsvcs / orbsvcs / etcl / *. h ../tao/include/orbsvcs/etcl

Copy tao / orbsvcs / orbsvcs / etcl / *. i ../tao/include/orbsvcs/etcl

Copy tao / orbsvcs / orbsvcs / etcl / *. CPP ../tao/include/orbsvcs/etcl

Copy tao / orbsvcs / orbsvcs / evenet / *. h ../tao/incopy tao / orbsvcs / orbsvcs / evenet / *. i ../tao/include/orbsvcs/event

Copy tao / orbsvcs / orbsvcs / evenet / *. CPP ../tao/include/orbsvcs/event

Copy tao / orbsvcs / orbsvcs / faulttolerance / *. h ../tao/include/orbsvcs/faulttolerance

Copy tao / orbsvcs / orbsvcs / faulttolerance / *. i ../tao/include/orbsvcs/faulttolerance

Copy tao / orbsvcs / orbsvcs / faulttolerance / *. CPP ../tao/include/orbsvcs/faulttolerance

Copy Tao / OrbSVCS / OrbSVCS / Lifecycle / *. h ../tao/include/orbsvcs/lifecycle

Copy Tao / OrbSVCS / OrbSVCS / Lifecycle / *. i ../tao/include/orbsvcs/lifecycle

Copy Tao / OrbSVCS / OrbsVCS / Lifecycle / *. CPP ../tao/include/orbsvcs/lifecycle

Copy tao / orbsvcs / orbsvcs / loadingbalancing / *. h ../tao/include/orbsvcs/loadbalancing

Copy tao / orbsvcs / orbsvcs / loadingbalancing / *. i ../tao/include/orbsvcs/loadbalancing

Copy tao / orbsvcs / orbsvcs / loadbalancing / *. CPP ../tao/include/orbsvcs/loadbalancing

Copy tao / orbsvcs / orbsvcs / log / *. h ../tao/include/orbsvcs/log

Copy tao / orbsvcs / orbsvcs / log / *. i ../tao/include/orbsvcs/log

Copy tao / orbsvcs / orbsvcs / log / *. CPP ../tao/include/orbsvcs/log

Copy tao / orbsvcs / orbsvcs / naming / *. h ../tao/include/orbsvcs/naming

Copy tao / orbsvcs / orbsvcs / naming / *. i ../tao/include/orbsvcs/naming

Copy tao / orbsvcs / orbsvcs / naming / *. CPP ../tao/include/orbsvcs/naming

Copy Tao / OrbSVCS / OrbSVCS / Notify / *. h ../tao/include/orbsvcs/notify

Copy tao / orbsvcs / orbsvcs / notify / *. i ../tao/include/orbsvcs/notify

Copy Tao / OrbSVCS / OrbSVCS / Notify / *. CPP ../tao/include/orbsvcs/notify

Copy tao / orbsvcs / orbsvcs / proty / *. h ../tao/include/orbsvcs/property

Copy Tao / OrbSVCS / Orbsvcs / Property / *. i ../tao/include/orbsvcs/property

Copy Tao / OrbSVCS / OrbSVCS / Property / *. CPP ../tao/include/orbsvcs/property

Copy Tao / OrbSVCS / OrbSVCS / SCHED / *. h ../tao/incope/orbsvcs/schedcopy tao / orbsvcs / orbsvcs / sched / *. i ../tao/include/orbsvcs/sched

Copy Tao / OrbSVCS / OrbSVCS / SCHED / *. CPP ../tao/include/orbsvcs/sched

Copy Tao / OrbSVCS / Orbsvcs / Security / *. h ../tao/include/orbsvcs/security

Copy tao / orbsvcs / orbsvcs / security / *. i ../tao/include/orbsvcs/security

Copy tao / orbsvcs / orbsvcs / security / *. cpp ../tao/include/orbsvcs/security

Copy tao / orbsvcs / orbsvcs / ssliop / *. h ../tao/include/orbsvcs/ssliop

Copy Tao / OrbSVCS / OrbSVCS / SSLIOP / *. i ../tao/include/orbsvcs/ssliop

Copy Tao / OrbSVCS / OrbSVCS / SSLIOP / *. CPP ../tao/include/orbsvcs/ssliop

Copy tao / orbsvcs / orbsvcs / time / *. h ../tao/include/orbsvcs/time

Copy tao / orbsvcs / orbsvcs / time / *. i ../tao/include/orbsvcs/time

Copy Tao / OrbSVCS / OrbSVCS / Time / *. CPP ../tao/include/orbsvcs/time

Copy tao / orbsvcs / orbsvcs / trader / *. h ../tao/include/orbsvcs/trader

Copy tao / orbsvcs / orbsvcs / trader / *. i ../tao/include/orbsvcs/trader

Copy tao / orbsvcs / orbsvcs / trader / *. CPP ../tao/include/orbsvcs/trader

Copy tao / tao / bidir_giop / *. h ../tao/include/tao/bidir_giop

Copy tao / tao / bidir_giop / *. inl ../tao/include/tao/bidir_giop

Copy tao / tao / bidir_giop / *. i ../tao/include/tao/bidir_giop

Copy Tao / Tao / Domain / *. h ../tao/include/tao/domain

Copy Tao / Tao / Domain / *. Inl ../tao/include/tao/domain

Copy tao / tao / domain / *. i ../tao/include/tao/domain

Copy tao / tao / dynamicany / *. h ../tao/include/tao/dynamicany

Copy tao / tao / dynamicany / *. inl ../tao/include/tao/dynamicany

Copy tao / tao / dynamicany / *. i ../tao/include/tao/dynamicany

Copy tao / tao / dynamicinterface / *. h ../tao/include/tao/dynamicinterface

Copy tao / tao / dynamicinterface / *. inl ../tao/include/tao/dynamicinterface

Copy tao / tao / dynamicinterface / *. i ../tao/include/tao/dynamicinterface

Copy Tao / Tao / IFR_Client / *. h ../tao/incolude/tao/IFR_ClientCopy Tao / Tao / IFR_Client / *. INL ../tao/include/tao/IFR_Client

Copy tao / tao / ifr_client / *. i ../tao/include/tao/IFR_client

Copy tao / tao / iormanipulation / *. h ../tao/include/tao/iormanipulation

Copy tao / tao / iormanipulation / *. inl ../tao/include/tao/iormanipulation

Copy tao / tao / iormanipulation / *. i ../tao/include/tao/iormanipulation

Copy Tao / Tao / Iortable / *. h ../tao/include/tao/iortable

Copy Tao / Tao / Iortable / *. Inl ../tao/include/tao/omeTable

Copy Tao / Tao / Iortable / *. i ../tao/include/tao/omeTable

Copy tao / tao / portableserver / *. h ../tao/include/tao/portableserver

Copy tao / tao / portableserver / *. inl ../tao/include/tao/portableserver

Copy tao / tao / portableserver / *. i ../tao/include/tao/portableserver

Copy tao / tao / rtcorba / *. h ../tao/include/tao/rtcorba

Copy Tao / Tao / RTCORBA / *. INL ../tao/include/tao/rtcorba

Copy Tao / Tao / RTCORBA / *. I ../tao/include/tao/rtcorba

Copy tao / tao / rtportableserver / *. h ../tao/include/tao/rtportableserver

Copy tao / tao / rtportableserver / *. inl ../tao/include/tao/rtportableserver

Copy tao / tao / rtportableserver / *. i ../tao/include/tao/rtportableserver

Copy tao / tao / smartproxies / *. h ../tao/include/tao/smartproxies

Copy tao / tao / smartproxies / *. inl ../tao/include/tao/smartproxies

Copy tao / tao / smartproxies / *. i ../tao/include/tao/smartproxies

Copy tao / tao / strategies / *. h ../tao/include/tao/strategies

Copy Tao / Tao / Strategies / *. Inl ../tao/include/tao/strategies

Copy Tao / Tao / Strategies / *. i ../tao/include/tao/strategies

Copy Tao / Tao / TypecodeFactory / *. h ../tao/include/tao/typecodefactory

Copy Tao / Tao / TypecodeFactory / *. inl ../tao/include/tao/TypecodeFactory

Copy Tao / Tao / TypecodeFactory / *. i ../tao/include/tao/typecodefactory

@echo Copying Libraries ...

Copy ace / *. lib ../tao/libcopy ace / ssl / *. lib ../tao/LIB

Copy tao / tao / *. lib ../tao/lib

Copy tao / tao / bidir_giop / *. lib ../tao/lib

Copy tao / tao / domain / *. lib ../taobain/lib

Copy tao / tao / dynamicany / *. lib ../tao/LIB

Copy tao / tao / dynamicinterface / *. lib ../tao/LIB

Copy Tao / Tao / IFR_Client / *. Lib ../taO/LIB

Copy tao / tao / iormanipulation / *. lib ../tao/LIB

Copy Tao / Tao / Iortable / *. Lib ../taO/LIB

Copy tao / tao / portableserver / *. lib ../tao/lib

Copy tao / tao / rtcorba / *. lib ../tao/LIB

Copy tao / tao / rtportableserver / *. lib ../tao/lib

Copy tao / tao / smartproxies / *. lib ../tao/LIB

Copy Tao / Tao / Strategies / *. Lib ../taO/LIB

Copy Tao / Tao / TypecodeFactory / *. Lib ../tao/lib

Copy tao / tao_idl / *. lib ../taob/lib

Copy Tao / OrbSVCS / IFR_Service / *. Lib ../taO/LIB

Copy tao / orbsvccs / orbsvcs / *. lib ../tao/lib

@echo copying binary file ...

Copy bin / *. dll ../tao/bin

Copy bin / *. EXE ../tao/bin

Copy Tao / OrbSVCS / Concurrency_Service / ConcURRENCY_SERVICE.EXE.... ../tao/bin/concurrency_serviced.exe

Copy Tao / OrbSVCS / Concurrency_Service / Release / Concurrency_Service.exe ../tao/bin

Copy Tao / OrbSVCS / COSEVENT_SERVICE / COSEVENT_SERVICE.EXE....... ../tao/bin/cosevent_serviced.exe

Copy Tao / OrbSVCS / COSEVENT_SERVICE / RELEASE / COSEVENT_SERVICE.EXE... ../tao/bin

Copy tao / orbsvcs / dump_schedule / dump_schedule.exe ../tao/bin/dump_scheduled.exe

Copy tao / orbsvcs / dump_schedule / release / dump_schedule.exe ../tao/bin

Copy Tao / OrbSVCS / Event_Service / Event_Service.exe ../taO/bin/Event_Serviced.exe

Copy Tao / OrbSVCS / Event_Service / Release / Event_Service.exe ../taO/bin

Copy Tao / OrbSVCS / IFR_SERVICE / IFR_SERVICE.EXE.... ../taO/bin/iFr_serviced.exe

Copy Tao / OrbSVCS / IFR_SERVICE / RELEASE / IFR_SERVICE.EXE..... ../tao/bin

Copy Tao / OrbSVCS / ImplRepo_Service / ImplRepo_Service.exe ../taO/bin/implrepo_serviced.exe

Copy Tao / OrbSVCS / IMPLREPO_SERVICE / RELEASE / IMPLREPO_SERVICE.EXE... ../tao/bincopy tao / orbsvcs / life_service / lifecle_service.exe.. ../tao/bin/lifecycle_serviced.exe

Copy Tao / Orbsvcs / Lifecycle_Service / Release / Lifecycle_Service.exe ../tao/bin

Copy Tao / OrbSVCS / Naming_Service / Naming_Service.exe ../tao/bin/naming_serviced.exe

Copy tao / orbsvcs / naming_service / nt_naming_service.exe ../tao/bin/nt_naming_serviced.exe

Copy Tao / Orbsvcs / Naming_Service / Release / Naming_Service.exe ../tao/bin

Copy tao / orbsvcs / naming_service / release / nt_naming_service.exe ../taO/bin

Copy Tao / OrbSVCS / Notify_Service / Notify_Service.exe ../tao/bin

Copy Tao / OrbSVCS / Scheduling_Service / Scheduling_Service.exe ../tao/bin/scheduling_serviced.exe

Copy Tao / Orbsvcs / Scheduling_Service / Release / Scheduling_Service.exe ../tao/bin

Copy tao / orbsvcs / trading_service / trading_service.exe ../tao/bin/trading_serviced.exe

Copy Tao / Orbsvcs / Trading_Service / Release / Trading_Service.exe ../tao/bin

@Create tao sdk finished!

转载请注明原文地址:https://www.9cbs.com/read-128097.html

New Post(0)