diff options
author | sjiang <sjiang@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-07-15 04:23:21 +0000 |
---|---|---|
committer | sjiang <sjiang@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-07-15 04:23:21 +0000 |
commit | a00b454050820f62898dfe99868ac83f7a1c2a88 (patch) | |
tree | 3b5cc487ce1bc1b0ee95cc8e25256baed74fa6f6 /TAO/CIAO | |
parent | df23b16b5733d8816761f38ab7503b52ef2cf813 (diff) | |
download | ATCD-a00b454050820f62898dfe99868ac83f7a1c2a88.tar.gz |
ChangLog Tag: Sat Jul 15 04:21:13 UTC 2006 Shanshan Jiang <shanshan.jiang@vanderbilt.edu>
Diffstat (limited to 'TAO/CIAO')
-rw-r--r-- | TAO/CIAO/DAnCE/RepositoryManager/README.txt | 53 | ||||
-rw-r--r-- | TAO/CIAO/DAnCE/RepositoryManager/RMAdmin.vcproj | 265 |
2 files changed, 265 insertions, 53 deletions
diff --git a/TAO/CIAO/DAnCE/RepositoryManager/README.txt b/TAO/CIAO/DAnCE/RepositoryManager/README.txt deleted file mode 100644 index 95170084ed8..00000000000 --- a/TAO/CIAO/DAnCE/RepositoryManager/README.txt +++ /dev/null @@ -1,53 +0,0 @@ -This is the README file for the Repository Manager (RM). - -In order to be able to compile the RM you need to have ZZIP lib because the Repository -Manager (RM) uses it to read the contents of CCM packages. ZZIP itself is a C++ wrapper -around ZLIB, thus you will also need ZLIB. In order to compile the RM successfully -you will need to do the following: - -1. Download ZLIB and ZZIP-LIB -2. Compile the multi-threaded versions of these libraries -3. [on Windows] create a separate directory for each library; create an include and a lib -subdirectory within them. Then copy the libraries files in the library subdirectory. -Copy zlib.h in the zlib_path/include and copy zziplib.h, zzip-conf.h and zzip-msvc.h -(for Windows platforms; Linux might have its own file!!!). This step might be easier if -you find a binary package of the libraries and just install it. -4. Set $ZLIB_ROOT and $ZZIP_ROOT to point to the directories where you placed the -libraries and the include files. -5. Turn on zzip and zlib in default.features for MPC. -6. MPC will handle the rest. - - -Things to watch out for: -On Windows make sure that you are linking the right ZIP libraries -together with the rest of the libraries, i.e. if you are building the debug version of ACE, -TAO and CIAO, then use the debug version of the ZIP libraries. Otherwise the RM will compile -but it will not work properly. - -to compile the idl with the tao_idl compiler: - -tao_idl -GI new_RepositoryManager.idl -I%TAO_ROOT% -I%TAO_ROOT%\tao -I%TAO_ROOT%\orbsvcs -I%CIAO_ROOT%\DAnCE\ciao - - - -Be sure to set JAWS_DOCUMENT_ROOT to the installation path of the RepoMan. -Also when you start JAWS make sure that the line that is uncommented in the svc.conf file is: - -static HTTP_Server "HTTP_Server -p 5432 -n 20 -i SYNCH -t POOL -b 50 -f THR_NEW_LWP -c NO_CACHE" - -in order to start JAWS with the NO_CACHE option. - - -How do the PackageHandlers work? - -See $CIAO_ROOOT/tools/Config_Handlers/Package_Handlers/test.cpp - -It gives an example of how to use them. The code implementing them is also in the -See $CIAO_ROOOT/tools/Config_Handlers/Package_Handlers/ directory as well as its parent. - -In the RepoMan this code is used in: - -CIAO_RepositoryManagerDaemon_i::retrieve_PC_from_descriptors() - - - diff --git a/TAO/CIAO/DAnCE/RepositoryManager/RMAdmin.vcproj b/TAO/CIAO/DAnCE/RepositoryManager/RMAdmin.vcproj new file mode 100644 index 00000000000..0c5ed84ca85 --- /dev/null +++ b/TAO/CIAO/DAnCE/RepositoryManager/RMAdmin.vcproj @@ -0,0 +1,265 @@ +<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="RMAdmin"
+ ProjectGUID="{CC6D0625-FECA-1BAD-93F1-779E769FCCC0}"
+ SccProjectName=""
+ SccLocalPath="">
+ <Platforms>
+ <Platform
+ Name="Win32"/>
+ </Platforms>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="."
+ IntermediateDirectory="Debug\RMAdmin"
+ ConfigurationType="1"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
+ CharacterSet="0">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="$(ZLIB_ROOT)\include,$(ZZIP_ROOT)\include,..\..\..\..,..\..\..,..\..\..\orbsvcs,..\..,..\..\ciao,..\..\DAnCE,..\..\ciaosvcs\Events,..\..\DAnCE\ciao,$(XERCESCROOT)\include,..\..\tools,..\..\tools\Config_Handlers"
+ PreprocessorDefinitions="_DEBUG;WIN32;_CONSOLE;ZLIB;USE_ZZIP;XML_USE_PTHREADS"
+ MinimalRebuild="FALSE"
+ ExceptionHandling="TRUE"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ BufferSecurityCheck="TRUE"
+ EnableFunctionLevelLinking="TRUE"
+ TreatWChar_tAsBuiltInType="TRUE"
+ ForceConformanceInForLoopScope="TRUE"
+ RuntimeTypeInfo="TRUE"
+ ProgramDataBaseFileName="Debug\RMAdmin/"
+ WarningLevel="3"
+ SuppressStartupBanner="TRUE"
+ Detect64BitPortabilityProblems="FALSE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="zlibd.lib zziplibd.lib ACEd.lib TAOd.lib TAO_AnyTypeCoded.lib TAO_PortableServerd.lib TAO_Valuetyped.lib TAO_CodecFactoryd.lib TAO_PId.lib TAO_Securityd.lib TAO_IFR_Clientd.lib CIAO_DnC_Clientd.lib CIAO_DnC_Containerd.lib CIAO_DnC_Events_Based.lib CIAO_Deployment_stubd.lib TAO_Messagingd.lib TAO_Svc_Utilsd.lib TAO_RTEventd.lib TAO_RTEvent_Skeld.lib TAO_RTEvent_Servd.lib CIAO_RTEventd.lib CIAO_DnC_Eventsd.lib CIAO_Deployment_svntd.lib TAO_Utilsd.lib TAO_CosNamingd.lib CIAO_DnC_Serverd.lib CIAO_XML_Utilsd.lib TAO_DynamicAnyd.lib TAO_TypeCodeFactoryd.lib XSC_XML_Handlersd.lib XSC_DynAny_Handlerd.lib XSC_Config_Handlers_Commond.lib Package_Config_Handlersd.lib CIAO_Events_Handlersd.lib RT_CCM_Config_Handlersd.lib XSC_Config_Handlersd.lib xerces-c_2D.lib"
+ OutputFile="$(OutDir)\RMadmin.exe"
+ LinkIncremental="2"
+ SuppressStartupBanner="TRUE"
+ AdditionalLibraryDirectories=".;$(ZLIB_ROOT)\lib;$(ZZIP_ROOT)\lib;..\..\..\..\lib;$(XERCESCROOT)\lib"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)\RMadmin.pdb"
+ SubSystem="1"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"
+ AdditionalOptions=""
+ AdditionalIncludeDirectories=""
+ TypeLibraryName="$(InputName).tlb"
+ HeaderFileName="$(InputName).h"
+ InterfaceIdentifierFileName="$(InputName)_i.c"
+ ProxyFileName="$(InputName)_p.c"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="_DEBUG;ZLIB;USE_ZZIP;XML_USE_PTHREADS"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(ZLIB_ROOT)\include,$(ZZIP_ROOT)\include,..\..\..\..,..\..\..,..\..\..\orbsvcs,..\..,..\..\ciao,..\..\DAnCE,..\..\ciaosvcs\Events,..\..\DAnCE\ciao,$(XERCESCROOT)\include,..\..\tools,..\..\tools\Config_Handlers"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="Release"
+ IntermediateDirectory="Release\RMAdmin"
+ ConfigurationType="1"
+ UseOfMFC="0"
+ ATLMinimizesCRunTimeLibraryUsage="FALSE"
+ CharacterSet="0">
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="3"
+ AdditionalIncludeDirectories="$(ZLIB_ROOT)\include,$(ZZIP_ROOT)\include,..\..\..\..,..\..\..,..\..\..\orbsvcs,..\..,..\..\ciao,..\..\DAnCE,..\..\ciaosvcs\Events,..\..\DAnCE\ciao,$(XERCESCROOT)\include,..\..\tools,..\..\tools\Config_Handlers"
+ PreprocessorDefinitions="NDEBUG;WIN32;_CONSOLE;ZLIB;USE_ZZIP;XML_USE_PTHREADS"
+ MinimalRebuild="FALSE"
+ ExceptionHandling="TRUE"
+ RuntimeLibrary="2"
+ BufferSecurityCheck="TRUE"
+ EnableFunctionLevelLinking="TRUE"
+ TreatWChar_tAsBuiltInType="TRUE"
+ ForceConformanceInForLoopScope="TRUE"
+ RuntimeTypeInfo="TRUE"
+ WarningLevel="3"
+ SuppressStartupBanner="TRUE"
+ Detect64BitPortabilityProblems="FALSE"
+ DebugInformationFormat="3"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ AdditionalDependencies="zlib.lib zziplib.lib ACE.lib TAO.lib TAO_AnyTypeCode.lib TAO_PortableServer.lib TAO_Valuetype.lib TAO_CodecFactory.lib TAO_PI.lib TAO_Security.lib TAO_IFR_Client.lib CIAO_DnC_Client.lib CIAO_DnC_Container.lib CIAO_DnC_Events_Base.lib CIAO_Deployment_stub.lib TAO_Messaging.lib TAO_Svc_Utils.lib TAO_RTEvent.lib TAO_RTEvent_Skel.lib TAO_RTEvent_Serv.lib CIAO_RTEvent.lib CIAO_DnC_Events.lib CIAO_Deployment_svnt.lib TAO_Utils.lib TAO_CosNaming.lib CIAO_DnC_Server.lib CIAO_XML_Utils.lib TAO_DynamicAny.lib TAO_TypeCodeFactory.lib XSC_XML_Handlers.lib XSC_DynAny_Handler.lib XSC_Config_Handlers_Common.lib Package_Config_Handlers.lib CIAO_Events_Handlers.lib RT_CCM_Config_Handlers.lib XSC_Config_Handlers.lib xerces-c_2.lib"
+ OutputFile="$(OutDir)\RMadmin.exe"
+ LinkIncremental="1"
+ SuppressStartupBanner="TRUE"
+ AdditionalLibraryDirectories=".;$(ZLIB_ROOT)\lib;$(ZZIP_ROOT)\lib;..\..\..\..\lib;$(XERCESCROOT)\lib"
+ GenerateDebugInformation="TRUE"
+ SubSystem="1"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"/>
+ <Tool
+ Name="VCMIDLTool"
+ AdditionalOptions=""
+ AdditionalIncludeDirectories=""
+ TypeLibraryName="$(InputName).tlb"
+ HeaderFileName="$(InputName).h"
+ InterfaceIdentifierFileName="$(InputName)_i.c"
+ ProxyFileName="$(InputName)_p.c"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"/>
+ <Tool
+ Name="VCResourceCompilerTool"
+ PreprocessorDefinitions="NDEBUG;ZLIB;USE_ZZIP;XML_USE_PTHREADS"
+ Culture="1033"
+ AdditionalIncludeDirectories="$(ZLIB_ROOT)\include,$(ZZIP_ROOT)\include,..\..\..\..,..\..\..,..\..\..\orbsvcs,..\..,..\..\ciao,..\..\DAnCE,..\..\ciaosvcs\Events,..\..\DAnCE\ciao,$(XERCESCROOT)\include,..\..\tools,..\..\tools\Config_Handlers"/>
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"/>
+ <Tool
+ Name="VCWebDeploymentTool"/>
+ </Configuration>
+ </Configurations>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;cxx;cc;C;c">
+ <File
+ RelativePath="Options.cpp">
+ </File>
+ <File
+ RelativePath="RepositoryManagerDaemonC.cpp">
+ </File>
+ <File
+ RelativePath="RM_Helper.cpp">
+ </File>
+ <File
+ RelativePath="RMadmin.cpp">
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hh">
+ <File
+ RelativePath="Options.h">
+ </File>
+ <File
+ RelativePath="RepositoryManagerDaemonC.h">
+ </File>
+ <File
+ RelativePath="RepositoryManagerDaemonS.h">
+ </File>
+ <File
+ RelativePath="RepositoryManagerDaemonS_T.h">
+ </File>
+ <File
+ RelativePath="RM_Helper.h">
+ </File>
+ </Filter>
+ <Filter
+ Name="Idl Files"
+ Filter="idl">
+ <File
+ RelativePath="RepositoryManagerDaemon.idl">
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Invoking ..\..\..\..\bin\tao_idl on RepositoryManagerDaemon.idl"
+ CommandLine="PATH=%PATH%;..\..\..\..\lib
..\..\..\..\bin\tao_idl -Ge 1 -Wb,pre_include=ace\pre.h -Wb,post_include=ace\post.h -I..\..\.. -I..\..\../orbsvcs -GT -I..\.. -I..\../ciao -I..\../DAnCE -Sc -I..\../DAnCE -Sc -I..\../ciaosvcs/Events -Sc -I..\../ciaosvcs/Events -Sc -I..\../DAnCE -Sc "RepositoryManagerDaemon.idl""
+ AdditionalDependencies="..\..\..\..\bin\tao_idl.exe"
+ Outputs="RepositoryManagerDaemonC.cpp;RepositoryManagerDaemonC.h;RepositoryManagerDaemonC.inl;RepositoryManagerDaemonS.h;RepositoryManagerDaemonS.inl;RepositoryManagerDaemonS_T.cpp;RepositoryManagerDaemonS_T.h;RepositoryManagerDaemonS_T.inl"/>
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Invoking ..\..\..\..\bin\tao_idl on RepositoryManagerDaemon.idl"
+ CommandLine="PATH=%PATH%;..\..\..\..\lib
..\..\..\..\bin\tao_idl -Ge 1 -Wb,pre_include=ace\pre.h -Wb,post_include=ace\post.h -I..\..\.. -I..\..\../orbsvcs -GT -I..\.. -I..\../ciao -I..\../DAnCE -Sc -I..\../DAnCE -Sc -I..\../ciaosvcs/Events -Sc -I..\../ciaosvcs/Events -Sc -I..\../DAnCE -Sc "RepositoryManagerDaemon.idl""
+ AdditionalDependencies="..\..\..\..\bin\tao_idl.exe"
+ Outputs="RepositoryManagerDaemonC.cpp;RepositoryManagerDaemonC.h;RepositoryManagerDaemonC.inl;RepositoryManagerDaemonS.h;RepositoryManagerDaemonS.inl;RepositoryManagerDaemonS_T.cpp;RepositoryManagerDaemonS_T.h;RepositoryManagerDaemonS_T.inl"/>
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Inline Files"
+ Filter="i;inl">
+ <File
+ RelativePath="RepositoryManagerDaemonC.inl">
+ </File>
+ <File
+ RelativePath="RepositoryManagerDaemonS.inl">
+ </File>
+ <File
+ RelativePath="RepositoryManagerDaemonS_T.inl">
+ </File>
+ </Filter>
+ <Filter
+ Name="Template Files"
+ Filter="">
+ <File
+ RelativePath="RepositoryManagerDaemonS_T.cpp">
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="TRUE">
+ <Tool
+ Name="VCCLCompilerTool"/>
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="TRUE">
+ <Tool
+ Name="VCCLCompilerTool"/>
+ </FileConfiguration>
+ </File>
+ </Filter>
+ <Filter
+ Name="Documentation"
+ Filter="">
+ <File
+ RelativePath="README.txt">
+ <FileConfiguration
+ Name="Debug|Win32"
+ ExcludedFromBuild="TRUE">
+ <Tool
+ Name="VCCustomBuildTool"/>
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ ExcludedFromBuild="TRUE">
+ <Tool
+ Name="VCCustomBuildTool"/>
+ </FileConfiguration>
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
|