diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-05 04:43:11 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-04-05 04:43:11 +0000 |
commit | 3a70cbed493c14ac63ddfd057f84e733193199a1 (patch) | |
tree | 0515d6418d42119ff5437229ae37f53d62891ac7 | |
parent | 90ff34dcc66bada7b8ce47c937be693697d0279b (diff) | |
download | ATCD-3a70cbed493c14ac63ddfd057f84e733193199a1.tar.gz |
*** empty log message ***
8 files changed, 421 insertions, 21 deletions
diff --git a/TAO/CIAO/ChangeLog b/TAO/CIAO/ChangeLog index 546c59bc208..3511bbdc7a9 100644 --- a/TAO/CIAO/ChangeLog +++ b/TAO/CIAO/ChangeLog @@ -1,24 +1,31 @@ -Fri Apr 04 16:26:16 2003 Nanbor Wang <nanbor@cs.wustl.edu> - - M examples/handcrafted/Display/CIAO_Installation_Data.ini - M examples/handcrafted/Display/NavDisplay/NavDisplay_exec.cpp - A tools/Assembly_Deployer/Assembly_Deployer.cpp - M tools/Assembly_Deployer/Assembly_Deployer.mpc - M tools/Assembly_Deployer/Assembly_Impl.cpp - M tools/Assembly_Deployer/Assembly_Impl.h - M tools/Assembly_Deployer/Assembly_Impl.inl - A tools/Assembly_Deployer/Assembly_Manager.cpp - A tools/Assembly_Deployer/Assembly_Visitors.h - A tools/Assembly_Deployer/Assembly_Visitors.inl - A tools/Assembly_Deployer/Deployment_Configuration.cpp - A tools/Assembly_Deployer/Deployment_Configuration.h - A tools/Assembly_Deployer/Deployment_Configuration.inl - M tools/Daemon/Daemon.mpc - M tools/Daemon/DaemonController.dsp - M tools/XML_Helpers/Assembly_Handlers.cpp - M tools/XML_Helpers/Assembly_Spec.cpp - M tools/XML_Helpers/Assembly_Spec.h - M tools/XML_Helpers/Assembly_Spec.inl +Fri Apr 04 22:40:11 2003 Nanbor Wang <nanbor@cs.wustl.edu> + + * examples/handcrafted/Display/descriptors/*: Moved all XML + descriptors and deployment configuration into this newly created + subdirectory to simply procedures to test this example. + + * examples/handcrafted/Display/NavDisplay/NavDisplay_exec.cpp: + Changed to thow a BAD_INV_ORDER exception is the receptacle is + not connected instead of a MSVC structural exception. + + * tools/Daemon/Daemon.mpc: + * tools/Daemon/DaemonController.dsp: + * tools/XML_Helpers/Assembly_Handlers.cpp: + * tools/XML_Helpers/Assembly_Spec.cpp: + * tools/XML_Helpers/Assembly_Spec.h: + * tools/XML_Helpers/Assembly_Spec.inl: + * tools/Assembly_Deployer/Assembly_Deployer.cpp: + * tools/Assembly_Deployer/Assembly_Deployer.mpc: + * tools/Assembly_Deployer/Assembly_Impl.cpp: + * tools/Assembly_Deployer/Assembly_Impl.h: + * tools/Assembly_Deployer/Assembly_Impl.inl: + * tools/Assembly_Deployer/Assembly_Manager.cpp: + * tools/Assembly_Deployer/Assembly_Visitors.h: + * tools/Assembly_Deployer/Assembly_Visitors.inl: + * tools/Assembly_Deployer/Deployment_Configuration.cpp: + * tools/Assembly_Deployer/Deployment_Configuration.h: + * tools/Assembly_Deployer/Deployment_Configuration.inl: Added more + support for component installation when building an Assembly. Thu Apr 03 15:08:20 2003 Nanbor Wang <nanbor@cs.wustl.edu> diff --git a/TAO/CIAO/examples/handcrafted/Display/descriptors/GPS.csd b/TAO/CIAO/examples/handcrafted/Display/descriptors/GPS.csd new file mode 100644 index 00000000000..a6e17406f41 --- /dev/null +++ b/TAO/CIAO/examples/handcrafted/Display/descriptors/GPS.csd @@ -0,0 +1,63 @@ +<?xml version="1.0"?> <!-- -*- SGML -*- --> + +<!-- XML doesn't really support the following $(CIAO_ROOT) syntax :) --> +<!DOCTYPE softpkg SYSTEM "$(CIAO_ROOT)/docs/XML/softpkg.dtd"> + +<!-- GPS's Software Package Descriptor --> +<!-- This file describes various GPS executor --> +<!-- implementations. --> + + +<softpkg name="CIAO-GPS" version="1.0"> + <pkgtype>CORBA Component</pkgtype> + <title>Rate Generator</title> + <author> + <company>Washington University in St. Louis</company> + <webpage href="http://www.cs.wustl.edu/~doc/"/> + </author> + <description>A GPS executor implementation.</description> + <license href="http://www.cs.wustl.edu/~schmidt/ACE-copying.html"/> + <idl id="IDL:HUDisplay/GPS:1.0" homeid="IDL:HUDisplay/GPSHome:1.0"> + <fileinarchive name="GPS.idl"/> + </idl> + + <!-- We don't need a property file for this example. However, --> + <!-- what to do with this element? Cache it in ComponentInstallation? --> + <!-- A better question maybe, when do we actually read the file and --> + <!-- build the attributes defined in the file? By Assembly perhaps? --> + <!-- Notice that this property file applies to the implementation itself. --> + <!-- Whatever that means. --> +<!-- <propertyfile> --> +<!-- <fileinarchive name="empty.cpf"/> --> +<!-- </propertyfile> --> + + <descriptor type="CORBA Component"> + <fileinarchive name="GPS.ccd"/> + </descriptor> + + <implementation id="DCE:3148F760-F2ED-4204-A775-6B972C10E8CB"> + + <!-- CIAO extension --> + <dependency type="CIAODLL"> + <softpkgref> + <!-- .ssd stands for Servant Software Descriptors which is a CIAO extension --> + <fileinarchive name="GPS.ssd"/> + <implref idref="DCE:75309233-0E0A-4cfb-B186-3E99F69B1D40"/> + </softpkgref> + </dependency> + + <!-- What happens when one define descriptors for both softpkg and --> + <!-- implementations? --> + + <code type="DLL"> + <!-- No need to specify extension below since ACE takes care of that, --> + <fileinarchive name="GPS_exec"/> + <entrypoint>createGPSHome_Impl</entrypoint> + </code> + + </implementation> + + <!-- Let's add more implementation description later when we try to --> + <!-- compile this stuff on, say, Solaris and Linux. --> + +</softpkg>
\ No newline at end of file diff --git a/TAO/CIAO/examples/handcrafted/Display/descriptors/GPS.ssd b/TAO/CIAO/examples/handcrafted/Display/descriptors/GPS.ssd new file mode 100644 index 00000000000..b68e7c62648 --- /dev/null +++ b/TAO/CIAO/examples/handcrafted/Display/descriptors/GPS.ssd @@ -0,0 +1,47 @@ +<?xml version="1.0"?> <!-- -*- SGML -*- --> + +<!-- XML doesn't really support the following $(CIAO_ROOT) syntax :) --> +<!DOCTYPE softpkg SYSTEM "$(CIAO_ROOT)/docs/XML/softpkg.dtd"> + +<!-- GPS's Servant Software Descriptor --> +<!-- This file describes various GPS servant --> +<!-- implementations. --> + + +<softpkg name="CIAO-GPS-Servant" version="1.0"> + <pkgtype>CIAO Servant</pkgtype> + <title>HUDisplay::GPS Servants</title> + <author> + <company>Washington University in St. Louis</company> + <webpage href="http://www.cs.wustl.edu/~doc/"/> + </author> + <description>A GPS servant implementation.</description> + <license href="http://www.cs.wustl.edu/~schmidt/ACE-copying.html"/> + <idl id="IDL:HUDisplay/GPS:1.0" homeid="IDL:HUDisplay/GPSHome:1.0"> + <fileinarchive name="GPS.idl"/> + </idl> + + <!-- Duplicate information. We should use the copy in GPS.csd --> + <!-- So, do we really need this one? --> + <descriptor type="CORBA Component"> + <fileinarchive name="GPS.ccd"/> + </descriptor> + + <implementation id="DCE:75309233-0E0A-4cfb-B186-3E99F69B1D40"> + + <dependency type="ORB"> + <name>TAO</name> + </dependency> + + <code> + <!-- No need to specify extension below since ACE takes care of that, --> + <fileinarchive name="GPS_svnt"/> + <entrypoint>createGPSHome_Servant</entrypoint> + </code> + + </implementation> + + <!-- Let's add more implementation description later when we try to --> + <!-- compile this stuff on, say, Solaris and Linux. --> + +</softpkg>
\ No newline at end of file diff --git a/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplay.csd b/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplay.csd new file mode 100644 index 00000000000..4d32cf58851 --- /dev/null +++ b/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplay.csd @@ -0,0 +1,63 @@ +<?xml version="1.0"?> <!-- -*- SGML -*- --> + +<!-- XML doesn't really support the following $(CIAO_ROOT) syntax :) --> +<!DOCTYPE softpkg SYSTEM "$(CIAO_ROOT)/docs/XML/softpkg.dtd"> + +<!-- NavDisplay's Software Package Descriptor --> +<!-- This file describes various NavDisplay executor --> +<!-- implementations. --> + + +<softpkg name="CIAO-NavDisplay" version="1.0"> + <pkgtype>CORBA Component</pkgtype> + <title>Rate Generator</title> + <author> + <company>Washington University in St. Louis</company> + <webpage href="http://www.cs.wustl.edu/~doc/"/> + </author> + <description>A NavDisplay executor implementation.</description> + <license href="http://www.cs.wustl.edu/~schmidt/ACE-copying.html"/> + <idl id="IDL:HUDisplay/NavDisplay:1.0" homeid="IDL:HUDisplay/NavDisplayHome:1.0"> + <fileinarchive name="NavDisplay.idl"/> + </idl> + + <!-- We don't need a property file for this example. However, --> + <!-- what to do with this element? Cache it in ComponentInstallation? --> + <!-- A better question maybe, when do we actually read the file and --> + <!-- build the attributes defined in the file? By Assembly perhaps? --> + <!-- Notice that this property file applies to the implementation itself. --> + <!-- Whatever that means. --> +<!-- <propertyfile> --> +<!-- <fileinarchive name="empty.cpf"/> --> +<!-- </propertyfile> --> + + <descriptor type="CORBA Component"> + <fileinarchive name="NavDisplay.ccd"/> + </descriptor> + + <implementation id="DCE:8E6C468D-A39F-46b4-962B-265F1AA8D538"> + + <!-- CIAO extension --> + <dependency type="CIAODLL"> + <softpkgref> + <!-- .ssd stands for Servant Software Descriptors which is a CIAO extension --> + <fileinarchive name="NavDisplay.ssd"/> + <implref idref="DCE:CDC06FCA-50FC-43ca-8ECC-BEFBD33FEE78"/> + </softpkgref> + </dependency> + + <!-- What happens when one define descriptors for both softpkg and --> + <!-- implementations? --> + + <code type="DLL"> + <!-- No need to specify extension below since ACE takes care of that, --> + <fileinarchive name="NavDisplay_exec"/> + <entrypoint>createNavDisplayHome_Impl</entrypoint> + </code> + + </implementation> + + <!-- Let's add more implementation description later when we try to --> + <!-- compile this stuff on, say, Solaris and Linux. --> + +</softpkg>
\ No newline at end of file diff --git a/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplay.ssd b/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplay.ssd new file mode 100644 index 00000000000..f1e16629f90 --- /dev/null +++ b/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplay.ssd @@ -0,0 +1,47 @@ +<?xml version="1.0"?> <!-- -*- SGML -*- --> + +<!-- XML doesn't really support the following $(CIAO_ROOT) syntax :) --> +<!DOCTYPE softpkg SYSTEM "$(CIAO_ROOT)/docs/XML/softpkg.dtd"> + +<!-- NavDisplay's Servant Software Descriptor --> +<!-- This file describes various NavDisplay servant --> +<!-- implementations. --> + + +<softpkg name="CIAO-NavDisplay-Servant" version="1.0"> + <pkgtype>CIAO Servant</pkgtype> + <title>HUDisplay::NavDisplay Servants</title> + <author> + <company>Washington University in St. Louis</company> + <webpage href="http://www.cs.wustl.edu/~doc/"/> + </author> + <description>A NavDisplay servant implementation.</description> + <license href="http://www.cs.wustl.edu/~schmidt/ACE-copying.html"/> + <idl id="IDL:HUDisplay/NavDisplay:1.0" homeid="IDL:HUDisplay/NavDisplayHome:1.0"> + <fileinarchive name="NavDisplay.idl"/> + </idl> + + <!-- Duplicate information. We should use the copy in NavDisplay.csd --> + <!-- So, do we really need this one? --> + <descriptor type="CORBA Component"> + <fileinarchive name="NavDisplay.ccd"/> + </descriptor> + + <implementation id="DCE:CDC06FCA-50FC-43ca-8ECC-BEFBD33FEE78"> + + <dependency type="ORB"> + <name>TAO</name> + </dependency> + + <code> + <!-- No need to specify extension below since ACE takes care of that, --> + <fileinarchive name="NavDisplay_svnt"/> + <entrypoint>createNavDisplayHome_Servant</entrypoint> + </code> + + </implementation> + + <!-- Let's add more implementation description later when we try to --> + <!-- compile this stuff on, say, Solaris and Linux. --> + +</softpkg>
\ No newline at end of file diff --git a/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplayGUI.csd b/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplayGUI.csd new file mode 100644 index 00000000000..fb3895c27ca --- /dev/null +++ b/TAO/CIAO/examples/handcrafted/Display/descriptors/NavDisplayGUI.csd @@ -0,0 +1,63 @@ +<?xml version="1.0"?> <!-- -*- SGML -*- --> + +<!-- XML doesn't really support the following $(CIAO_ROOT) syntax :) --> +<!DOCTYPE softpkg SYSTEM "$(CIAO_ROOT)/docs/XML/softpkg.dtd"> + +<!-- NavDisplay's Software Package Descriptor --> +<!-- This file describes various NavDisplay executor --> +<!-- implementations. --> + + +<softpkg name="CIAO-NavDisplay" version="1.0"> + <pkgtype>CORBA Component</pkgtype> + <title>Rate Generator</title> + <author> + <company>Washington University in St. Louis</company> + <webpage href="http://www.cs.wustl.edu/~doc/"/> + </author> + <description>A NavDisplay executor implementation.</description> + <license href="http://www.cs.wustl.edu/~schmidt/ACE-copying.html"/> + <idl id="IDL:HUDisplay/NavDisplay:1.0" homeid="IDL:HUDisplay/NavDisplayHome:1.0"> + <fileinarchive name="NavDisplay.idl"/> + </idl> + + <!-- We don't need a property file for this example. However, --> + <!-- what to do with this element? Cache it in ComponentInstallation? --> + <!-- A better question maybe, when do we actually read the file and --> + <!-- build the attributes defined in the file? By Assembly perhaps? --> + <!-- Notice that this property file applies to the implementation itself. --> + <!-- Whatever that means. --> +<!-- <propertyfile> --> +<!-- <fileinarchive name="empty.cpf"/> --> +<!-- </propertyfile> --> + + <descriptor type="CORBA Component"> + <fileinarchive name="NavDisplay.ccd"/> + </descriptor> + + <implementation id="DCE:D7984625-8561-431d-9927-4E498B317C02"> + + <!-- CIAO extension --> + <dependency type="CIAODLL"> + <softpkgref> + <!-- .ssd stands for Servant Software Descriptors which is a CIAO extension --> + <fileinarchive name="NavDisplay.ssd"/> + <implref idref="DCE:CDC06FCA-50FC-43ca-8ECC-BEFBD33FEE78"/> + </softpkgref> + </dependency> + + <!-- What happens when one define descriptors for both softpkg and --> + <!-- implementations? --> + + <code type="DLL"> + <!-- No need to specify extension below since ACE takes care of that, --> + <fileinarchive name="NavDisplayGUI_exec"/> + <entrypoint>createNavDisplayHome_Impl</entrypoint> + </code> + + </implementation> + + <!-- Let's add more implementation description later when we try to --> + <!-- compile this stuff on, say, Solaris and Linux. --> + +</softpkg>
\ No newline at end of file diff --git a/TAO/CIAO/examples/handcrafted/Display/descriptors/RateGen.csd b/TAO/CIAO/examples/handcrafted/Display/descriptors/RateGen.csd new file mode 100644 index 00000000000..37d60c4ed1a --- /dev/null +++ b/TAO/CIAO/examples/handcrafted/Display/descriptors/RateGen.csd @@ -0,0 +1,63 @@ +<?xml version="1.0"?> <!-- -*- SGML -*- --> + +<!-- XML doesn't really support the following $(CIAO_ROOT) syntax :) --> +<!DOCTYPE softpkg SYSTEM "$(CIAO_ROOT)/docs/XML/softpkg.dtd"> + +<!-- RateGen's Software Package Descriptor --> +<!-- This file describes various RateGen executor --> +<!-- implementations. --> + + +<softpkg name="CIAO-RateGen" version="1.0"> + <pkgtype>CORBA Component</pkgtype> + <title>Rate Generator</title> + <author> + <company>Washington University in St. Louis</company> + <webpage href="http://www.cs.wustl.edu/~doc/"/> + </author> + <description>A RateGen executor implementation.</description> + <license href="http://www.cs.wustl.edu/~schmidt/ACE-copying.html"/> + <idl id="IDL:HUDisplay/RateGen:1.0" homeid="IDL:HUDisplay/RateGenHome:1.0"> + <fileinarchive name="RateGen.idl"/> + </idl> + + <!-- We don't need a property file for this example. However, --> + <!-- what to do with this element? Cache it in ComponentInstallation? --> + <!-- A better question maybe, when do we actually read the file and --> + <!-- build the attributes defined in the file? By Assembly perhaps? --> + <!-- Notice that this property file applies to the implementation itself. --> + <!-- Whatever that means. --> +<!-- <propertyfile> --> +<!-- <fileinarchive name="empty.cpf"/> --> +<!-- </propertyfile> --> + + <descriptor type="CORBA Component"> + <fileinarchive name="RateGen.ccd"/> + </descriptor> + + <implementation id="DCE:82C2B032-37F0-4315-A59F-7020D3264E4D"> + + <!-- CIAO extension --> + <dependency type="CIAODLL"> + <softpkgref> + <!-- .ssd stands for Servant Software Descriptors which is a CIAO extension --> + <fileinarchive name="RateGen.ssd"/> + <implref idref="DCE:93D254CF-9538-44e8-BB98-AABCD134ADD3"/> + </softpkgref> + </dependency> + + <!-- What happens when one define descriptors for both softpkg and --> + <!-- implementations? --> + + <code type="DLL"> + <!-- No need to specify extension below since ACE takes care of that, --> + <fileinarchive name="RateGen_exec"/> + <entrypoint>createRateGenHome_Impl</entrypoint> + </code> + + </implementation> + + <!-- Let's add more implementation description later when we try to --> + <!-- compile this stuff on, say, Solaris and Linux. --> + +</softpkg>
\ No newline at end of file diff --git a/TAO/CIAO/examples/handcrafted/Display/descriptors/RateGen.ssd b/TAO/CIAO/examples/handcrafted/Display/descriptors/RateGen.ssd new file mode 100644 index 00000000000..670969c7ff2 --- /dev/null +++ b/TAO/CIAO/examples/handcrafted/Display/descriptors/RateGen.ssd @@ -0,0 +1,47 @@ +<?xml version="1.0"?> <!-- -*- SGML -*- --> + +<!-- XML doesn't really support the following $(CIAO_ROOT) syntax :) --> +<!DOCTYPE softpkg SYSTEM "$(CIAO_ROOT)/docs/XML/softpkg.dtd"> + +<!-- RateGen's Servant Software Descriptor --> +<!-- This file describes various RateGen servant --> +<!-- implementations. --> + + +<softpkg name="CIAO-RateGen-Servant" version="1.0"> + <pkgtype>CIAO Servant</pkgtype> + <title>HUDisplay::RateGen Servants</title> + <author> + <company>Washington University in St. Louis</company> + <webpage href="http://www.cs.wustl.edu/~doc/"/> + </author> + <description>A RateGen servant implementation.</description> + <license href="http://www.cs.wustl.edu/~schmidt/ACE-copying.html"/> + <idl id="IDL:HUDisplay/RateGen:1.0" homeid="IDL:HUDisplay/RateGenHome:1.0"> + <fileinarchive name="RateGen.idl"/> + </idl> + + <!-- Duplicate information. We should use the copy in RateGen.csd --> + <!-- So, do we really need this one? --> + <descriptor type="CORBA Component"> + <fileinarchive name="RateGen.ccd"/> + </descriptor> + + <implementation id="DCE:93D254CF-9538-44e8-BB98-AABCD134ADD3"> + + <dependency type="ORB"> + <name>TAO</name> + </dependency> + + <code> + <!-- No need to specify extension below since ACE takes care of that, --> + <fileinarchive name="RateGen_svnt"/> + <entrypoint>createRateGenHome_Servant</entrypoint> + </code> + + </implementation> + + <!-- Let's add more implementation description later when we try to --> + <!-- compile this stuff on, say, Solaris and Linux. --> + +</softpkg>
\ No newline at end of file |