Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: TAO Adapter
Topic Summary:
Created On: 27-Apr-2005 20:56
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 27-Apr-2005 20:56
User is offline View Users Profile Print this message


Justin DYER

Posts: 548
Joined: 30-Jun-2004

Instructions for setting up Rhapsody to work with The ACE ORB (TAO)


1. a. Place the siteC++.prp file into your Rhapsody\Share\properties directory
b. Place the files Rdstderr.exe and TAOmake.bat into the Rhapsody\Share\etc directory
c. Edit the TAOmake.bat file so that the path to the Rhapsody\Share\etc direcotry matches your install directory

2. Download ACE-5.4+TAO-1.4.zip from [url]http://deuce.doc.wustl.edu/Download.html[/url]

3. Extract the TAO download to your C: directory. This will create a new folder called C:\ACE_wrappers.

4. Create a new system environment variable called ACE_ROOT and have it point to the "C:\ACE_wrappers" directory.

5. Add "C:\ACE_wrappers\bin" to you system PATH environment variable

6. Create a file called "config.h" in the ACE_wrappers\ace directory that contains the following line:
#include "ace/config-win32.h"

7. Open up the Microsoft Visual C++ workspace ACE_wrappers\ace\ace.dsw and build aced.dll.

8. Open up the Microsoft Visual C++ workspace ACE_wrappers\TAO\TAO_IDL\tao_idl.dsw and build tao_idl.exe.

9. Open up the Microsoft Visual C++ workspace ACE_wrappers\TAO\TAOACE.dsw.

10. Go to Build->Batch Build and check off ONLY the following to be built:
ACE DLL - Win32 Debug
CosNaming - Win32 Debug
IORInterceptor - Win32 Debug
IORTable - Win32 Debug
Messaging - Win32 Debug
ObjRefTemplate - Win32 Debug
PortableServer - Win32 Debug
Svc Utils - Win32 Debug
TAO DLL - Win32 Debug
ValueType - Win32 Debug
gperf - Win32 Debug

***Note*** These are the minimal libraries that need to be built in order to use TAO. If more services are needed, you can build them here. For instance, RTPortableServer is the Real-Time version of the portable server service.

11. Once everyting for TAO is built properly, open the "HelloWorld.rpy" Rhapsody project.

12. Set the "Server" as the active component and then generate and build.

***Note*** Since the tao_idl compiler must run as it's own process, when building you will see another DOS window pop up which will show the compilation of the IDL files. Once the compilation is finished, close this DOS window and Rhapsody will continue to build the rest of the executeable.

13. Now set the "Client" as the active component and then generate and do a REBUILD.

14. After both Server and Client are built, run the Server and then run the Client. You should see "Hello World" popping up on the Server every couple seconds.

TAOAdapter.zip
TAOAdapter.zip  (21 KB)

Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.