Changeset 9571
- Timestamp:
- 09/18/09 18:39:50 (4 years ago)
- Location:
- ossiedev/trunk
- Files:
-
- 121 modified
-
components/AutomaticGainControl/Makefile.am (modified) (1 diff)
-
components/AutomaticGainControl/configure.ac (modified) (1 diff)
-
components/AutomaticGainControl/xml/AutomaticGainControl.spd.xml (modified) (1 diff)
-
components/Channel/Channel.spd.xml (modified) (1 diff)
-
components/Channel/Makefile.am (modified) (1 diff)
-
components/Channel/configure.ac (modified) (1 diff)
-
components/ChannelDemo/ChannelDemo.spd.xml (modified) (2 diffs)
-
components/ChannelDemo/Makefile.am (modified) (1 diff)
-
components/ChannelDemo/configure.ac (modified) (1 diff)
-
components/Conv_Dec/Conv_Dec.spd.xml (modified) (1 diff)
-
components/Conv_Dec/Makefile.am (modified) (1 diff)
-
components/Conv_Dec/configure.ac (modified) (1 diff)
-
components/Conv_Enc/Conv_Enc.spd.xml (modified) (1 diff)
-
components/Conv_Enc/Makefile.am (modified) (1 diff)
-
components/Conv_Enc/configure.ac (modified) (1 diff)
-
components/Decimator/Decimator.spd.xml (modified) (1 diff)
-
components/Decimator/Makefile.am (modified) (1 diff)
-
components/Decimator/configure.ac (modified) (1 diff)
-
components/DigitalModem/Makefile.am (modified) (3 diffs)
-
components/DigitalModem/configure.ac (modified) (1 diff)
-
components/DigitalModem/xml/DigitalDemodulator.spd.xml (modified) (1 diff)
-
components/DigitalModem/xml/DigitalModulator.spd.xml (modified) (1 diff)
-
components/FrameAssembler/Makefile.am (modified) (2 diffs)
-
components/FrameAssembler/configure.ac (modified) (1 diff)
-
components/FrameAssembler/xml/FrameAssembler.spd.xml (modified) (1 diff)
-
components/Interpolator/Makefile.am (modified) (1 diff)
-
components/Interpolator/configure.ac (modified) (1 diff)
-
components/JPEG_VideoViewer/JPEG_VideoViewer.spd.xml (modified) (1 diff)
-
components/JPEG_VideoViewer/Makefile.am (modified) (1 diff)
-
components/JPEG_VideoViewer/configure.ac (modified) (1 diff)
-
components/OSSIETalk/Makefile.am (modified) (1 diff)
-
components/OSSIETalk/OSSIETalk.spd.xml (modified) (1 diff)
-
components/PacketResizer/Makefile.am (modified) (1 diff)
-
components/PacketResizer/PacketResizer.spd.xml (modified) (1 diff)
-
components/PacketResizer/configure.ac (modified) (1 diff)
-
components/RxDemo/Makefile.am (modified) (1 diff)
-
components/RxDemo/RxDemo.spd.xml (modified) (2 diffs)
-
components/RxDemo/configure.ac (modified) (1 diff)
-
components/SymbolSyncPoly/Makefile.am (modified) (4 diffs)
-
components/SymbolSyncPoly/configure.ac (modified) (1 diff)
-
components/SymbolSyncPoly/xml/FrameSynchronizer.spd.xml (modified) (1 diff)
-
components/SymbolSyncPoly/xml/MultirateSynchronizer.spd.xml (modified) (1 diff)
-
components/SymbolSyncPoly/xml/SymbolSyncPoly.spd.xml (modified) (1 diff)
-
components/TxDemo/Makefile.am (modified) (1 diff)
-
components/TxDemo/TxDemo.spd.xml (modified) (3 diffs)
-
components/TxDemo/configure.ac (modified) (1 diff)
-
components/USRP_Commander/Makefile.am (modified) (1 diff)
-
components/USRP_Commander/configure.ac (modified) (1 diff)
-
components/USRP_Commander/xml/USRP_Commander.spd.xml (modified) (1 diff)
-
components/WFMDemod/Makefile.am (modified) (1 diff)
-
components/WFMDemod/configure.ac (modified) (1 diff)
-
components/WebCamCapture/Makefile.am (modified) (1 diff)
-
components/WebCamCapture/WebCamCapture.spd.xml (modified) (1 diff)
-
components/WebCamCapture/configure.ac (modified) (1 diff)
-
components/am_demod/Makefile.am (modified) (1 diff)
-
components/am_demod/am_demod.spd.xml (modified) (1 diff)
-
components/am_demod/configure.ac (modified) (1 diff)
-
components/amplifier/Makefile.am (modified) (1 diff)
-
components/amplifier/amplifier.spd.xml (modified) (1 diff)
-
components/amplifier/configure.ac (modified) (1 diff)
-
components/pass_data/Makefile.am (modified) (1 diff)
-
components/pass_data/pass_data.spd.xml (modified) (1 diff)
-
components/rc2007_gui/Makefile.am (modified) (1 diff)
-
components/rc2007_gui/rc2007_gui.spd.xml (modified) (1 diff)
-
configure.ac (modified) (1 diff)
-
platform/GPP/GPP.spd.xml (modified) (2 diffs)
-
platform/GPP/Makefile.am (modified) (1 diff)
-
platform/GPP/configure.ac (modified) (1 diff)
-
platform/Sound_in/Makefile.am (modified) (1 diff)
-
platform/Sound_in/configure.ac (modified) (1 diff)
-
platform/Sound_in/soundCardCapture.spd.xml (modified) (1 diff)
-
platform/Sound_out/Makefile.am (modified) (1 diff)
-
platform/Sound_out/configure.ac (modified) (1 diff)
-
platform/Sound_out/soundCardPlayback.spd.xml (modified) (1 diff)
-
platform/USRP/Makefile.am (modified) (2 diffs)
-
platform/USRP/configure.ac (modified) (1 diff)
-
platform/USRP/xml/USRP.spd.xml (modified) (1 diff)
-
platform/XilinxFPGA/Makefile.am (modified) (1 diff)
-
platform/XilinxFPGA/XilinxFPGA.spd.xml (modified) (1 diff)
-
platform/XilinxFPGA/configure.ac (modified) (1 diff)
-
platform/domain/DomainManager.dmd.xml (modified) (1 diff)
-
platform/domain/Makefile.am (modified) (1 diff)
-
platform/domain/configure.ac (modified) (1 diff)
-
platform/nodes/default_GPP_USRP_node/DeviceManager.dcd.xml (modified) (1 diff)
-
platform/nodes/default_GPP_USRP_node/Makefile.am (modified) (1 diff)
-
platform/nodes/default_GPP_USRP_node/configure.ac (modified) (1 diff)
-
platform/nodes/default_GPP_USRP_sound_node/DeviceManager.dcd.xml (modified) (1 diff)
-
platform/nodes/default_GPP_USRP_sound_node/Makefile.am (modified) (1 diff)
-
platform/nodes/default_GPP_USRP_sound_node/configure.ac (modified) (1 diff)
-
platform/nodes/default_GPP_node/DeviceManager.dcd.xml (modified) (1 diff)
-
platform/nodes/default_GPP_node/Makefile.am (modified) (1 diff)
-
platform/nodes/default_GPP_node/configure.ac (modified) (1 diff)
-
platform/nodes/default_GPP_sound_node/DeviceManager.dcd.xml (modified) (2 diffs)
-
platform/nodes/default_GPP_sound_node/Makefile.am (modified) (1 diff)
-
platform/nodes/default_GPP_sound_node/configure.ac (modified) (1 diff)
-
platform/nodes/default_ml403_node/DeviceManager.dcd.xml (modified) (1 diff)
-
platform/nodes/default_ml403_node/Makefile.am (modified) (1 diff)
-
platform/nodes/default_ml403_node/configure.ac (modified) (1 diff)
-
system/c_wavLoader/c_wavLoader.cpp (modified) (10 diffs)
-
system/c_wavLoader/configure.ac (modified) (1 diff)
-
system/customInterfaces/customInterfaces.pc (modified) (1 diff)
-
system/nodebooter/configure.ac (modified) (1 diff)
-
system/nodebooter/nodebooter.cpp (modified) (3 diffs)
-
system/ossie/framework/ApplicationFactory_impl.cpp (modified) (31 diffs)
-
system/ossie/framework/Application_impl.cpp (modified) (17 diffs)
-
system/ossie/framework/DeviceManager_impl.cpp (modified) (17 diffs)
-
system/ossie/framework/DomainManager_impl.cpp (modified) (26 diffs)
-
system/ossie/framework/FileManager_impl.cpp (modified) (11 diffs)
-
system/ossie/framework/FileSystem_impl.cpp (modified) (6 diffs)
-
system/ossie/framework/File_impl.cpp (modified) (1 diff)
-
system/ossie/framework/LoadableDevice_impl.cpp (modified) (1 diff)
-
system/ossie/parser/SADParser.cpp (modified) (2 diffs)
-
waveforms/OSSIETalkLoopBack/Makefile.am (modified) (1 diff)
-
waveforms/OSSIETalkLoopBack/configure.ac (modified) (1 diff)
-
waveforms/OSSIETalkUSRP/Makefile.am (modified) (1 diff)
-
waveforms/OSSIETalkUSRP/configure.ac (modified) (1 diff)
-
waveforms/ml403_ossie_demo/Makefile.am (modified) (1 diff)
-
waveforms/ml403_ossie_demo/configure.ac (modified) (1 diff)
-
waveforms/ossie_demo/Makefile.am (modified) (1 diff)
-
waveforms/ossie_demo/configure.ac (modified) (1 diff)
-
waveforms/ossie_demo/ossie_demo.sad.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ossiedev/trunk/components/AutomaticGainControl/Makefile.am
r9466 r9571 16 16 17 17 ossieName = AutomaticGainControl 18 xmldir = $(prefix)/ xml/$(ossieName)19 bindir = $(prefix)/ bin18 xmldir = $(prefix)/dom/xml/$(ossieName) 19 bindir = $(prefix)/dom/bin 20 20 21 21 dist_xml_DATA = \ -
ossiedev/trunk/components/AutomaticGainControl/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/AutomaticGainControl/xml/AutomaticGainControl.spd.xml
r9283 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/AutomaticGainControl"/>22 <localfile name="/bin/AutomaticGainControl"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/Channel/Channel.spd.xml
r9283 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/Channel"/>22 <localfile name="/bin/Channel"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/Channel/Makefile.am
r9466 r9571 12 12 13 13 ossieName = Channel 14 xmldir = $(prefix)/ xml/$(ossieName)15 bindir = $(prefix)/ bin14 xmldir = $(prefix)/dom/xml/$(ossieName) 15 bindir = $(prefix)/dom/bin 16 16 dist_xml_DATA = Channel.prf.xml Channel.scd.xml \ 17 17 Channel.spd.xml -
ossiedev/trunk/components/Channel/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr/ ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/ChannelDemo/ChannelDemo.spd.xml
r8872 r9571 20 20 <description>Linux implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/ChannelDemo"/>22 <localfile name="/bin/ChannelDemo"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> … … 28 28 <description>Linux implementation for the powerpc architecture</description> 29 29 <code type="Executable"> 30 <localfile name="/ sdr/bin/ChannelDemo_powerpc"/>30 <localfile name="/bin/ChannelDemo_powerpc"/> 31 31 </code> 32 32 <os name="Linux" version="2.6.27-rc9-xlnx"/> -
ossiedev/trunk/components/ChannelDemo/Makefile.am
r9466 r9571 13 13 14 14 ossieName = ChannelDemo 15 xmldir = $(prefix)/ xml/$(ossieName)16 bindir = $(prefix)/ bin15 xmldir = $(prefix)/dom/xml/$(ossieName) 16 bindir = $(prefix)/dom/bin 17 17 dist_xml_DATA = ChannelDemo.prf.xml ChannelDemo.scd.xml \ 18 18 ChannelDemo.spd.xml -
ossiedev/trunk/components/ChannelDemo/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/Conv_Dec/Conv_Dec.spd.xml
r9283 r9571 19 19 <description>x86 Implementation</description> 20 20 <code type="Executable"> 21 <localfile name="/ sdr/bin/Conv_Dec"/>21 <localfile name="/bin/Conv_Dec"/> 22 22 </code> 23 23 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/Conv_Dec/Makefile.am
r9466 r9571 13 13 14 14 ossieName = Conv_Dec 15 xmldir = $(prefix)/ xml/$(ossieName)16 bindir = $(prefix)/ bin15 xmldir = $(prefix)/dom/xml/$(ossieName) 16 bindir = $(prefix)/dom/bin 17 17 dist_xml_DATA = Conv_Dec.prf.xml Conv_Dec.scd.xml \ 18 18 Conv_Dec.spd.xml -
ossiedev/trunk/components/Conv_Dec/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/Conv_Enc/Conv_Enc.spd.xml
r9283 r9571 19 19 <description>x86 Implementation</description> 20 20 <code type="Executable"> 21 <localfile name="/ sdr/bin/Conv_Enc"/>21 <localfile name="/bin/Conv_Enc"/> 22 22 </code> 23 23 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/Conv_Enc/Makefile.am
r9466 r9571 13 13 14 14 ossieName = Conv_Enc 15 xmldir = $(prefix)/ xml/$(ossieName)16 bindir = $(prefix)/ bin15 xmldir = $(prefix)/dom/xml/$(ossieName) 16 bindir = $(prefix)/dom/bin 17 17 dist_xml_DATA = Conv_Enc.prf.xml Conv_Enc.scd.xml \ 18 18 Conv_Enc.spd.xml -
ossiedev/trunk/components/Conv_Enc/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/Decimator/Decimator.spd.xml
r9283 r9571 22 22 <implementation id="DCE:1aee5bc6-5149-4c58-a2ae-89fab9276719" aepcompliance="aep_compliant"> 23 23 <code type="Executable"> 24 <localfile name="/ sdr/bin/Decimator" />24 <localfile name="/bin/Decimator" /> 25 25 </code> 26 26 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/Decimator/Makefile.am
r9466 r9571 9 9 10 10 bin_PROGRAMS = Decimator 11 bindir = $(prefix)/ bin11 bindir = $(prefix)/dom/bin 12 12 13 13 Decimator_SOURCES = main.cpp Decimator.cpp Decimator.h 14 14 15 15 ossieName = Decimator 16 xmldir = $(prefix)/ xml/$(ossieName)16 xmldir = $(prefix)/dom/xml/$(ossieName) 17 17 dist_xml_DATA = Decimator.scd.xml Decimator.spd.xml Decimator.prf.xml 18 18 -
ossiedev/trunk/components/Decimator/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/DigitalModem/Makefile.am
r9479 r9571 6 6 DigitalModulator 7 7 8 bindir = $(prefix)/ bin8 bindir = $(prefix)/dom/bin 9 9 10 10 # ---------- DigitalModulator ---------- … … 24 24 25 25 ossieName1 = DigitalModulator 26 xml1dir = $(prefix)/ xml/$(ossieName1)26 xml1dir = $(prefix)/dom/xml/$(ossieName1) 27 27 28 28 dist_xml1_DATA = \ … … 48 48 49 49 ossieName2 = DigitalDemodulator 50 xml2dir = $(prefix)/ xml/$(ossieName2)50 xml2dir = $(prefix)/dom/xml/$(ossieName2) 51 51 52 52 dist_xml2_DATA = \ -
ossiedev/trunk/components/DigitalModem/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/DigitalModem/xml/DigitalDemodulator.spd.xml
r9283 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/DigitalDemodulator"/>22 <localfile name="/bin/DigitalDemodulator"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/DigitalModem/xml/DigitalModulator.spd.xml
r9283 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/DigitalModulator"/>22 <localfile name="/bin/DigitalModulator"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/FrameAssembler/Makefile.am
r9485 r9571 9 9 10 10 bin_PROGRAMS = FrameAssembler 11 bindir = $(prefix)/ bin11 bindir = $(prefix)/dom/bin 12 12 13 13 # ---------- FrameAssembler ---------- … … 20 20 21 21 ossieName1 = FrameAssembler 22 xml1dir = $(prefix)/ xml/$(ossieName1)22 xml1dir = $(prefix)/dom/xml/$(ossieName1) 23 23 dist_xml1_DATA = \ 24 24 xml/FrameAssembler.prf.xml \ -
ossiedev/trunk/components/FrameAssembler/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/FrameAssembler/xml/FrameAssembler.spd.xml
r9285 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/FrameAssembler"/>22 <localfile name="/bin/FrameAssembler"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/Interpolator/Makefile.am
r9466 r9571 9 9 10 10 ossieName = Interpolator 11 dombindir = $(prefix)/ bin11 dombindir = $(prefix)/dom/bin 12 12 dombin_PROGRAMS = Interpolator 13 13 14 xmldir = $(prefix)/ xml/$(ossieName)14 xmldir = $(prefix)/dom/xml/$(ossieName) 15 15 dist_xml_DATA = Interpolator.prf.xml Interpolator.scd.xml \ 16 16 Interpolator.spd.xml -
ossiedev/trunk/components/Interpolator/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/JPEG_VideoViewer/JPEG_VideoViewer.spd.xml
r9285 r9571 19 19 <description>x86 Implementation</description> 20 20 <code type="Executable"> 21 <localfile name="/ sdr/bin/JPEG_VideoViewer"/>21 <localfile name="/bin/JPEG_VideoViewer"/> 22 22 </code> 23 23 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/JPEG_VideoViewer/Makefile.am
r9485 r9571 8 8 9 9 bin_PROGRAMS = JPEG_VideoViewer 10 bindir = $(prefix)/dom/bin 10 11 11 12 JPEG_VideoViewer_SOURCES = JPEG_VideoViewer.cpp JPEG_VideoViewer.h main.cpp utils.cpp utils.h 12 13 13 14 ossieName = JPEG_VideoViewer 14 xmldir = $(prefix)/ xml/$(ossieName)15 xmldir = $(prefix)/dom/xml/$(ossieName) 15 16 dist_xml_DATA = JPEG_VideoViewer.prf.xml JPEG_VideoViewer.scd.xml \ 16 17 JPEG_VideoViewer.spd.xml -
ossiedev/trunk/components/JPEG_VideoViewer/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/OSSIETalk/Makefile.am
r9479 r9571 2 2 ossieName = OSSIETalk 3 3 4 xmldir = $(prefix)/ xml/$(ossieName)5 pydir = $(prefix)/ bin/$(ossieName)4 xmldir = $(prefix)/dom/xml/$(ossieName) 5 pydir = $(prefix)/dom/bin/$(ossieName) 6 6 dist_xml_DATA = \ 7 7 OSSIETalk.prf.xml \ -
ossiedev/trunk/components/OSSIETalk/OSSIETalk.spd.xml
r9285 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/OSSIETalk/OSSIETalk.py"/>22 <localfile name="/bin/OSSIETalk/OSSIETalk.py"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/PacketResizer/Makefile.am
r9466 r9571 12 12 13 13 ossieName = PacketResizer 14 xmldir = $(prefix)/ xml/$(ossieName)15 bindir = $(prefix)/ bin14 xmldir = $(prefix)/dom/xml/$(ossieName) 15 bindir = $(prefix)/dom/bin 16 16 dist_xml_DATA = PacketResizer.prf.xml PacketResizer.scd.xml \ 17 17 PacketResizer.spd.xml -
ossiedev/trunk/components/PacketResizer/PacketResizer.spd.xml
r9285 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/PacketResizer"/>22 <localfile name="/bin/PacketResizer"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/PacketResizer/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr/ ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/RxDemo/Makefile.am
r9466 r9571 12 12 13 13 ossieName = RxDemo 14 xmldir = $(prefix)/ xml/$(ossieName)15 bindir = $(prefix)/ bin14 xmldir = $(prefix)/dom/xml/$(ossieName) 15 bindir = $(prefix)/dom/bin 16 16 dist_xml_DATA = RxDemo.prf.xml RxDemo.scd.xml \ 17 17 RxDemo.spd.xml -
ossiedev/trunk/components/RxDemo/RxDemo.spd.xml
r8872 r9571 20 20 <description>Linux implementation for the x86 architecture</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/RxDemo"/>22 <localfile name="/bin/RxDemo"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> … … 28 28 <description>Linux implementation for the powerpc architecture</description> 29 29 <code type="Executable"> 30 <localfile name="/ sdr/bin/RxDemo_powerpc"/>30 <localfile name="/bin/RxDemo_powerpc"/> 31 31 </code> 32 32 <os name="Linux" version="2.6.27-rc9-xlnx"/> -
ossiedev/trunk/components/RxDemo/configure.ac
r9466 r9571 4 4 AC_CONFIG_MACRO_DIR([m4]) 5 5 LT_INIT 6 AC_PREFIX_DEFAULT("/sdr ")6 AC_PREFIX_DEFAULT("/sdr/dom") 7 7 8 8 AC_PROG_CXX 9 9 AC_PROG_INSTALL 10 AC_PROG_LIBTOOL 10 11 AC_PROG_MAKE_SET 11 12 -
ossiedev/trunk/components/SymbolSyncPoly/Makefile.am
r9479 r9571 8 8 FrameSynchronizer 9 9 10 bindir = $(prefix)/ bin10 bindir = $(prefix)/dom/bin 11 11 12 12 # ---------- SymbolSyncPoly ---------- … … 26 26 27 27 ossieName1 = SymbolSyncPoly 28 xml1dir = $(prefix)/ xml/$(ossieName1)28 xml1dir = $(prefix)/dom/xml/$(ossieName1) 29 29 dist_xml1_DATA = \ 30 30 xml/SymbolSyncPoly.prf.xml \ … … 51 51 52 52 ossieName2 = MultirateSynchronizer 53 xml2dir = $(prefix)/ xml/$(ossieName2)53 xml2dir = $(prefix)/dom/xml/$(ossieName2) 54 54 dist_xml2_DATA = \ 55 55 xml/MultirateSynchronizer.prf.xml \ … … 79 79 80 80 ossieName3 = FrameSynchronizer 81 xml3dir = $(prefix)/ xml/$(ossieName3)81 xml3dir = $(prefix)/dom/xml/$(ossieName3) 82 82 dist_xml3_DATA = \ 83 83 xml/FrameSynchronizer.prf.xml \ -
ossiedev/trunk/components/SymbolSyncPoly/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/SymbolSyncPoly/xml/FrameSynchronizer.spd.xml
r9285 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/FrameSynchronizer"/>22 <localfile name="/bin/FrameSynchronizer"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/SymbolSyncPoly/xml/MultirateSynchronizer.spd.xml
r9285 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/MultirateSynchronizer"/>22 <localfile name="/bin/MultirateSynchronizer"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/SymbolSyncPoly/xml/SymbolSyncPoly.spd.xml
r9285 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/SymbolSyncPoly"/>22 <localfile name="/bin/SymbolSyncPoly"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/TxDemo/Makefile.am
r9466 r9571 12 12 13 13 ossieName = TxDemo 14 xmldir = $(prefix)/ xml/$(ossieName)15 bindir = $(prefix)/ bin14 xmldir = $(prefix)/dom/xml/$(ossieName) 15 bindir = $(prefix)/dom/bin 16 16 dist_xml_DATA = TxDemo.prf.xml TxDemo.scd.xml \ 17 17 TxDemo.spd.xml TxDemo_v4.prf.xml -
ossiedev/trunk/components/TxDemo/TxDemo.spd.xml
r9176 r9571 20 20 <description>Linux implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/TxDemo"/>22 <localfile name="/bin/TxDemo"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> … … 28 28 <description>Linux implementation for the powerpc architecture</description> 29 29 <code type="Executable"> 30 <localfile name="/ sdr/bin/TxDemo_powerpc"/>30 <localfile name="/bin/TxDemo_powerpc"/> 31 31 </code> 32 32 <os name="Linux" version="2.6.27-rc9-xlnx"/> … … 39 39 </propertyfile> 40 40 <code type="Executable"> 41 <localfile name="/ sdr/bin/TxDemo_v4"/>41 <localfile name="/bin/TxDemo_v4"/> 42 42 </code> 43 43 <os name="Linux" version="2.6.27-rc9-xlnx"/> -
ossiedev/trunk/components/TxDemo/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/USRP_Commander/Makefile.am
r9466 r9571 17 17 18 18 ossieName = USRP_Commander 19 xmldir = $(prefix)/ xml/$(ossieName)20 bindir = $(prefix)/ bin19 xmldir = $(prefix)/dom/xml/$(ossieName) 20 bindir = $(prefix)/dom/bin 21 21 22 22 dist_xml_DATA = \ -
ossiedev/trunk/components/USRP_Commander/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/USRP_Commander/xml/USRP_Commander.spd.xml
r9285 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/USRP_Commander"/>22 <localfile name="/bin/USRP_Commander"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/WFMDemod/Makefile.am
r9466 r9571 13 13 14 14 ossieName = WFMDemod 15 xmldir = $(prefix)/ xml/$(ossieName)16 bindir = $(prefix)/ bin15 xmldir = $(prefix)/dom/xml/$(ossieName) 16 bindir = $(prefix)/dom/bin 17 17 dist_xml_DATA = WFMDemod.prf.xml WFMDemod.scd.xml \ 18 18 WFMDemod.spd.xml -
ossiedev/trunk/components/WFMDemod/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/WebCamCapture/Makefile.am
r9485 r9571 9 9 10 10 bin_PROGRAMS = WebCamCapture 11 bindir = $(prefix)/dom/bin 11 12 12 13 WebCamCapture_SOURCES = WebCamCapture.cpp WebCamCapture.h utils.cpp utils.h main.cpp 13 14 14 15 ossieName = WebCamCapture 15 xmldir = $(prefix)/ xml/$(ossieName)16 xmldir = $(prefix)/dom/xml/$(ossieName) 16 17 dist_xml_DATA = WebCamCapture.prf.xml WebCamCapture.scd.xml \ 17 18 WebCamCapture.spd.xml -
ossiedev/trunk/components/WebCamCapture/WebCamCapture.spd.xml
r9285 r9571 19 19 <description>x86 Implementation</description> 20 20 <code type="Executable"> 21 <localfile name="/ sdr/bin/WebCamCapture"/>21 <localfile name="/bin/WebCamCapture"/> 22 22 </code> 23 23 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/WebCamCapture/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/am_demod/Makefile.am
r9466 r9571 12 12 13 13 ossieName = am_demod 14 xmldir = $(prefix)/xml/$(ossieName) 14 bindir = $(prefix)/dom/bin/ 15 xmldir = $(prefix)/dom/xml/$(ossieName) 15 16 dist_xml_DATA = am_demod.prf.xml am_demod.scd.xml \ 16 17 am_demod.spd.xml -
ossiedev/trunk/components/am_demod/am_demod.spd.xml
r9283 r9571 19 19 <description>Default Description</description> 20 20 <code type="Executable"> 21 <localfile name="/ sdr/bin/am_demod"/>21 <localfile name="/bin/am_demod"/> 22 22 </code> 23 23 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/am_demod/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/amplifier/Makefile.am
r9466 r9571 13 13 14 14 ossieName = amplifier 15 xmldir = $(prefix)/xml/$(ossieName) 15 bindir = $(prefix)/dom/bin/ 16 xmldir = $(prefix)/dom/xml/$(ossieName) 16 17 dist_xml_DATA = amplifier.prf.xml amplifier.scd.xml \ 17 18 amplifier.spd.xml -
ossiedev/trunk/components/amplifier/amplifier.spd.xml
r9283 r9571 20 20 <description>x86 Implementation</description> 21 21 <code type="Executable"> 22 <localfile name="/ sdr/bin/amplifier"/>22 <localfile name="/bin/amplifier"/> 23 23 </code> 24 24 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/amplifier/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/components/pass_data/Makefile.am
r9479 r9571 2 2 ossieName = pass_data 3 3 4 xmldir = $(prefix)/ xml/$(ossieName)5 pydir = $(prefix)/ bin/$(ossieName)4 xmldir = $(prefix)/dom/xml/$(ossieName) 5 pydir = $(prefix)/dom/bin/$(ossieName) 6 6 dist_xml_DATA = \ 7 7 pass_data.prf.xml \ -
ossiedev/trunk/components/pass_data/pass_data.spd.xml
r9285 r9571 19 19 <description>x86 Implementation</description> 20 20 <code type="Executable"> 21 <localfile name="/ sdr/bin/pass_data.py"/>21 <localfile name="/bin/pass_data.py"/> 22 22 </code> 23 23 <os name="Linux" version="2.6.26.3"/> -
ossiedev/trunk/components/rc2007_gui/Makefile.am
r9479 r9571 2 2 ossieName = rc2007_gui 3 3 4 xmldir = $(prefix)/ xml/$(ossieName)5 pydir = $(prefix)/ bin/$(ossieName)4 xmldir = $(prefix)/dom/xml/$(ossieName) 5 pydir = $(prefix)/dom/bin/$(ossieName) 6 6 dist_xml_DATA = \ 7 7 rc2007_gui.prf.xml \ -
ossiedev/trunk/components/rc2007_gui/rc2007_gui.spd.xml
r6896 r9571 12 12 </author> 13 13 <propertyfile type="PRF"> 14 <localfile name=" xml/rc2007_gui/rc2007_gui.prf.xml"/>14 <localfile name="/xml/rc2007_gui/rc2007_gui.prf.xml"/> 15 15 </propertyfile> 16 16 <descriptor> 17 <localfile name=" xml/rc2007_gui/rc2007_gui.scd.xml"/>17 <localfile name="/xml/rc2007_gui/rc2007_gui.scd.xml"/> 18 18 </descriptor> 19 19 <implementation id="DCE:92f2a4c8-5309-11dc-82ac-00123f573a7f"> 20 20 <description>Description</description> 21 21 <code type="Executable"> 22 <localfile name=" bin/rc2007_gui/rc2007_gui.py"/>22 <localfile name="/bin/rc2007_gui/rc2007_gui.py"/> 23 23 </code> 24 24 <processor name="x86"/> -
ossiedev/trunk/configure.ac
r9475 r9571 1 1 AC_PREREQ([2.61]) 2 2 AC_INIT([ossie], [0.8.0]) 3 AC_PREFIX_DEFAULT("/sdr") 3 4 AC_CANONICAL_SYSTEM 4 5 AM_INIT_AUTOMAKE([-Wall -Werror foreign]) 5 LT_PREREQ([2.2])6 LT_INIT([dlopen])7 6 AC_PROG_CXX 8 7 -
ossiedev/trunk/platform/GPP/GPP.spd.xml
r9176 r9571 19 19 <implementation id="DCE:0ef71fab-731d-4ee1-a528-a6da2207e0c5" aepcompliance="aep_compliant"> 20 20 <code type="Executable"> 21 <localfile name=" bin/GPP" />21 <localfile name="dev/bin/GPP" /> 22 22 </code> 23 23 <compiler name="gcc" version="4.3.0" /> … … 28 28 <implementation id="DCE:5eb7c76f-9f03-47c5-bd46-c77df690549f" aepcompliance="aep_compliant"> 29 29 <code type="Executable"> 30 <localfile name="bin/GPP_powerpc"/>30 <localfile name="dev/bin/GPP_powerpc"/> 31 31 </code> 32 32 <propertyfile type="PRF"> -
ossiedev/trunk/platform/GPP/Makefile.am
r9466 r9571 9 9 esseName = GPP 10 10 11 devbindir = $(prefix)/ bin11 devbindir = $(prefix)/dev/bin 12 12 devbin_PROGRAMS = GPP 13 13 14 xmldir = $(prefix)/ xml/$(ossieName)14 xmldir = $(prefix)/dev/xml/$(ossieName) 15 15 dist_xml_DATA = GPP.scd.xml GPP.spd.xml PowerPC405.prf.xml 16 16 -
ossiedev/trunk/platform/GPP/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dev") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/platform/Sound_in/Makefile.am
r9466 r9571 15 15 16 16 ossieName = soundCardCapture 17 xmldir = $(prefix)/ xml/$(ossieName)18 bindir = $(prefix)/ bin17 xmldir = $(prefix)/dev/xml/$(ossieName) 18 bindir = $(prefix)/dev/bin 19 19 20 20 dist_xml_DATA = \ -
ossiedev/trunk/platform/Sound_in/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dev") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/platform/Sound_in/soundCardCapture.spd.xml
r9282 r9571 22 22 <implementation id="DCE:cfbeaba2-026c-46bd-98db-7f86ff80030d" aepcompliance="aep_compliant"> 23 23 <code type="Executable"> 24 <localfile name=" bin/soundCardCapture" />24 <localfile name="dev/bin/soundCardCapture" /> 25 25 </code> 26 26 <os name="Linux" version="5.5.1" /> -
ossiedev/trunk/platform/Sound_out/Makefile.am
r9485 r9571 29 29 30 30 ossieName = soundCardPlayback 31 xmldir = $(prefix)/ xml/$(ossieName)32 bindir = $(prefix)/ bin31 xmldir = $(prefix)/dev/xml/$(ossieName) 32 bindir = $(prefix)/dev/bin 33 33 34 34 dist_xml_DATA = \ -
ossiedev/trunk/platform/Sound_out/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dev") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/platform/Sound_out/soundCardPlayback.spd.xml
r9282 r9571 22 22 <implementation id="DCE:4b903f0e-0c2c-401b-89fc-3beaa82359f0" aepcompliance="aep_compliant"> 23 23 <code type="Executable"> 24 <localfile name=" bin/soundCardPlayback" />24 <localfile name="dev/bin/soundCardPlayback" /> 25 25 </code> 26 26 <os name="Linux" version="5.5.1" /> -
ossiedev/trunk/platform/USRP/Makefile.am
r9466 r9571 8 8 ../../system/standardInterfaces/libstandardInterfaces.la 9 9 10 devbindir = $(prefix)/ bin10 devbindir = $(prefix)/dev/bin 11 11 devbin_PROGRAMS = USRP 12 12 … … 30 30 31 31 ossieName = USRP 32 xmldir = $(prefix)/ xml/$(ossieName)32 xmldir = $(prefix)/dev/xml/$(ossieName) 33 33 34 34 dist_xml_DATA = \ -
ossiedev/trunk/platform/USRP/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dev") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/platform/USRP/xml/USRP.spd.xml
r7852 r9571 14 14 </author> 15 15 <descriptor name=""> 16 <localfile name=" xml/USRP/USRP.scd.xml" />16 <localfile name="/xml/USRP/USRP.scd.xml" /> 17 17 </descriptor> 18 18 <!--[Implementation USRPImplementation_linux]--> 19 19 <implementation id="DCE:005a01c3-e469-4332-a4bd-a83b0159853e" aepcompliance="aep_compliant"> 20 20 <code type="Executable"> 21 <localfile name=" bin/USRP" />21 <localfile name="dev/bin/USRP" /> 22 22 </code> 23 23 <os name="Linux" version="5.5.1" /> -
ossiedev/trunk/platform/XilinxFPGA/Makefile.am
r9466 r9571 10 10 esseName = XilinxFPGA 11 11 12 devbindir = $(prefix)/ bin12 devbindir = $(prefix)/dev/bin 13 13 devbin_PROGRAMS = XilinxFPGA 14 14 15 xmldir = $(prefix)/ xml/$(ossieName)15 xmldir = $(prefix)/dev/xml/$(ossieName) 16 16 dist_xml_DATA = XilinxFPGA.scd.xml XilinxFPGA.spd.xml XCV4FX12-FF668-10C.prf.xml \ 17 17 EthernetLite.prf.xml UARTLite.prf.xml -
ossiedev/trunk/platform/XilinxFPGA/XilinxFPGA.spd.xml
r9179 r9571 15 15 <description>FX12 Implementation</description> 16 16 <code type="Executable"> 17 <localfile name=" bin/XilinxFPGA"/>17 <localfile name="dev/bin/XilinxFPGA"/> 18 18 </code> 19 19 <propertyfile type="PRF"> -
ossiedev/trunk/platform/XilinxFPGA/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dev") 6 6 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/platform/domain/DomainManager.dmd.xml
r8736 r9571 4 4 <description>OSSIE DomainManager Configuration File</description> 5 5 <domainmanagersoftpkg > 6 <localfile name="/DomainManager.spd.xml"/>6 <localfile name="/domain/DomainManager.spd.xml"/> 7 7 </domainmanagersoftpkg> 8 8 </domainmanagerconfiguration> -
ossiedev/trunk/platform/domain/Makefile.am
r9470 r9571 2 2 ossieName = DomainManager 3 3 4 thistooldir = $(prefix)/dom ain4 thistooldir = $(prefix)/dom/domain 5 5 dist_thistool_DATA = DomainManager.dmd.xml DomainManager.scd.xml DomainManager.prf.xml DomainManager.spd.xml 6 6 -
ossiedev/trunk/platform/domain/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_INSTALL -
ossiedev/trunk/platform/nodes/default_GPP_USRP_node/DeviceManager.dcd.xml
r9286 r9571 5 5 <deviceconfiguration name="DeviceManager" id="DCE:26555f88-e859-11db-97b9-00123f573a7f"> 6 6 <devicemanagersoftpkg> 7 <localfile name="/ DeviceManager.spd.xml"/>7 <localfile name="/nodes/default_GPP_USRP_node/DeviceManager.spd.xml"/> 8 8 </devicemanagersoftpkg> 9 9 <componentfiles> -
ossiedev/trunk/platform/nodes/default_GPP_USRP_node/Makefile.am
r9466 r9571 3 3 ossieName = default_GPP_USRP_node 4 4 5 nodedir = $(prefix)/ nodes/$(ossieName)5 nodedir = $(prefix)/dev/nodes/$(ossieName) 6 6 dist_node_DATA = \ 7 7 DeviceManager.dcd.xml \ -
ossiedev/trunk/platform/nodes/default_GPP_USRP_node/configure.ac
r9466 r9571 4 4 AC_CONFIG_MACRO_DIR([m4]) 5 5 LT_INIT 6 AC_PREFIX_DEFAULT("/sdr ")6 AC_PREFIX_DEFAULT("/sdr/dev") 7 7 8 8 AC_PROG_INSTALL -
ossiedev/trunk/platform/nodes/default_GPP_USRP_sound_node/DeviceManager.dcd.xml
r9286 r9571 5 5 <deviceconfiguration name="DeviceManager" id="DCE:26555f88-e859-11db-97b9-00123f573a7f"> 6 6 <devicemanagersoftpkg> 7 <localfile name="/ DeviceManager.spd.xml"/>7 <localfile name="/nodes/default_GPP_USRP_sound_node/DeviceManager.spd.xml"/> 8 8 </devicemanagersoftpkg> 9 9 <componentfiles> -
ossiedev/trunk/platform/nodes/default_GPP_USRP_sound_node/Makefile.am
r9466 r9571 4 4 ossieName = default_GPP_USRP_sound_node 5 5 6 waveformdir = $(prefix)/ nodes/$(ossieName)6 waveformdir = $(prefix)/dev/nodes/$(ossieName) 7 7 dist_waveform_DATA = DeviceManager.dcd.xml DeviceManager.spd.xml DeviceManager.scd.xml DeviceManager.prf.xml 8 8 -
ossiedev/trunk/platform/nodes/default_GPP_USRP_sound_node/configure.ac
r9466 r9571 4 4 AC_CONFIG_MACRO_DIR([m4]) 5 5 LT_INIT 6 AC_PREFIX_DEFAULT("/sdr ")6 AC_PREFIX_DEFAULT("/sdr/dev") 7 7 8 8 AC_PROG_INSTALL -
ossiedev/trunk/platform/nodes/default_GPP_node/DeviceManager.dcd.xml
r9281 r9571 5 5 <deviceconfiguration name="DeviceManager" id="DCE:6bba314a-d95c-11db-a834-00123f573a7f"> 6 6 <devicemanagersoftpkg> 7 <localfile name="/ DeviceManager.spd.xml"/>7 <localfile name="/nodes/default_GPP_node/DeviceManager.spd.xml"/> 8 8 </devicemanagersoftpkg> 9 9 <componentfiles> -
ossiedev/trunk/platform/nodes/default_GPP_node/Makefile.am
r9470 r9571 5 5 ossieName = default_GPP_node 6 6 7 waveformdir = $(prefix)/ nodes/$(ossieName)7 waveformdir = $(prefix)/dev/nodes/$(ossieName) 8 8 dist_waveform_DATA = DeviceManager.dcd.xml DeviceManager.spd.xml DeviceManager.scd.xml DeviceManager.prf.xml 9 9 -
ossiedev/trunk/platform/nodes/default_GPP_node/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dev") 6 6 7 7 AC_PROG_INSTALL -
ossiedev/trunk/platform/nodes/default_GPP_sound_node/DeviceManager.dcd.xml
r9282 r9571 5 5 <deviceconfiguration id="DCE:2607c0a6-c54f-11dc-8920-000c29a1ba37" name="DeviceManager"> 6 6 <devicemanagersoftpkg> 7 <localfile name="/ DeviceManager.spd.xml"/>7 <localfile name="/nodes/default_GPP_sound_node/DeviceManager.spd.xml"/> 8 8 </devicemanagersoftpkg> 9 9 <componentfiles> … … 13 13 </componentfile> 14 14 <componentfile type="SPD" id="32d3bc8c-13e2-11dc-be81-00123f63025f"> 15 <localfile name=" xml/soundCardCapture/soundCardCapture.spd.xml"/>15 <localfile name="/xml/soundCardCapture/soundCardCapture.spd.xml"/> 16 16 </componentfile> 17 17 <componentfile id="GPP1_98faff14-c546-11dc-afee-000c29a1ba37" type="SPD"> -
ossiedev/trunk/platform/nodes/default_GPP_sound_node/Makefile.am
r9466 r9571 3 3 ossieName = default_GPP_sound_node 4 4 5 waveformdir = $(prefix)/ nodes/$(ossieName)5 waveformdir = $(prefix)/dev/nodes/$(ossieName) 6 6 dist_waveform_DATA = DeviceManager.dcd.xml DeviceManager.spd.xml DeviceManager.scd.xml DeviceManager.prf.xml 7 7 -
ossiedev/trunk/platform/nodes/default_GPP_sound_node/configure.ac
r9466 r9571 4 4 AC_CONFIG_MACRO_DIR([m4]) 5 5 LT_INIT 6 AC_PREFIX_DEFAULT("/sdr ")6 AC_PREFIX_DEFAULT("/sdr/dev") 7 7 8 8 AC_PROG_INSTALL -
ossiedev/trunk/platform/nodes/default_ml403_node/DeviceManager.dcd.xml
r9176 r9571 5 5 <deviceconfiguration id="DCE:4b14b5b2-fc5c-11dd-9a58-001d092f0ea2" name="DeviceManager_ml403"> 6 6 <devicemanagersoftpkg> 7 <localfile name="/ DeviceManager.spd.xml"/>7 <localfile name="/nodes/default_ml403_node/DeviceManager.spd.xml"/> 8 8 </devicemanagersoftpkg> 9 9 <componentfiles> -
ossiedev/trunk/platform/nodes/default_ml403_node/Makefile.am
r9466 r9571 4 4 ossieName = default_ml403_node 5 5 6 waveformdir = $(prefix)/ nodes/$(ossieName)6 waveformdir = $(prefix)/dev/nodes/$(ossieName) 7 7 dist_waveform_DATA = DeviceManager.dcd.xml DeviceManager.spd.xml DeviceManager.scd.xml \ 8 8 DeviceManager.prf.xml ml403.prf.xml ml403.dpd.xml -
ossiedev/trunk/platform/nodes/default_ml403_node/configure.ac
r9466 r9571 4 4 AC_CONFIG_MACRO_DIR([m4]) 5 5 LT_INIT 6 AC_PREFIX_DEFAULT("/sdr ")6 AC_PREFIX_DEFAULT("/sdr/dev") 7 7 8 8 AC_PROG_INSTALL -
ossiedev/trunk/system/c_wavLoader/c_wavLoader.cpp
r8874 r9571 41 41 case 0: // No installed applications 42 42 for (unsigned int i=0; i<files->length(); i++) { 43 std::cout << " " << i+1 << ": " << (*files)[i].name << std::endl; 43 std::cout << " " << i+1 << ": " << (*files)[i].name << std::endl; 44 } 44 45 std::cout << "n - Install application number n" << std::endl; 45 }46 46 std::cout << "x - exit" << std::endl; 47 47 break; … … 62 62 static CF::DeviceAssignmentSequence *read_das(const char *name_SAD) 63 63 { 64 65 64 std::string inStr = name_SAD; 66 65 … … 68 67 std::string::size_type begin = inStr.find_last_of("/"); 69 68 70 std::cout << "pos = " << pos << " Base name - " << inStr.substr(begin+1,pos-begin-1) << std::endl;71 72 std::string DAS_name = "/" + inStr.substr(begin+1,pos-begin-1) + "_DAS.xml";69 //std::cout << "pos = " << pos << " Base name - " << inStr.substr(begin+1,pos-begin-1) << std::endl; 70 71 std::string DAS_name = inStr.substr(0,pos) + "_DAS.xml"; 73 72 std::cout << "DAS name: " << DAS_name << std::endl; 74 73 … … 90 89 DASParser das(das_file); 91 90 92 das_file->close(); 91 try 92 { 93 das_file->close(); 94 } catch( CORBA::SystemException& se ) { 95 std::cout << "[c_wavLoader::read_das] \"das_file->close\" failed with CORBA::SystemException\n"; 96 exit(EXIT_FAILURE); 97 } catch( ... ) { 98 std::cout << "[c_wavLoader::read_das] \"das_file->close\" failed with Unknown Exception\n"; 99 exit(EXIT_FAILURE); 100 } 93 101 94 102 return das.das(); 95 96 103 } 97 104 98 105 99 106 static CF::Application_ptr install_app (int app_no, CF::FileSystem::FileInformationSequence* files, CF::DomainManager_var domMgr) 100 101 107 { 102 108 CF::Properties _appFacProps( 0 ); … … 107 113 // find the application associated with requested SAD 108 114 109 std::string name_SAD("/"); 110 name_SAD += (*files)[app_no].name; 115 std::string name_SAD( (*files)[app_no].name ); 116 // NOTE: this is kind of a hack that assumes that the first 117 // directory in the string is the root, which should be removed. 118 // This may or may not be permanent. 119 size_t found = name_SAD.find_first_of("/"); 120 name_SAD = name_SAD.substr(found); 111 121 112 122 // install application in DM") 113 123 114 try { 115 domMgr->installApplication( name_SAD.c_str() ); 116 std::cout << name_SAD << " successfully installed onto Domain Manager\n"; 117 118 //Specify what component should be deployed on particular devices 119 120 CF::DeviceAssignmentSequence *das; 121 122 das = read_das(name_SAD.c_str()); 123 124 // local variable for list of Application Factories returned by DM 125 126 CF::DomainManager::ApplicationFactorySequence *_applicationFactories; 127 // get the list of available Application Factories from DM 128 _applicationFactories = domMgr->applicationFactories(); 129 130 // create Application from Application Factory 131 std::cout << "App fact seq length = " << _applicationFactories->length() << std::endl; 132 std::cout << "_applicationFactories[0]->name()" << std::endl; 133 std::cout << (*_applicationFactories)[ 0 ] ->name() << std::endl; 134 std::cout << "Calling appfactory->create now" << std::endl; 135 136 app = (*_applicationFactories)[ 0 ] ->create( (*_applicationFactories)[ 0 ] ->name(), _appFacProps, *das ); 137 138 std::cout << "Application created. Ready to run or uninstall\n"; 139 140 return(app); 124 try 125 { 126 domMgr->installApplication( name_SAD.c_str() ); 127 std::cout << name_SAD << " successfully installed onto Domain Manager\n"; 128 129 //Specify what component should be deployed on particular devices 130 131 CF::DeviceAssignmentSequence *das; 132 133 das = read_das(name_SAD.c_str()); 134 135 // local variable for list of Application Factories returned by DM 136 137 CF::DomainManager::ApplicationFactorySequence *_applicationFactories; 138 // get the list of available Application Factories from DM 139 _applicationFactories = domMgr->applicationFactories(); 140 141 // create Application from Application Factory 142 std::cout << "App fact seq length = " << _applicationFactories->length() << std::endl; 143 std::cout << "_applicationFactories[0]->name()" << std::endl; 144 std::cout << (*_applicationFactories)[ 0 ] ->name() << std::endl; 145 std::cout << "Calling appfactory->create now" << std::endl; 146 147 app = (*_applicationFactories)[ 0 ] ->create( (*_applicationFactories)[ 0 ] ->name(), _appFacProps, *das ); 148 149 std::cout << "Application created. Ready to run or uninstall\n"; 150 151 return(app); 141 152 } catch (CF::DomainManager::ApplicationInstallationError ex) { 142 std::cout << "Install application failed with message: " << ex.msg << std::endl; 143 144 return(NULL); 145 } 146 153 std::cout << "[c_wavLoader::install_app] Install application failed with message: " << ex.msg << std::endl; 154 155 return NULL; 156 } catch( ... ) { 157 std::cout << "[c_wavLoader::install_app] Install application failed with Unknown Exception\n"; 158 159 return NULL; 160 } 147 161 } 148 162 149 163 int main( int argc, char** argv ) 150 151 164 { 152 153 ossieDebugLevel = 9; 165 ossieDebugLevel = 0; 166 167 for( int i = 0; i < argc; i++ ) 168 { 169 if( strcmp( "-debug", argv[i] ) == 0 ) 170 ossieDebugLevel = atoi(argv[i+1]); 171 } 154 172 155 173 CORBA::ORB_var orb = CORBA::ORB_init( argc, argv ); 156 CosNaming::NamingContext_var rootContext;157 158 // Open_DM myDomainManager( argc, argv );159 //cout << "Domain Manager successfully instantiated" << endl;160 161 try { 162 CORBA::Object_var obj;163 obj = orb->resolve_initial_references("NameService");164 165 rootContext = CosNaming::NamingContext::_narrow(obj); 166 if (CORBA::is_nil(rootContext)) {167 std::cerr << "Failed to narrow the root naming context." << std::endl;168 }169 } catch(CORBA::ORB::InvalidName & ) {170 std::cerr << "This shouldn't happen" << std::endl;171 exit (-1);172 } catch( ... ) {173 std::cout << "Unknown error while resolving NamingContext" << std::endl;174 exit(-1);175 }174 175 CosNaming::NamingContext_var rootContext; 176 177 try 178 { 179 CORBA::Object_var obj; 180 obj = orb->resolve_initial_references("NameService"); 181 182 rootContext = CosNaming::NamingContext::_narrow(obj); 183 184 if (CORBA::is_nil(rootContext)) { 185 std::cerr << "Failed to narrow the root naming context." << std::endl; 186 } 187 } catch(CORBA::ORB::InvalidName & ) { 188 std::cerr << "This shouldn't happen" << std::endl; 189 exit (EXIT_FAILURE); 190 } catch( ... ) { 191 std::cout << "Unknown error while resolving NamingContext" << std::endl; 192 exit(EXIT_FAILURE); 193 } 176 194 177 195 CORBA::Object_ptr obj; … … 187 205 name[1].id = (const char *) "DomainManager"; 188 206 obj = rootContext->resolve(name); 189 190 CF::DomainManager_var domMgr = CF::DomainManager::_narrow(obj); 191 192 193 194 // access to the file manager is needed to figure out what applications are available 195 _DM_fm = domMgr->fileMgr(); 207 CF::DomainManager_var domMgr; 208 209 try 210 { 211 domMgr = CF::DomainManager::_narrow(obj); 212 } catch( ... ) { 213 std::cout << "[c_wavLoader] \"CF::DomainManager::_narrow\" failed with Unknown Exception\n"; 214 exit(EXIT_FAILURE); 215 } 216 217 try 218 { 219 // access to the file manager is needed to figure out what applications are available 220 _DM_fm = domMgr->fileMgr(); 221 } catch( CORBA::SystemException& se ) { 222 std::cout << "[c_wavLoader] \"domMgr->fileMgr\" failed with CORBA::SystemException\n"; 223 exit(EXIT_FAILURE); 224 } catch( ... ) { 225 std::cout << "[c_wavLoader] \"domMgr->fileMgr\" failed with Unknown Exception\n"; 226 exit(EXIT_FAILURE); 227 } 196 228 197 229 // Generate a list of available waveforms by findind all the _SAD files … … 215 247 if( maximum_number_applications == 0 ) 216 248 std::cout << "No Applications found." << std::endl; 249 else 250 std::cout << "Found " << maximum_number_applications << " available applications\n"; 217 251 218 252 // create handle to application … … 238 272 case 0: 239 273 if (ch_hit == 'x') { 240 state = 99;274 state = 99; 241 275 } else if ((ch_hit >= '1') && (ch_hit <= ('1' + maximum_number_applications - 1))) { 242 if ((app = install_app(ch_hit - '1', _fileSeq, domMgr))) 243 state = 1; 244 276 if ((app = install_app(ch_hit - '1', _fileSeq, domMgr))) state = 1; 245 277 } 246 278 break; … … 248 280 case 1: 249 281 if (ch_hit == 'u') { 250 domMgr->uninstallApplication( app->identifier() ); 251 252 std::cout << "Application uninstalled from Domain Manager" << std::endl; 253 254 // destroy all components associated with Application 255 app->releaseObject(); 256 app = CF::Application::_nil(); 257 std::cout << "Application destroyed" << std::endl; 258 state = 0; 282 try 283 { 284 domMgr->uninstallApplication( app->identifier() ); 285 } catch( CORBA::SystemException& se ) { 286 std::cout << "[c_wavLoader] \"domMgr->uninstallApplication\" failed with CORBA::SystemException\n"; 287 exit(EXIT_FAILURE); 288 } catch( ... ) { 289 std::cout << "[c_wavLoader] \"domMgr->uninstallApplication\" failed with Unknown Exception\n"; 290 exit(EXIT_FAILURE); 291 } 292 293 std::cout << "Application uninstalled from Domain Manager" << std::endl; 294 295 // destroy all components associated with Application 296 297 try 298 { 299 app->releaseObject(); 300 } catch( CORBA::SystemException& se ) { 301 std::cout << "[c_wavLoader] \"app->releaseObject\" failed with CORBA::SystemException\n"; 302 exit(EXIT_FAILURE); 303 } catch( ... ) { 304 std::cout << "[c_wavLoader] \"app->releaseObject\" failed with Unknown Exception\n"; 305 exit(EXIT_FAILURE); 306 } 307 308 app = CF::Application::_nil(); 309 std::cout << "Application destroyed" << std::endl; 310 state = 0; 259 311 260 312 } else if (ch_hit == 's') { 261 app->start(); 262 state = 2; 313 try 314 { 315 app->start(); 316 } catch( CORBA::SystemException& se ) { 317 std::cout << "[c_wavLoader] \"app->start\" failed with CORBA::SystemException\n"; 318 exit(EXIT_FAILURE); 319 } catch( ... ) { 320 std::cout << "[c_wavLoader] \"app->start\" failed with Unknown Exception\n"; 321 exit(EXIT_FAILURE); 322 } 323 324 state = 2; 263 325 } 264 326 break; … … 266 328 case 2: 267 329 if (ch_hit == 't') { 268 app->stop(); 269 state = 1; 330 try 331 { 332 app->stop(); 333 } catch( CORBA::SystemException& se ) { 334 std::cout << "[c_wavLoader] \"app->stop\" failed with CORBA::SystemException\n"; 335 exit(EXIT_FAILURE); 336 } catch( ... ) { 337 std::cout << "[c_wavLoader] \"app->stop\" failed with Unknown Exception\n"; 338 exit(EXIT_FAILURE); 339 } 340 341 state = 1; 270 342 } 271 343 break; -
ossiedev/trunk/system/c_wavLoader/configure.ac
r9466 r9571 5 5 AC_PROG_CXX 6 6 AC_PROG_INSTALL 7 AC_PROG_LIBTOOL 7 8 AC_PROG_MAKE_SET 8 9 -
ossiedev/trunk/system/customInterfaces/customInterfaces.pc
r9485 r9571 1 prefix=/ usr/local1 prefix=/sdr 2 2 includedir=${prefix}/include 3 3 -
ossiedev/trunk/system/nodebooter/configure.ac
r9466 r9571 7 7 AC_PROG_CXX 8 8 AC_PROG_INSTALL 9 AC_PROG_LIBTOOL 9 10 AC_PROG_MAKE_SET 10 11 -
ossiedev/trunk/system/nodebooter/nodebooter.cpp
r8580 r9571 25 25 #include <iostream> 26 26 #include <string> 27 27 #include <cctype> 28 #include <signal.h> 28 29 #ifdef HAVE_UNISTD_H 29 30 #include <unistd.h> … … 55 56 56 57 58 DomainManager_impl *DomainManager_servant = NULL; 59 DeviceManager_impl *DeviceManager_servant = NULL; 60 57 61 void usage() 58 62 { 59 std::cout << "nodeBooter -D <optional dmd file> -d ddd file" << std::endl;63 std::cout << "nodeBooter -D <optional dmd file> -d ddd file <optional flags>" << std::endl; 60 64 std::cout << "Example: nodeBooter -d DeviceManager.dcd.xml" << std::endl; 61 65 std::cout << "Example: nodeBooter -D -d DeviceManager.dcd.xml" << std::endl; 62 std::cout << "Example: nodeBooter -DDomainManager.dmd.xml -d DeviceManager.dcd.xml (the lack of a space between the -D and the filename is not a typo!" << std::endl; 66 std::cout << "Example: nodeBooter -D DomainManager.dmd.xml -d DeviceManager.dcd.xml" << std::endl; 67 std::cout << "Example: nodeBooter -D -d DeviceManager.dcd.xml -debug 9" << std::endl; 68 std::cout << "Example: nodeBooter -D -d DeviceManager.dcd.xml -ORBInitRef 192.168.1.101" << std::endl; 69 std::cout << "Example: nodeBooter --help" << std::endl; 63 70 } 64 71 65 66 67 int main(int argc, char *argv[]) 68 72 // System Signal Interrupt Handler allows proper ORB shutdown 73 void signal_catcher( int sig ) 74 { 75 std::cout << std::endl << "Signal " << sig << " recieved" << std::endl; 76 if( sig == SIGINT ) 77 { 78 std::cout << "SIGINT caught" << std::endl; 79 DeviceManager_servant->shutdown(); 80 ossieSupport::ORB::orb->shutdown(0); 81 exit(EXIT_SUCCESS); 82 } 83 84 if( sig == SIGQUIT ) 85 { 86 std::cout << "SIGQUIT caught" << std::endl; 87 exit(EXIT_SUCCESS); 88 } 89 } 90 91 int main(unsigned int argc, char *argv[]) 69 92 { 70 93 // Set debug verbosity 0 - no debug messages 3 for typical noisy level 71 ossieDebugLevel = 9;72 73 DomainManager_impl *DomainManager_servant = NULL;74 DeviceManager_impl *DeviceManager_servant = NULL;94 ossieDebugLevel = 0; 95 96 //DomainManager_impl *DomainManager_servant = NULL; 97 //DeviceManager_impl *DeviceManager_servant = NULL; 75 98 76 99 CF::DomainManager_var DomainManager_objref; 77 100 CF::DeviceManager_var DeviceManager_objref; 78 101 79 80 81 102 // parse command line options 82 83 int c;84 85 103 string *dmdFile = NULL; 86 104 string *dmdRoot = NULL; … … 91 109 int startDomainManager = 0; 92 110 111 for( unsigned int i = 1; i < argc; i++ ) 112 { 113 if( strcmp( argv[i], "-D" ) == 0 ) 114 { 115 string tmpdmdfile = argv[i+1]; 116 if( tmpdmdfile.find(".dmd.xml") == string::npos ) 117 dmdFile = new string("dom/domain/DomainManager.dmd.xml"); 118 else 119 dmdFile = new string(tmpdmdfile); 120 121 startDomainManager = 1; 122 } 123 124 if( strcmp( argv[i], "-d" ) == 0 ) 125 { 126 string tmpdcdfile = argv[i+1]; 127 if( tmpdcdfile.find_first_of(".dcd.xml") != string::npos ) 128 dcdFile = new string(tmpdcdfile); 129 else 130 { 131 std::cout << "[nodeBooter] ERROR: Illegal or no DCD profile given\n"; 132 usage(); 133 exit(EXIT_FAILURE); 134 } 135 136 startDeviceManager = 1; 137 } 138 139 if( strcmp( argv[i], "-debug" ) == 0 ) 140 { 141 if( isdigit( *argv[i+1] ) ) 142 { 143 ossieDebugLevel = atoi( argv[i+1] ); 144 145 if( ossieDebugLevel < 0 || ossieDebugLevel > 9 ) 146 { 147 std::cout << "[nodeBooter] ERROR: Debug Level must be 0 - 9\n"; 148 exit(EXIT_FAILURE); 149 } 150 } else { 151 std::cout << "[nodeBooter] ERROR: Illegal or no Debug Level given\n"; 152 usage(); 153 exit(EXIT_FAILURE); 154 } 155 } 156 157 if( strcmp( argv[i], "--help" ) == 0 ) 158 { 159 usage(); 160 exit(EXIT_SUCCESS); 161 } 162 } 163 164 // Create signal handler to catch system interrupts SIGINT and SIGQUIT 165 struct sigaction sa; 166 sa.sa_handler = signal_catcher; 167 sa.sa_flags = 0; 168 169 // Associate SIGINT to signal_catcher interrupt handler 170 if( sigaction( SIGINT, &sa, NULL ) == -1 ) 171 { 172 perror("SIGINT"); 173 exit(EXIT_FAILURE); 174 } 175 176 // Associate SIGQUIT to signal_catcher interrupt handler 177 if( sigaction( SIGQUIT, &sa, NULL ) == -1 ) 178 { 179 perror("SIGQUIT"); 180 exit(EXIT_FAILURE); 181 } 182 93 183 // Start CORBA 94 184 ORB *orb_obj = new ORB(argc, argv); 95 185 96 while ((c = getopt(argc, argv, "D::d:h")) > 0) { 97 switch (c) { 98 case 'D' : 99 startDomainManager = 1; 100 if (optarg) 101 dmdFile = new string(optarg); 102 else 103 dmdFile = new string("domain/DomainManager.dmd.xml"); 104 105 break; 106 107 case 'd': 108 startDeviceManager = 1; 109 dcdFile = new string(optarg); 110 111 break; 112 113 case 'h': 114 usage(); 115 break; 116 117 } 186 // Check that there is work to do 187 if (!(startDeviceManager || startDomainManager)) 188 { 189 usage(); 190 exit (0); 118 191 } 119 192 120 // Check that there is work to do121 if (!(startDeviceManager || startDomainManager)) {122 usage();123 exit (0);124 }125 126 193 // Start Domain Manager if requested 127 194 128 if (startDomainManager) { 129 DEBUG(1, NB, "Starting Domain Manager") 130 131 // Create naming context for Domain. Must be done before servant 132 // instantiation so the event channels can find their context 195 if (startDomainManager) 196 { 197 DEBUG(1, NB, "Starting Domain Manager") 198 199 // Create naming context for Domain. Must be done before servant 200 // instantiation so the event channels can find their context 133 201 134 ///\todo Figure out how to make DomainName1 run time configurable135 ///\todo and name context stuff to ORB class136 CosNaming::Name_var base_context = orb_obj->string_to_CosName("DomainName1");137 CosNaming::NamingContext_var rootContext;202 ///\todo Figure out how to make DomainName1 run time configurable 203 ///\todo and name context stuff to ORB class 204 CosNaming::Name_var base_context = orb_obj->string_to_CosName("DomainName1"); 205 CosNaming::NamingContext_var rootContext; 138 206 139 try { ///\todo review this code and see what alternative solutions exist 140 orb_obj->inc->bind_new_context (base_context); 141 } catch (CosNaming::NamingContext::AlreadyBound &) { 207 try 208 { ///\todo review this code and see what alternative solutions exist 209 orb_obj->inc->bind_new_context (base_context); 210 } catch (CosNaming::NamingContext::AlreadyBound &) { 142 211 rootContext = CosNaming::NamingContext::_narrow(orb_obj->inc->resolve(base_context)); 143 212 orb_obj->unbind_all_from_context(rootContext); 144 145 } 213 } catch( CORBA::SystemException& se ) { 214 std::cout << "[nodeBooter] \"bind_new_context\" failed with CORBA::SystemException\n"; 215 exit(EXIT_FAILURE); 216 } catch( ... ) { 217 std::cout << "[nodeBooter] \"bind_new_context\" failed with Unknown Exception\n"; 218 exit(EXIT_FAILURE); 219 } 146 220 147 // Create Domain Manager servant and object 148 int idx = dmdFile->find_last_of('/'); 149 dmdRoot = new string( dmdFile->substr(0, idx+1) ); 150 DomainManager_servant = new DomainManager_impl(dmdFile->substr(idx, dmdFile->length()).c_str(), dmdRoot->c_str()); 151 DomainManager_objref = DomainManager_servant->_this(); 152 153 154 // Add object ref to the Name Service 155 156 orb_obj->bind_object_to_name((CORBA::Object_ptr) DomainManager_objref, "DomainName1/DomainManager"); 157 221 // Create Domain Manager servant and object 222 int idx = dmdFile->find_first_of('/'); 223 dmdRoot = new string( dmdFile->substr(0, idx+1) ); 224 //dmdRoot = new string( "/sdr/dom/" ); 225 std::cout << "Root of DomainManager FileSystem set to " << dmdRoot->c_str() << "\n"; 226 try 227 { 228 DomainManager_servant = new DomainManager_impl(dmdFile->substr(idx, dmdFile->length()).c_str(), dmdRoot->c_str()); 229 } catch( ... ) { 230 std::cout << "[nodeBooter] \"DomainManager_impl\" failed with Unknown Exception\n"; 231 exit(EXIT_FAILURE); 232 } 233 234 DomainManager_objref = DomainManager_servant->_this(); 235 // Add object ref to the Name Service 236 try 237 { 238 orb_obj->bind_object_to_name((CORBA::Object_ptr) DomainManager_objref, "DomainName1/DomainManager"); 239 } catch( CORBA::SystemException& se ) { 240 std::cout << "[nodeBooter] \"bind_object_to_name\" failed with CORBA::SystemException\n"; 241 exit(EXIT_FAILURE); 242 } catch( ... ) { 243 std::cout << "[nodeBooter] \"bind_object_to_name\" failed with Unknown Exception\n"; 244 exit(EXIT_FAILURE); 245 } 158 246 } 159 247 160 248 // Start Device Manager if requested 161 if (startDeviceManager) { 162 int idx = dcdFile->find_last_of('/'); 163 dcdRoot = new string( dcdFile->substr(0, idx+1) ); 164 DEBUG(1, NB, "Starting Device Manager with " << *dcdFile) 165 166 DeviceManager_servant = new DeviceManager_impl(dcdFile->substr(idx, dcdFile->length()).c_str(), dcdRoot->c_str()); 167 DeviceManager_objref = DeviceManager_servant->_this(); 168 169 // finish initializing the Device Manager 170 DeviceManager_servant->post_constructor(DeviceManager_objref); 171 } 249 if (startDeviceManager) 250 { 251 int idx = dcdFile->find_first_of('/'); 252 dcdRoot = new string( dcdFile->substr(0, idx+1) ); 253 //dcdRoot = new string( "/sdr/dev" ); 254 DEBUG(1, NB, "Starting Device Manager with " << *dcdFile) 255 256 DeviceManager_servant = new DeviceManager_impl(dcdFile->substr(idx, dcdFile->length()).c_str(), dcdRoot->c_str()); 257 DeviceManager_objref = DeviceManager_servant->_this(); 258 259 // finish initializing the Device Manager 260 try 261 { 262 DeviceManager_servant->post_constructor(DeviceManager_objref); 263 } catch( ... ) { 264 std::cout << "[nodeBooter] \"DeviceManager->post_constructor\" failed with Unknown Exception\n"; 265 exit(EXIT_FAILURE); 266 } 267 } else { 268 std::cout << "[nodeBooter] ERROR: DeviceManager cannot start\n"; 269 usage(); 270 exit(EXIT_FAILURE); 271 } 172 272 173 273 orb_obj->orb->run(); 174 274 std::cout << "[nodeBooter] Exiting ...\n"; 275 //orb_obj->orb->destroy(); 175 276 } 277 -
ossiedev/trunk/system/ossie/framework/ApplicationFactory_impl.cpp
r9176 r9571 42 42 43 43 // Get an object reference for the domain manager 44 CORBA::Object_ptr obj = orb->get_object_from_name("DomainName1/DomainManager"); 45 dmnMgr = CF::DomainManager::_narrow (obj); 46 47 fileMgr = dmnMgr->fileMgr(); 44 CORBA::Object_ptr obj; 45 try 46 { 47 obj = orb->get_object_from_name("DomainName1/DomainManager"); 48 } catch( CORBA::SystemException& se ) { 49 std::cout << "[ApplicationFactory::ctor] \"get_object_from_name\" threw CORBA::SystemExeption\n"; 50 exit(EXIT_FAILURE); 51 } catch( ... ) { 52 std::cout << "[ApplicationFactory::ctor] \"get_object_from_name\" threw Unknown Exception\n"; 53 exit(EXIT_FAILURE); 54 } 55 56 try 57 { 58 dmnMgr = CF::DomainManager::_narrow (obj); 59 } catch( ... ) { 60 std::cout << "[ApplicationFactory::ctor] CF::DomainManager::_narrow failed with Unknown Exception\n"; 61 exit(EXIT_FAILURE); 62 } 63 64 try 65 { 66 fileMgr = dmnMgr->fileMgr(); 67 } catch( ... ) { 68 std::cout << "[ApplicationFactory::ctor] dmnMgr->fileMgr failed with Unknown Exception\n"; 69 exit(EXIT_FAILURE); 70 } 71 48 72 CF::File_var _sad; 49 73 try … … 62 86 63 87 _sadParser = new SADParser ( _sad ); 64 _sad->close(); 88 89 try 90 { 91 _sad->close(); 92 } catch( ... ) { 93 std::cout << "[ApplicationFactory::ctor] _sad->close failed with Unknown Exception\n"; 94 exit(EXIT_FAILURE); 95 } 96 65 97 _name = _sadParser->getName(); 66 98 _identifier = _sadParser->getID(); … … 96 128 97 129 // Establish naming context for this waveform 98 CORBA::Object_var obj_DN = orb->get_object_from_name("DomainName1"); 130 CORBA::Object_var obj_DN; 131 try 132 { 133 obj_DN = orb->get_object_from_name("DomainName1"); 134 } catch( CORBA::SystemException& ex ) { 135 std::cout << "[ApplicationFactory::create] \"get_object_from_name\" threw CORBA::SystemException\n"; 136 exit(EXIT_FAILURE); 137 } catch( ... ) { 138 std::cout << "[ApplicationFactory::create] \"get_object_from_name\" threw Unknown Exception\n"; 139 exit(EXIT_FAILURE); 140 } 141 99 142 CosNaming::NamingContext_var DomainContext = CosNaming::NamingContext::_nil(); 100 DomainContext = CosNaming::NamingContext::_narrow(obj_DN); 143 try 144 { 145 DomainContext = CosNaming::NamingContext::_narrow(obj_DN); 146 } catch( ... ) { 147 std::cout << "[ApplicationFactory::create] CosNaming::NamingContext::_narrow threw Unknown Exception\n"; 148 exit(EXIT_FAILURE); 149 } 150 101 151 short WaveformCount = 0; 102 152 string waveform_context_name(""); … … 127 177 WaveformContextName.length(1); 128 178 WaveformContextName[0].id = CORBA::string_dup(waveform_context_name.c_str()); 129 DomainContext->bind_new_context(WaveformContextName); 179 180 try 181 { 182 DomainContext->bind_new_context(WaveformContextName); 183 } catch( ... ) { 184 std::cout << "[ApplicationFactory::create] \"bind_new_context\" threw Unknown Exception\n"; 185 exit(EXIT_FAILURE); 186 } 130 187 131 188 string base_naming_context("DomainName1/"); … … 208 265 // Check to see if the resource is the assembly controller 209 266 // either way, the resource is initialized and configured 210 CF::Resource_ptr _rsc = CF::Resource::_narrow (_obj); 267 CF::Resource_ptr _rsc; 268 try 269 { 270 _rsc = CF::Resource::_narrow (_obj); 271 } catch( ... ) { 272 std::cout << "[ApplicationFactory::create] CF::Resource::_narrow failed with Unknown Exception\n"; 273 exit(EXIT_FAILURE); 274 } 275 211 276 component->setResourcePtr(_rsc); 212 277 213 278 if (component->getIsAssemblyController()) { 214 279 _assemblyController = _rsc; 215 _assemblyController->initialize (); 216 _assemblyController->configure (initConfiguration); 217 _assemblyController->configure (component->getConfigureProperties()); 280 try 281 { 282 _assemblyController->initialize (); 283 } catch( ... ) { 284 std::cout << "[ApplicationFactory::create] assemblyController->initialize failed with Unknown Exception\n"; 285 exit(EXIT_FAILURE); 286 } 287 try 288 { 289 _assemblyController->configure (initConfiguration); 290 } catch( ... ) { 291 std::cout << "[ApplicationFactory::create] assemblyController->configure failed with Unknown Exception\n"; 292 exit(EXIT_FAILURE); 293 } 294 try 295 { 296 _assemblyController->configure (component->getConfigureProperties()); 297 } catch( ... ) { 298 std::cout << "[ApplicationFactory::create] assemblyController->configure 2 failed with Unknown Exception\n"; 299 exit(EXIT_FAILURE); 300 } 218 301 } 219 302 else { 220 303 if (component->getIsResource () && component->getIsConfigurable ()) { 221 _rsc->initialize (); 222 _rsc->configure (component->getConfigureProperties()); 304 try 305 { 306 _rsc->initialize (); 307 } catch( ... ) { 308 std::cout << "[ApplicationFactory::create] rsc->initialize failed with Unknown Exception\n"; 309 exit(EXIT_FAILURE); 310 } 311 try 312 { 313 _rsc->configure (component->getConfigureProperties()); 314 } catch( ... ) { 315 std::cout << "[ApplicationFactory::create] rsc->configure failed with Unknown Exception\n"; 316 exit(EXIT_FAILURE); 317 } 223 318 } 224 319 } … … 371 466 } 372 467 373 _providesObj = orb->get_object_from_name(findbyname.c_str()); 468 try 469 { 470 _providesObj = orb->get_object_from_name(findbyname.c_str()); 471 } catch( CORBA::SystemException& ex ) { 472 std::cout << "[ApplicationFactory::create] failed with SystemException while searching for Provides Port by name " << findbyname << "\n"; 473 exit(EXIT_FAILURE); 474 } catch( ... ) { 475 std::cout << "[ApplicationFactory::create] failed with Unknown Exception while searching for Provides Port by name " << findbyname << "\n"; 476 exit(EXIT_FAILURE); 477 } 374 478 } 375 479 } else if (_providesPortParser->isComponentInstantiationRef()) { … … 419 523 my_component_name.length()-location_second_slash-1); 420 524 DEBUG(4, AppFact, "The findname that I'm using is: " << findbyname) 525 } 526 527 try 528 { 421 529 provides_port_ref = orb->get_object_from_name (findbyname.c_str()); 422 }; 530 } catch( CORBA::SystemException& ex ) { 531 std::cout << "[ApplicationFactory::create] failed with CORBA::SystemException while searching NamingService for Provides Port by name " << findbyname << "\n"; 532 exit(EXIT_FAILURE); 533 } catch( ... ) { 534 std::cout << "[ApplicationFactory::create] failed with Unknown Exception while searching NamingService for Provides Port by name " << findbyname << "\n"; 535 exit(EXIT_FAILURE); 536 } 423 537 } else { 424 538 std::cerr << "Cannot find naming service name for FindBy provides port" << std::endl; 539 exit(EXIT_FAILURE); 425 540 /// \todo throw an exception? 426 541 } 427 542 } else { 428 543 std::cerr << "Cannot find port information for provides port" << std::endl; 544 exit(EXIT_FAILURE); 429 545 /// \todo throw an exception? 430 546 } … … 459 575 my_component_name.length()-location_second_slash-1); 460 576 DEBUG(4, AppFact, "The findname that I'm using is: " << findbyname) 577 } 578 579 try 580 { 461 581 _usesObj = orb->get_object_from_name (findbyname.c_str()); 462 }; 582 } catch( CORBA::SystemException& ex) { 583 std::cout << "[ApplicationFactory::create] failed with CORBA::SystemException while searching NamingService for Uses Port by name " << findbyname << "\n"; 584 exit(EXIT_FAILURE); 585 } catch( ... ) { 586 std::cout << "[ApplicationFactory::create] failed with Unknown Exception while searching NamingService ffor Uses Port by name " << findbyname << "\n"; 587 exit(EXIT_FAILURE); 588 } 463 589 } 464 590 } else if (_usesPortParser->isComponentInstantiationRef()) { … … 470 596 } 471 597 if (i == requiredComponents.size()) { 472 std::cerr << "Uses port component not found" << std::endl; 598 std::cerr << "[ApplicationFactory::create] Uses port component not found" << std::endl; 599 exit(EXIT_FAILURE); 473 600 ///\todo throw exception 474 601 } 475 602 } 476 603 } else { 477 std::cerr << "Did not find method to get uses port" << std::endl; 604 std::cerr << "[ApplicationFactory::create] Did not find method to get uses port" << std::endl; 605 exit(EXIT_FAILURE); 478 606 ///\todo throw exception 479 607 } … … 493 621 494 622 // Get Uses Port 495 CF::Resource_var _usesComp = CF::Resource::_narrow(_usesObj); 496 uses_port_ref = _usesComp->getPort (_usesPortParser->getID()); 623 CF::Resource_var _usesComp; 624 try 625 { 626 _usesComp = CF::Resource::_narrow(_usesObj); 627 } catch( ... ) { 628 std::cout << "[ApplicationFactory::create] Failed to narrow CF::Resource during connection with Unknown Exception\n"; 629 exit(EXIT_FAILURE); 630 } 631 632 try 633 { 634 uses_port_ref = _usesComp->getPort (_usesPortParser->getID()); 635 } catch( ... ) { 636 std::cout << "[ApplicationFactory::create] \"getPort\" for uses port ID " << portName << " failed with Unknown Exception during connection\n"; 637 exit(EXIT_FAILURE); 638 } 497 639 498 640 DEBUG(3, AppFact, "back from getport") 499 CF::Port_ptr usesPort = CF::Port::_narrow (uses_port_ref); 641 CF::Port_ptr usesPort; 642 try 643 { 644 usesPort = CF::Port::_narrow (uses_port_ref); 645 } catch( ... ) { 646 std::cout << "[ApplicationFactory::create] Failed to narrow CF::Port during connection with Unknown Exception\n"; 647 exit(EXIT_FAILURE); 648 } 500 649 DEBUG(3, AppFact, "result from getport narrowed") 501 650 502 651 if (CORBA::is_nil (usesPort)) { 503 std::cerr << " getPort returned nil reference"<< std::endl;652 std::cerr << "[ApplicationFactory::create] getPort returned nil reference for uses port ID " << portName << std::endl; 504 653 throw CF::ApplicationFactory::CreateApplicationError(); 505 654 } … … 514 663 CF::Resource_ptr _providesResource; 515 664 DEBUG(3, AppFact, "Narrowing provides resource") 516 _providesResource = CF::Resource::_narrow (_providesObj); 665 try 666 { 667 _providesResource = CF::Resource::_narrow (_providesObj); 668 } catch( ... ) { 669 std::cout << "[ApplicationFactory::create] Failed to narrow CF::Resource before obtainin Provides Port with Unknown Exception\n"; 670 exit(EXIT_FAILURE); 671 } 517 672 DEBUG(3, AppFact, "Getting provides port with id - " << _providesPortParser->getID()) 518 provides_port_ref = _providesResource->getPort (_providesPortParser->getID()); 673 try 674 { 675 provides_port_ref = _providesResource->getPort (_providesPortParser->getID()); 676 } catch( ... ) { 677 std::cout << "[ApplicationFactory::create] \"getPort\" for provides port ID " << _providesPortParser->getID() << " failed with Unknown Exception during connection\n"; 678 exit(EXIT_FAILURE); 679 } 519 680 } 520 681 521 682 if (CORBA::is_nil (provides_port_ref)) { 522 std::cerr << " getPort returned nil or non-port reference"<< std::endl;683 std::cerr << "[ApplicationFactory::create] getPort returned nil or non-port reference for provides port ID " << _providesPortParser->getID() << std::endl; 523 684 throw CF::ApplicationFactory::CreateApplicationError(); 524 685 } … … 528 689 529 690 // Create connection 530 usesPort->connectPort (provides_port_ref, connection->getID()); 691 try 692 { 693 usesPort->connectPort (provides_port_ref, connection->getID()); 694 } catch( ... ) { 695 std::cout << "[ApplicationFactory::create] \"usesPort->connectPort\" failed with Unknown Exception for connection ID " << connection->getID() << "\n"; 696 exit(EXIT_FAILURE); 697 } 531 698 532 699 connectionData.push_back(new ossieSupport::ConnectionInfo(usesPort, connection->getID())); … … 535 702 // Check to make sure _assemblyController was initialized 536 703 if (_assemblyController == NULL) { 537 std::cerr << "ERROR: ApplicationFactory_impl::create()" << std::endl \ 538 << " => assembly controller was never initialized" << std::endl; 704 std::cerr << "[ApplicationFactory_impl::create] assembly controller was never initialized" << std::endl; 539 705 540 706 // Throw exception … … 635 801 636 802 SPDParser spd( _spd ); 637 _spd->close(); 803 try 804 { 805 _spd->close(); 806 } catch( ... ) { 807 std::cout << "[ApplicationFactory::getRequiredComponents] \"spd->close\" failed with Unknown Exception\n"; 808 exit(EXIT_FAILURE); 809 } 638 810 639 811 // match component implementations in SPD file to the current device … … 664 836 665 837 SCDParser scd( _scd ); 666 _scd->close(); 838 try 839 { 840 _scd->close(); 841 } catch( ... ) { 842 std::cout << "[ApplicationFactory::getRequiredComponents] \"scd->close\" failed with Unknown Exception\n"; 843 exit(EXIT_FAILURE); 844 } 667 845 668 846 // set new component properties from SPD … … 692 870 693 871 PRFParser prf( _prf ); 694 _prf->close(); 872 try 873 { 874 _prf->close(); 875 } catch( ... ) { 876 std::cout << "[ApplicationFactory::getRequiredComponents] \"prf->close\" failed with Unknown Exception\n"; 877 exit(EXIT_FAILURE); 878 } 695 879 696 880 std::vector <PRFProperty *> *prop = prf.getFactoryParamProperties(); … … 782 966 783 967 CF::DomainManager::DeviceManagerSequence* devMgrs; 784 devMgrs = dmnMgr->deviceManagers (); 968 try 969 { 970 devMgrs = dmnMgr->deviceManagers (); 971 } catch( ... ) { 972 std::cout << "[ApplicationFactory::getRegisteredDevices] \"dmnMgr->deviceManagers\" failed with Unknown Exception\n"; 973 exit(EXIT_FAILURE); 974 } 785 975 786 976 for (unsigned int i=0; i<devMgrs->length(); i++) { 787 CF::DeviceSequence* devices = (*devMgrs)[i]->registeredDevices(); 977 CF::DeviceSequence* devices; 978 try 979 { 980 devices = (*devMgrs)[i]->registeredDevices(); 981 } catch( ... ) { 982 std::cout << "[ApplicationFactory::getRegisteredDevices] \"registeredDevices\" failed with Unknown Exception\n"; 983 exit(EXIT_FAILURE); 984 } 788 985 789 986 for (unsigned int j=0; j<devices->length(); j++) { … … 797 994 { 798 995 DEBUG(2, AppFact, "Entering getDeviceImplementations") 799 CF::DomainManager::DeviceManagerSequence* _devmgrseq = dmnMgr->deviceManagers(); 996 CF::DomainManager::DeviceManagerSequence* _devmgrseq; 997 try 998 { 999 _devmgrseq = dmnMgr->deviceManagers(); 1000 } catch( ... ) { 1001 std::cout << "[ApplicationFactory::getDeviceImplementations] \"dmnMgr->deviceManagers\" failed with Unknown Exception\n"; 1002 exit(EXIT_FAILURE); 1003 } 800 1004 std::vector <SPDImplementation*>* _devspdimpl; 801 1005 std::string _devimplid = ""; … … 808 1012 { 809 1013 DEBUG(4, AppFact, "getting deivce implementation id from the DeviceManager") 810 _devimplid = (*_devmgrseq)[k]->getComponentImplementationId(_deviceAssignments[j].assignedDeviceId); 1014 try 1015 { 1016 _devimplid = (*_devmgrseq)[k]->getComponentImplementationId(_deviceAssignments[j].assignedDeviceId); 1017 } catch( ... ) { 1018 std::cout << "[ApplicationFactory::getDeviceImplementations] \"getComponentImplementationId\" failed with Unknown Exception\n"; 1019 exit(EXIT_FAILURE); 1020 } 811 1021 if(!_devimplid.empty()) 812 1022 { … … 831 1041 } // end try-catch open 832 1042 SPDParser _devspd(_devspdfile); 833 _devspdfile->close(); 1043 try 1044 { 1045 _devspdfile->close(); 1046 } catch( ... ) { 1047 std::cout << "[ApplicationFactory::getDeviceImplementations] \"devspdfile->close\" failed with Unknown Exception\n"; 1048 exit(EXIT_FAILURE); 1049 } 834 1050 835 1051 _devspdimpl = _devspd.getImplementations(); … … 1069 1285 for (unsigned int i=0; i<registeredDevices.size(); i++) { 1070 1286 if (strcmp(registeredDevices[i]->identifier(), device_id) == 0) { 1071 return CF::Device::_narrow(registeredDevices[i]); 1287 return CF::Device::_narrow(registeredDevices[i]); // NOTE: This is DANGEROUS!! 1072 1288 } 1073 1289 } 1074 1290 1075 1291 std::cerr << "Device not found, this should never happen. (Verify that nodeBooter has started the correct node.)" << std::endl; 1292 exit(EXIT_FAILURE); 1076 1293 1077 1294 return 0; … … 1088 1305 DEBUG(1, AppFact, "Component - " << component->getName() << " Assigned device - " << component->getAssignedDeviceId()) 1089 1306 1090 CF::Device_ptr device = find_device_from_id(component->getAssignedDeviceId()); 1307 CF::Device_ptr device; 1308 try 1309 { 1310 device = find_device_from_id(component->getAssignedDeviceId()); 1311 } catch( ... ) { 1312 std::cout << "[ApplicationFactory::loadAndExecuteComponents] \"find_device_from_id\" failed with Unknown Exception\n"; 1313 exit(EXIT_FAILURE); 1314 } 1091 1315 1092 1316 DEBUG(1, AppFact, "Host is " << device->label () << " Local file name is " << component->getLocalFileName()) … … 1094 1318 // Now we have a pointer to the required device 1095 1319 // Get allocation properties 1096 device->allocateCapacity (component->getAllocationCapacities()); 1320 try 1321 { 1322 device->allocateCapacity (component->getAllocationCapacities()); 1323 } catch( ... ) { 1324 std::cout << "[ApplicationFactory::loadAndExecuteComponents] \"device->allocateCapacity\" failed with Unknown Exception\n"; 1325 exit(EXIT_FAILURE); 1326 } 1097 1327 1098 1328 … … 1103 1333 1104 1334 1105 CF::LoadableDevice_ptr loadabledev = CF::LoadableDevice::_narrow(device); 1335 CF::LoadableDevice_ptr loadabledev; 1336 try 1337 { 1338 loadabledev = CF::LoadableDevice::_narrow(device); 1339 } catch( ... ) { 1340 std::cout << "[ApplicationFactory::loadAndExecuteComponents] CF::LoadableDevice::_narrow failed with Unknown Exception\n"; 1341 exit(EXIT_FAILURE); 1342 } 1106 1343 if(CORBA::is_nil(loadabledev)) 1107 1344 { … … 1113 1350 while (!loadFound && l < registeredDevices.size()) 1114 1351 { 1115 loadabledev = CF::LoadableDevice::_narrow(registeredDevices[l]); 1352 try 1353 { 1354 loadabledev = CF::LoadableDevice::_narrow(registeredDevices[l]); 1355 } catch( ... ) { 1356 std::cout << "[ApplicationFactory::loadAndExecuteComponents] CF::LoadableDevice::_narrow 2 failed with Unknown Exception\n"; 1357 exit(EXIT_FAILURE); 1358 } 1116 1359 if (!CORBA::is_nil(loadabledev)) 1117 1360 { … … 1137 1380 int idx = 0; 1138 1381 1139 CF::FileManager_var fileMgr = dmnMgr->fileMgr(); 1140 CF::FileManager::MountSequence_var mts = fileMgr->getMounts(); 1382 CF::FileManager_var fileMgr; 1383 try 1384 { 1385 fileMgr = dmnMgr->fileMgr(); 1386 } catch( ... ) { 1387 std::cout << "[ApplicationFactory::loadAndExecuteComponents] \"dmnMgr->fileMgr\" failed with Unknown Exception\n"; 1388 exit(EXIT_FAILURE); 1389 } 1390 1391 CF::FileManager::MountSequence_var mts; 1392 try 1393 { 1394 mts = fileMgr->getMounts(); 1395 } catch( ... ) { 1396 std::cout << "[ApplicationFactory::loadAndExecuteComponents] \"fileMgr->getMounts\" failed with Unknown Exception\n"; 1397 exit(EXIT_FAILURE); 1398 } 1141 1399 1142 1400 for( unsigned int i = 0; i < mts->length(); i++ ) … … 1153 1411 } 1154 1412 } 1413 1414 std::string binaryFileName = CORBA::string_dup( mts[idx].mountPoint ); 1415 binaryFileName += component->getLocalFileName(); 1155 1416 1156 1417 try 1157 1418 { 1158 loadabledev->load (mts[idx].fs, component->getLocalFileName(), component->getCodeType());1419 loadabledev->load (mts[idx].fs, /*component->getLocalFileName()*/ binaryFileName.c_str(), component->getCodeType()); 1159 1420 } catch( CF::InvalidFileName &_ex ) { 1160 1421 std::cout << "[ApplicationFactory::create] While loading ExecDev: " << _ex.msg << "\n"; … … 1169 1430 1170 1431 // execute the component 1171 CF::ExecutableDevice_ptr execdev = CF::ExecutableDevice::_narrow(loadabledev); 1432 CF::ExecutableDevice_ptr execdev; 1433 try 1434 { 1435 execdev = CF::ExecutableDevice::_narrow(loadabledev); 1436 } catch( ... ) { 1437 std::cout << "[ApplicationFactory::loadAndExecuteComponents] CF::ExecutableDevice::_narrow failed with Unknown Exception\n"; 1438 exit(EXIT_FAILURE); 1439 } 1172 1440 if(CORBA::is_nil(execdev)) 1173 1441 { … … 1179 1447 while (!execFound && l < registeredDevices.size()) 1180 1448 { 1181 execdev = CF::ExecutableDevice::_narrow(registeredDevices[l]); 1449 try 1450 { 1451 execdev = CF::ExecutableDevice::_narrow(registeredDevices[l]); 1452 } catch( ... ) { 1453 std::cout << "[ApplicationFactory::loadAndExecuteComponents] CF::ExecutableDevice::_narrow 2 failed with Unknown Exception\n"; 1454 exit(EXIT_FAILURE); 1455 } 1182 1456 if (!CORBA::is_nil(execdev)) 1183 1457 { … … 1195 1469 } 1196 1470 1197 1198 1471 // Execute when necesary 1199 1472 if ((component->getCodeType() == CF::LoadableDevice::EXECUTABLE) || (component->getCodeType() == CF::LoadableDevice::SHARED_LIBRARY) && (strcmp (component->getEntryPoint(), "") != 0)) { 1200 1473 /// \TODO: Validate that the intended device supports the LoadableDevice interface 1201 1474 1202 DEBUG(1, AppFact, "executing-> " << component->getLocalFileName())1475 DEBUG(1, AppFact, "executing-> " << binaryFileName /*component->getLocalFileName()*/) 1203 1476 1204 1477 CF::DataType dt; … … 1221 1494 try 1222 1495 { 1223 tempPid = execdev->execute ( component->getLocalFileName(), component->getOptions(), component->getExecParameters());1496 tempPid = execdev->execute (/*component->getLocalFileName()*/ binaryFileName.c_str(), component->getOptions(), component->getExecParameters()); 1224 1497 } catch( CF::InvalidFileName &_ex ) { 1225 std::cout << "[ApplicationFactory::create] When calling 'execute' on a device: " << _ex.msg << "\n";1498 std::cout << "[ApplicationFactory::create] CF::InvalidFileName when calling 'execute' on a device: " << _ex.msg << "\n"; 1226 1499 exit(EXIT_FAILURE); 1227 1500 } catch( CF::Device::InvalidState &_ex ) { 1228 std::cout << "[ApplicationFactory::create] When calling 'execute' on a device: " << _ex.msg << "\n";1501 std::cout << "[ApplicationFactory::create] CF::InvalidState when calling 'execute' on a device: " << _ex.msg << "\n"; 1229 1502 exit(EXIT_FAILURE); 1230 1503 } catch( ... ) { 1231 std::cout << "[ApplicationFactory::create] When calling 'execute' on a device: Unknown Exception\n";1504 std::cout << "[ApplicationFactory::create] Unknown Exception when calling 'execute' on a device: Unknown Exception\n"; 1232 1505 exit(EXIT_FAILURE); 1233 1506 } -
ossiedev/trunk/system/ossie/framework/Application_impl.cpp
r8427 r9571 115 115 throw (CORBA::SystemException, CF::Resource::StartError) 116 116 { 117 assemblyController->start (); 117 try 118 { 119 assemblyController->start (); 120 } catch( CF::Resource::StartError& se ) { 121 std::cout << "[Application::start] \"assmeblyController->start\" failed with CF:Resource::StartError\n"; 122 // THROW CF:Resource::StartError ?? 123 exit(EXIT_FAILURE); 124 } catch( CORBA::SystemException& ex ) { 125 std::cout << "[Application::start] \"assemblyController->start\" failed with CORBA::SystemException\n"; 126 // THROW CORBA::SystemException ?? 127 exit(EXIT_FAILURE); 128 } catch( ... ) { 129 std::cout << "[Application::start] \"assemblyController->start\" failed with Unknown Exception\n"; 130 exit(EXIT_FAILURE); 131 } 118 132 } 119 133 … … 122 136 throw (CORBA::SystemException, CF::Resource::StopError) 123 137 { 138 try 139 { 124 140 assemblyController->stop (); 141 } catch( CF::Resource::StopError& se ) { 142 std::cout << "[Application::stop] \"assemblyController->stop\" failed with CF::Resource::StopError\n"; 143 // THROW CF::Resource::StopError ?? 144 exit(EXIT_FAILURE); 145 } catch( CORBA::SystemException& se ) { 146 std::cout << "[Application::stop] \"assemblyController->stop\" failed with CORBA::SystemException\n"; 147 // THROW CORBA::SystemException ?? 148 exit(EXIT_FAILURE); 149 } catch( ... ) { 150 std::cout << "[Application::stop] \"assemblyController->stop\" failed with Unknown Exception\n"; 151 exit(EXIT_FAILURE); 152 } 125 153 } 126 154 … … 129 157 throw (CORBA::SystemException, CF::LifeCycle::InitializeError) 130 158 { 159 try 160 { 131 161 assemblyController->initialize (); 162 } catch( CF::LifeCycle::InitializeError& ie ) { 163 std::cout << "[Application::initialize] \"assemblyController->initialize\" failed with CF::LifeCycle::InitializeError\n"; 164 // THROW CF::LifeCycle::InitializeError ?? 165 exit(EXIT_FAILURE); 166 } catch( CORBA::SystemException& se ) { 167 std::cout << "[Application::initialize] \"assemblyController->initialize\" failed with CORBA::SystemException\n"; 168 // THROW CORBA::SystemException ?? 169 exit(EXIT_FAILURE); 170 } catch( ... ) { 171 std::cout << "[Application::initialize] \"assemblyController->initialize\" failed with Unknown Exception\n"; 172 exit(EXIT_FAILURE); 173 } 132 174 } 133 175 … … 136 178 throw (CORBA::SystemException, CF::PortSupplier::UnknownPort) 137 179 { 180 try 181 { 138 182 return assemblyController->getPort (_id); 183 } catch( CF::PortSupplier::UnknownPort& up ) { 184 std::cout << "[Application::getPort] \"assemblyController->getPort\" failed with CF::PortSupplier::UnknownPort for ID " << _id << "\n"; 185 // THROW CF::PortSupplier::UnknownPort ?? 186 exit(EXIT_FAILURE); 187 } catch( CORBA::SystemException& se ) { 188 std::cout << "[Application::getPort] \"assemblyController->getPort\" failed with CORBA::SystemException for ID " << _id << "\n"; 189 exit(EXIT_FAILURE); 190 } catch( ... ) { 191 std::cout << "[Application::getPort] \"assemblyController->getPort\" failed with Unknown Exception for ID " << _id << "\n"; 192 exit(EXIT_FAILURE); 193 } 139 194 } 140 195 … … 144 199 145 200 { 201 try 202 { 146 203 assemblyController->runTest (_testId, _props); 204 } catch( CF::UnknownProperties& up ) { 205 std::cout << "[Application::runTest] \"assemblyController->runTest\" failed with CF::UnknownProperties for Test ID " << _testId << "\n"; 206 // THROW CF::UnknownProperties ?? 207 exit(EXIT_FAILURE); 208 } catch( CF::TestableObject::UnknownTest& ut ) { 209 std::cout << "[Application::runTest] \"assemblyController->runTest\" failed with CF::TestableObject::UnknownTest for Test ID " << _testId << "\n"; 210 // THROW CF::TestableObject::UnknownTest ?? 211 exit(EXIT_FAILURE); 212 } catch( ... ) { 213 std::cout << "[Application::runTest] \"assemblyController->runTest\" failed with Unknown Exception for Test ID " << _testId << "\n"; 214 exit(EXIT_FAILURE); 215 } 147 216 } 148 217 … … 155 224 156 225 CF::DomainManager_ptr dmnMgr; 157 CORBA::Object_ptr obj = orb->get_object_from_name("DomainName1/DomainManager"); 158 dmnMgr = CF::DomainManager::_narrow (obj); 159 160 CF::FileManager_var fileMgr = dmnMgr->fileMgr(); 226 CORBA::Object_ptr obj; 227 try 228 { 229 obj = orb->get_object_from_name("DomainName1/DomainManager"); 230 } catch( CORBA::SystemException& se ) { 231 std::cout << "[Application::releaseObject] \"orb->get_object_from_name\" failed with CORBA::SystemException\n"; 232 exit(EXIT_FAILURE); 233 } catch( ... ) { 234 std::cout << "[Application::releaseObject] \"orb->get_object_from_name\" failed with Unknown Exception\n"; 235 exit(EXIT_FAILURE); 236 } 237 238 try 239 { 240 dmnMgr = CF::DomainManager::_narrow (obj); 241 } catch( ... ) { 242 std::cout << "[Application::releaseObject] \"CF::DomainManager::_narrow\" failed with Unknown Exception\n"; 243 exit(EXIT_FAILURE); 244 } 245 246 CF::FileManager_var fileMgr; 247 try 248 { 249 fileMgr = dmnMgr->fileMgr(); 250 } catch( ... ) { 251 std::cout << "[Application::releaseObject] \"dmnMgr->fileMgr\" failed with Unknown Exception\n"; 252 exit(EXIT_FAILURE); 253 } 161 254 162 255 // Remove reference for this application from the ApplicationSequence in DomainManager … … 200 293 201 294 sadParser = new SADParser ( _sad ); 202 _sad->close(); 203 // Break all connections in the application 295 296 try 297 { 298 _sad->close(); 299 } catch( CORBA::SystemException& se ) { 300 std::cout << "[Application::releaseObject] \"sad->close\" failed with CORBA::SystemException\n"; 301 exit(EXIT_FAILURE); 302 } catch( ... ) { 303 std::cout << "[Application::releaseObject] \"sad->close\" failed with Unknown Exception\n"; 304 exit(EXIT_FAILURE); 305 } 306 307 // Break all connections in the application 204 308 for (unsigned int i = 0; i < connectionData.size(); i++) { 205 CF::Port_var port = connectionData[i]->getPort(); 206 port->disconnectPort(connectionData[i]->getID()); 309 CF::Port_var port; 310 try 311 { 312 port = connectionData[i]->getPort(); 313 } catch( CORBA::SystemException& se ) { 314 std::cout << "[Application::releaseObject] \"connectionData[" << i << "]->getPort\" failed with CORBA::SystemException\n"; 315 exit(EXIT_FAILURE); 316 } catch( ... ) { 317 std::cout << "[Application::releaseObject] \"connectionData[" << i << "]->getPort\" failed with Unknown Exception\n"; 318 exit(EXIT_FAILURE); 319 } 320 321 try 322 { 323 port->disconnectPort(connectionData[i]->getID()); 324 } catch( CORBA::SystemException& se ) { 325 std::cout << "[Application::releaseObject] \"port->disconnectPort\" failed with CORBA::SystemException for ID " << connectionData[i]->getID() << "\n"; 326 exit(EXIT_FAILURE); 327 } catch( ... ) { 328 std::cout << "[Application::releaseObject] \"port->disconnectPort\" failed with Unknown Exception for ID " << connectionData[i]->getID() << "\n"; 329 exit(EXIT_FAILURE); 330 } 207 331 } 208 332 … … 217 341 218 342 CF::DomainManager::DeviceManagerSequence* devMgrs; 219 devMgrs = dmnMgr->deviceManagers (); 343 try 344 { 345 devMgrs = dmnMgr->deviceManagers (); 346 } catch( CORBA::SystemException& se ) { 347 std::cout << "[Application::releaseObject] \"dmnMgr->deviceManagers\" failed with CORBA::SystemException\n"; 348 exit(EXIT_FAILURE); 349 } catch( ... ) { 350 std::cout << "[Application::releaseObject] \"dmnMgr->deviceManagers\" failed with Unknown Exception\n"; 351 exit(EXIT_FAILURE); 352 } 220 353 221 354 for (unsigned int i=0; i<devMgrs->length(); i++) { … … 252 385 } 253 386 254 if (mem == -1) { 255 continue; 256 } 387 if (mem == -1) continue; 257 388 258 389 CORBA::Object_var _rscObj = CORBA::Object::_nil (); … … 269 400 location_second_slash-location_first_slash-1); 270 401 271 while (CORBA::is_nil (_rscObj)) { 272 _rscObj = _orb->get_object_from_name ((*appComponentNamingContexts)[mem].elementId); 273 } 402 while (CORBA::is_nil (_rscObj)) 403 { 404 try 405 { 406 _rscObj = _orb->get_object_from_name ((*appComponentNamingContexts)[mem].elementId); 407 } catch( CORBA::SystemException& se ) { 408 std::cout << "[Application::releaseObject] \"orb->get_object_from_name\" failed with CORBA::SystemException for appComponentNamingContexts[" << mem << "]." << value3 << "\n"; 409 exit(EXIT_FAILURE); 410 } catch( ... ) { 411 std::cout << "[Application::releaseObject] \"orb->get_object_from_name\" failed with Unknown Exception for appComponentNamingContexts[" << mem << "]." << value3 << "\n"; 412 exit(EXIT_FAILURE); 413 } 414 } 415 274 416 275 417 char *localFileName; … … 292 434 293 435 SPDParser _spdParser ( _spd ); 294 _spd->close(); 436 try 437 { 438 _spd->close(); 439 } catch( CORBA::SystemException& se ) { 440 std::cout << "[Application::releaseObject] \"spd->close\" failed with CORBA::SystemException\n"; 441 exit(EXIT_FAILURE); 442 } catch( ... ) { 443 std::cout << "[Application::releaseObject] \"spd->close\" failed with Unknown Exception\n"; 444 exit(EXIT_FAILURE); 445 } 446 295 447 std::vector <SPDImplementation *> *spd_i = _spdParser.getImplementations(); 296 strcpy (localFileName, (*spd_i)[0]->getCodeFile()); 448 449 CF::FileManager::MountSequence_var mts; 450 try 451 { 452 mts = fileMgr->getMounts(); 453 } catch( CORBA::SystemException& se ) { 454 std::cout << "[Application::releaseObject] \"fileMgr->getMounts\" failed with CORBA::SystemException\n"; 455 exit(EXIT_FAILURE); 456 } catch( ... ) { 457 std::cout << "[Application::releaseObject] \"fileMgr->getMounts\" failed with Unknown Exception\n"; 458 exit(EXIT_FAILURE); 459 } 460 461 int idx = -1; 462 463 for( int num_mounts = 0; num_mounts < mts->length(); num_mounts++ ) 464 { 465 try 466 { 467 if( mts[num_mounts].fs->exists( (*spd_i)[0]->getCodeFile() ) ) 468 { 469 idx = num_mounts; 470 break; 471 } 472 } catch( CORBA::SystemException& se ) { 473 std::cout << "[Application::releaseObject] \"mts[" << num_mounts << "].fs->exists\" for SPD " << (*spd_i)[0]->getCodeFile() << " failed with CORBA::SystemException\n"; 474 exit(EXIT_FAILURE); 475 } catch( ... ) { 476 std::cout << "[Application::releaseObject] \"mts[" << num_mounts << "].fs->exists\" for SPD " << (*spd_i)[0]->getCodeFile() << " failed with Unknown Exception\n"; 477 exit(EXIT_FAILURE); 478 } 479 } 480 481 strcpy (localFileName, CORBA::string_dup( mts[idx].mountPoint ) ); 482 strcat (localFileName, (*spd_i)[0]->getCodeFile()); 297 483 298 484 if ((*ComponentInstantiationVector)[0]->isResourceFactoryRef ()) { … … 315 501 } 316 502 SPDParser _spdParser ( _spd ); 317 _spd->close(); 503 504 try 505 { 506 _spd->close(); 507 } catch( CORBA::SystemException& se ) { 508 std::cout << "[Application::releaseObject] \"spd->close\" 2 failed with CORBA::SystemException\n"; 509 exit(EXIT_FAILURE); 510 } catch( ... ) { 511 std::cout << "[Application::releaseObject] \"spd->close\" 2 failed with Unknown Exception\n"; 512 exit(EXIT_FAILURE); 513 } 514 318 515 strcpy (localName, _spdParser.getSoftPkgName ()); 319 CF::ResourceFactory_ptr _rscFac = CF::ResourceFactory::_narrow (_rscObj); 320 _rscFac->releaseResource (CORBA::string_dup (_spdParser.getSoftPkgName ())); 516 CF::ResourceFactory_ptr _rscFac; 517 try 518 { 519 _rscFac = CF::ResourceFactory::_narrow (_rscObj); 520 } catch( ... ) { 521 std::cout << "[Application::releaseObject] \"CF::ResourceFactory::_narrow\" failed with Unknown Exception\n"; 522 exit(EXIT_FAILURE); 523 } 524 525 try 526 { 527 _rscFac->releaseResource (CORBA::string_dup (_spdParser.getSoftPkgName ())); 528 } catch( CORBA::SystemException& se ) { 529 std::cout << "[Application::releaseObject] \"rscFac->releaseResource\" failed with CORBA::SystemException for SPD " << _spdParser.getSoftPkgName() << "\n"; 530 exit(EXIT_FAILURE); 531 } catch( ... ) { 532 std::cout << "[Application::releaseObject] \"rscFac->releaseResource\" failed with Unknown Exception for SPD " << _spdParser.getSoftPkgName() << "\n"; 533 exit(EXIT_FAILURE); 534 } 321 535 } else { 322 CF::Resource_ptr _rsc = CF::Resource::_narrow (_rscObj); 536 CF::Resource_ptr _rsc; 537 try 538 { 539 _rsc = CF::Resource::_narrow (_rscObj); 540 } catch( ... ) { 541 std::cout << "[Application::releaseObject] \"CF::Resource::_narrow\" failed with Unknown Exception\n"; 542 exit(EXIT_FAILURE); 543 } 323 544 DEBUG(2, App, "about to release Object") 324 545 325 _rsc->releaseObject (); 546 try 547 { 548 _rsc->releaseObject (); 549 } catch( CORBA::SystemException& se ) { 550 std::cout << "[Application::releaseObject] \"rsc->releaseObject\" failed with CORBA::SystemException\n"; 551 //exit(EXIT_FAILURE); 552 } catch( ... ) { 553 std::cout << "[Application::releaseObject' \" rsc->releaseObject\" failed with Unknown Exception\n"; 554 //exit(EXIT_FAILURE); 555 } 326 556 DEBUG(3, App, "returned from releaseObject") 327 557 } … … 350 580 351 581 if (strlen(localFileName)>0) { 352 CF::LoadableDevice_var loadDev = CF::LoadableDevice::_narrow(_devObj); 582 CF::LoadableDevice_var loadDev; 583 try 584 { 585 loadDev = CF::LoadableDevice::_narrow(_devObj); 586 } catch( ... ) { 587 std::cout << "[Application::releaseObject] \"CF::LoadableDevice::_narrow\" failed with Unknown Exception\n"; 588 exit(EXIT_FAILURE); 589 } 353 590 DEBUG(3, App, "Unloading: " << localFileName) 354 loadDev->unload(localFileName); 591 try 592 { 593 loadDev->unload(localFileName); 594 } catch( CORBA::SystemException& se ) { 595 std::cout << "[Application::releaseObject] \"loadDev->unload\" failed with CORBA::SystemException\n"; 596 exit(EXIT_FAILURE); 597 } catch( ... ) { 598 std::cout << "[Application::releaseObject] \"loadDev->unload\" failed with Unknown Exception\n"; 599 exit(EXIT_FAILURE); 600 } 355 601 } 356 602 } … … 362 608 (*appComponentProcessIds)[i].componentId) == 0) { 363 609 DEBUG(3, App, "terminating") 364 CF::ExecutableDevice_var execDev = CF::ExecutableDevice::_narrow (_devObj); 365 execDev ->terminate ((*appComponentProcessIds)[i].processId ); 610 CF::ExecutableDevice_var execDev; 611 try 612 { 613 execDev = CF::ExecutableDevice::_narrow (_devObj); 614 } catch( ... ) { 615 std::cout << "[Application::releaseObject] \"CF::ExecutableDevice::_narrow\" failed with CORBA::SystemException\n"; 616 exit(EXIT_FAILURE); 617 } 618 619 try 620 { 621 execDev ->terminate ((*appComponentProcessIds)[i].processId ); 622 } catch( CORBA::SystemException& se ) { 623 std::cout << "[Application::releaseObject] \"execDev->terminate\" failed with CORBA::SystemException for appComponentProcessIds[" << i << "]." << (*appComponentProcessIds)[i].processId << "\n"; 624 exit(EXIT_FAILURE); 625 } 366 626 break; 367 627 // NOTE: We are not deleting the node containing the ProcessId … … 371 631 } 372 632 373 CF::Device_var dev = CF::Device::_narrow(_devObj); 633 CF::Device_var dev; 634 try 635 { 636 dev = CF::Device::_narrow(_devObj); 637 } catch( ... ) { 638 std::cout << "[Application::releaseObject] \"CF::Device::_narrow\" failed with Unknown Exception\n"; 639 exit(EXIT_FAILURE); 640 } 374 641 const char *PRFFileName = _spdParser.getPRFFile (); 375 642 CF::File_var _prf; … … 389 656 390 657 PRFParser PRFFile ( _prf ); 391 _prf->close(); 658 try 659 { 660 _prf->close(); 661 } catch( CORBA::SystemException& se ) { 662 std::cout << "[Application::releaseObject] \"prf->close\" failed with CORBA::SystemException\n"; 663 exit(EXIT_FAILURE); 664 } catch( ... ) { 665 std::cout << "[Application::releaseObject] \"prf->close\" failed with Unknown Exception\n"; 666 exit(EXIT_FAILURE); 667 } 392 668 std::vector <PRFProperty *> *prfSimpleProp = PRFFile.getMatchingProperties (); 393 669 CF::Properties deallocCapacities (10); … … 418 694 std::string temp_waveform_context("DomainName1"); 419 695 CosNaming::Name_var cosName = orb->string_to_CosName(temp_waveform_context.c_str()); 420 CORBA::Object_var obj_DNContext = orb->inc->resolve(cosName); 421 CosNaming::NamingContext_var DNContext = CosNaming::NamingContext::_narrow(obj_DNContext); 696 CORBA::Object_var obj_DNContext; 697 try 698 { 699 obj_DNContext = orb->inc->resolve(cosName); 700 } catch( CORBA::SystemException& se ) { 701 std::cout << "[Application::releaseObject] \"orb->inc->resolve\" failed with CORBA::SystemException\n"; 702 exit(EXIT_FAILURE); 703 } catch( ... ) { 704 std::cout << "[Application::releaseObject] \"orb->inc->resolve\" failed with Unknown Exception\n"; 705 exit(EXIT_FAILURE); 706 } 707 708 CosNaming::NamingContext_var DNContext; 709 try 710 { 711 DNContext = CosNaming::NamingContext::_narrow(obj_DNContext); 712 } catch( ... ) { 713 std::cout << "[Application::releaseObject] \"CosNaming::NamingContext::_narrow\" failed with Unknown Exception\n"; 714 exit(EXIT_FAILURE); 715 } 422 716 CosNaming::Name DNContextname; 423 717 DNContextname.length(1); 424 718 DNContextname[0].id = CORBA::string_dup(application_naming_context.c_str()); 425 DNContext->unbind(DNContextname); 719 try 720 { 721 DNContext->unbind(DNContextname); 722 } catch( CORBA::SystemException& se ) { 723 std::cout << "[Application::releaseObject] \"DNContext->unbind\" failed with CORBA::SystemException\n"; 724 exit(EXIT_FAILURE); 725 } catch( ... ) { 726 std::cout << "[Application::releaseObject] \"DNContext->unbind\" failed with CORBA::SystemException\n"; 727 exit(EXIT_FAILURE); 728 } 426 729 427 730 delete sadParser; -
ossiedev/trunk/system/ossie/framework/DeviceManager_impl.cpp
r9219 r9571 96 96 97 97 DCDParser _DCDParser ( _dcd ); 98 _dcd->close(); 98 try 99 { 100 _dcd->close(); 101 } catch( CORBA::SystemException& se ) { 102 std::cout << "[DeviceManager::post_constructor] \"dcd->close\" failed with CORBA::SystemException\n"; 103 exit(EXIT_FAILURE); 104 } catch( ... ) { 105 std::cout << "[DeviceManager::post_constructor] \"dcd->close\" failed with Unknown Exception\n"; 106 exit(EXIT_FAILURE); 107 } 108 99 109 _identifier = _DCDParser.getID(); 100 110 _label = _DCDParser.getName(); … … 118 128 119 129 SPDParser _devmgrspdparser( _devmgrspd ); 120 _devmgrspd->close(); 130 try 131 { 132 _devmgrspd->close(); 133 } catch( CORBA::SystemException& se ) { 134 std::cout << "[DeviceManager::post_constructor] \"devmgrspd->close\" failed with CORBA::SystemException\n"; 135 exit(EXIT_FAILURE); 136 } catch( ... ) { 137 std::cout << "[DeviceManager::post_constructor] \"devmgrspd->close\" failed with Unknown Exception\n"; 138 exit(EXIT_FAILURE); 139 } 121 140 122 141 // parse all DPD files … … 179 198 180 199 SPDParser _SPDParser ( _spd ); 181 _spd->close(); 200 try 201 { 202 _spd->close(); 203 } catch( CORBA::SystemException& se ) { 204 std::cout << "[DeviceManager::post_constructor] \"spd->close\" failed with CORBA::SystemException\n"; 205 exit(EXIT_FAILURE); 206 } catch( ... ) { 207 std::cout << "[DeviceManager::post_constructor] \"spd->close\" failed with Unknown Exception\n"; 208 exit(EXIT_FAILURE); 209 } 182 210 183 211 //get code file name from implementation … … 257 285 char *val = "/usr/local/bin/valgrind"; 258 286 execl(val, val, logFile.c_str(), matchedDevice->getCodeFile (), componentPlacements[i].id(), componentPlacements[i].usageName() , _DCDParser.getFileNameFromRefId(componentPlacements[i].refId()), NULL); 259 }260 else { 261 execl(matchedDevice->getCodeFile (), matchedDevice->getCodeFile (),componentPlacements[i].id(), componentPlacements[i].usageName() , _DCDParser.getFileNameFromRefId(componentPlacements[i].refId()), NULL); 262 } 263 std::cout << " Device did not execute : " << strerror(errno) << std::endl;287 } else { 288 execl(matchedDevice->getCodeFile (), matchedDevice->getCodeFile (),componentPlacements[i].id(), componentPlacements[i].usageName() , _DCDParser.getFileNameFromRefId(componentPlacements[i].refId()), NULL); 289 } 290 /// \todo if execl fails in child, parent should be notified 291 std::cout << "[DeviceManager::execute] Device did not execute : " << strerror(errno) << std::endl; 264 292 exit (EXIT_FAILURE); 265 293 } … … 268 296 CORBA::Object_var _obj = CORBA::Object::_nil(); 269 297 char nameStr[255]; 270 sprintf( nameStr, "DomainName1/%s", componentPlacements[i].usageName() ); DEBUG(3, DevMgr, "searching for "<< nameStr) 298 sprintf( nameStr, "DomainName1/%s", componentPlacements[i].usageName() ); 299 DEBUG(3, DevMgr, "searching for "<< nameStr) 271 300 do 272 301 { … … 286 315 287 316 CF::Device_var tempDevice = CF::Device::_narrow (_obj); 288 tempDevice->initialize (); 317 try 318 { 319 tempDevice->initialize (); 320 } catch( CORBA::SystemException& se ) { 321 std::cout << "[DeviceManager::post_constructor] \"tempDevice->initialize\" failed with CORBA::SystemException\n"; 322 exit(EXIT_FAILURE); 323 } catch( ... ) { 324 std::cout << "[DeviceManager::post_constructor] \"tempDevice->initialize\" failed with Unknown Exception\n"; 325 exit(EXIT_FAILURE); 326 } 289 327 290 328 // tally all properties … … 311 349 312 350 PRFParser _PRFparser ( _prf ); 313 _prf->close(); 351 try 352 { 353 _prf->close(); 354 } catch( CORBA::SystemException& se ) { 355 std::cout << "[DeviceManager::post_constructor] \"prf->close\" failed with CORBA::SystemException\n"; 356 exit(EXIT_FAILURE); 357 } catch( ... ) { 358 std::cout << "[DeviceManager::post_constructor] \"prf->close\" failed with Unknown Exception\n"; 359 exit(EXIT_FAILURE); 360 } 314 361 315 362 // get properties stored from device PRF and … … 350 397 } 351 398 352 tempDevice->configure(allProperties); 399 try 400 { 401 tempDevice->configure(allProperties); 402 } catch( CORBA::SystemException& se ) { 403 std::cout << "[DeviceManager::post_constructor] \"tempDevice->configure\" failed with CORBA::SystemException\n"; 404 exit(EXIT_FAILURE); 405 } catch( ... ) { 406 std::cout << "[DeviceManager::post_constructor] \"tempDevice->configure\" failed with Unknown Exception\n"; 407 exit(EXIT_FAILURE); 408 } 353 409 354 410 DEBUG(3, DevMgr, "Registering device") … … 416 472 417 473 // check for OS name 474 // NOTE: This is an insufficient test of a GPP 418 475 std::string osname = (*impls)[i]->getOperatingSystem().getOSName(); 419 476 if (osname == "") … … 465 522 _DPD.push_back(new DPDParser(_dpdFile)); 466 523 467 524 try 525 { 526 _dpdFile->close(); 527 } catch( CORBA::SystemException& se ) { 528 std::cout << "[DeviceManager::parseDPDFiles] \"dpdfile->close\" failed with CORBA::SystemException\n"; 529 exit(EXIT_FAILURE); 530 } catch( ... ) { 531 std::cout << "[DeviceManager::parseDPDFiles] \"dpdfile->close\" failed with Unknown Exception\n"; 532 exit(EXIT_FAILURE); 533 } 468 534 } 469 535 … … 665 731 /// \todo sleep prevents system from beating Name Service to death, Fix better 666 732 do{ 667 obj = orb_obj->get_object_from_name (domainManagerName); 733 try 734 { 735 obj = orb_obj->get_object_from_name (domainManagerName); 736 } catch( CORBA::SystemException& se ) { 737 std::cout << "[DeviceManager::getDomainManagerReference] \"get_object_from_name\" failed with CORBA::SystemException\n"; 738 exit(EXIT_FAILURE); 739 } catch( ... ) { 740 std::cout << "[DeviceManager::getDomainManagerReference] \"get_object_from_name\" failed with Unknown Exception\n"; 741 exit(EXIT_FAILURE); 742 } 668 743 usleep(1000); 669 744 }while(CORBA::is_nil(obj)); 670 745 671 _dmnMgr = CF::DomainManager::_narrow (obj); 746 try 747 { 748 _dmnMgr = CF::DomainManager::_narrow (obj); 749 } catch( ... ) { 750 std::cout << "[DeviceManager::getDomainManagerReference] \"CF:DomainManager::_narrow\" failed with Unknown Exception\n"; 751 } 672 752 } 673 753 … … 740 820 // the new device with the Domain Manager 741 821 if (_adminState == DEVMGR_REGISTERED) { 742 _dmnMgr->registerDevice (registeringDevice, myObj); 822 try 823 { 824 _dmnMgr->registerDevice (registeringDevice, myObj); 825 } catch( CORBA::SystemException& se ) { 826 std::cout << "[DeviceManager::registerDevice] \"dmnMgr->registerDevice\" failed with CORBA::SystemException\n"; 827 exit(EXIT_FAILURE); 828 } catch( ... ) { 829 std::cout << "[DeviceManager::registerDevice] \"dmnMgr->registerDevice\" failed with Unknown Exception\n"; 830 exit(EXIT_FAILURE); 831 } 743 832 } 744 833 … … 814 903 if (_adminState == DEVMGR_REGISTERED) 815 904 { 816 _dmnMgr->unregisterDevice (CF::Device::_duplicate (registeredDevice)); 905 try 906 { 907 _dmnMgr->unregisterDevice (CF::Device::_duplicate (registeredDevice)); 908 } catch( CORBA::SystemException& se ) { 909 std::cout << "[DeviceManager::unregisterDevice] \"dmnMgr->unregisterDevice\" failed with CORBA::SystemException\n"; 910 exit(EXIT_FAILURE); 911 } catch( ... ) { 912 std::cout << "[DeviceManager::unregisterDevice] \"dmnMgr->unregisterDevice\" failed with Unknown Exception\n"; 913 exit(EXIT_FAILURE); 914 } 817 915 CORBA::release (registeredDevice); 818 916 } … … 850 948 851 949 //The shutdown operation shall unregister the DeviceManager from the DomainManager. 852 _dmnMgr->unregisterDeviceManager (this->_this ()); ///\bug This looks wrong. 950 try 951 { 952 _dmnMgr->unregisterDeviceManager (this->_this ()); ///\bug This looks wrong. 953 } catch( CF::InvalidObjectReference& ior ) { 954 std::cout << "[DeviceManager::shutdown] \"dmnMgr->unregisterDeviceManager\" failed with CF::InvalidObjectReference\n"; 955 exit(EXIT_FAILURE); 956 } catch( CORBA::SystemException& se ) { 957 std::cout << "[DeviceManager::shutdown] \"dmnMgr->unregisterDeviceManager\" failed with CORBA::SystemException\n"; 958 exit(EXIT_FAILURE); 959 } catch( ... ) { 960 std::cout << "[DeviceManager::shutdown] \"dmnMgr->unregisterDeviceManager\" failed with Unknown Exception\n"; 961 exit(EXIT_FAILURE); 962 } 853 963 854 964 //The shutdown operation shall perform releaseObject on all of the DeviceManagers registered … … 859 969 //Important Note: It is necessary to manage the lenght of the _registeredDevices sequence 860 970 //otherwise, some elements in the sequence will be null. 861 _registeredDevices[i]->label (); ////////////////////////////////////////////////test971 //_registeredDevices[i]->label (); ////////////////////////////////////////////////test 862 972 CF::Device_var tempDev = CF::Device::_duplicate (_registeredDevices[i]); 863 973 //_registeredDevices[i]->releaseObject(); 864 974 unregisterDevice (_registeredDevices[i]); 865 tempDev->releaseObject (); 975 try 976 { 977 tempDev->releaseObject (); 978 } catch( CORBA::SystemException& se ) { 979 std::cout << "[DeviceManager::shutdown] \"tempDev->releaseObject\" failed with CORBA::SystemException\n"; 980 exit(EXIT_FAILURE); 981 } catch( ... ) { 982 std::cout << "[DeviceManager::shutdown] \"tempDev->releaseObject\" failed with Unknown Exception\n"; 983 exit(EXIT_FAILURE); 984 } 866 985 } 867 986 … … 901 1020 if (_adminState == DEVMGR_REGISTERED) 902 1021 { 903 _dmnMgr->registerService (registeringService, this->_this (), name); 1022 try 1023 { 1024 _dmnMgr->registerService (registeringService, this->_this (), name); 1025 } catch( CORBA::SystemException& se ) { 1026 std::cout << "[DeviceManager::registerService] \"dmnMgr->registerService\" failed with CORBA::SystemException\n"; 1027 exit(EXIT_FAILURE); 1028 } catch( ... ) { 1029 std::cout << "[DeviceManager::registerService] \"dmnMgr->registerService\" failed with Unknown Exception\n"; 1030 exit(EXIT_FAILURE); 1031 } 904 1032 } 905 1033 … … 940 1068 if (_adminState == DEVMGR_REGISTERED) 941 1069 { 942 _dmnMgr->unregisterService (registeredService, name); 1070 try 1071 { 1072 _dmnMgr->unregisterService (registeredService, name); 1073 } catch( CORBA::SystemException& se ) { 1074 std::cout << "[DeviceManager::unregisterService] \"dmnMgr->unregisterService\" failed with CORBA::SystemException\n"; 1075 exit(EXIT_FAILURE); 1076 } catch( ... ) { 1077 std::cout << "[DeviceManager::unregisterService] \"dmnMgr->unregisterService\" failed with Unknown Exception\n"; 1078 exit(EXIT_FAILURE); 1079 } 943 1080 } 944 1081 -
ossiedev/trunk/system/ossie/framework/DomainManager_impl.cpp
r8759 r9571 64 64 try 65 65 { 66 _fileMgr->mount( "/", _fileSys);66 _fileMgr->mount(/*"/"*/_rootpath, _fileSys); 67 67 } catch( CF::InvalidFileName &_ex ) { 68 68 std::cout << "[DomainManager::ctor] While mounting File System: " << _ex.msg << "\n"; … … 89 89 90 90 DMDParser _DMDParser ( _dmd ); 91 _dmd->close(); 91 92 try 93 { 94 _dmd->close(); 95 } catch( CORBA::SystemException& se ) { 96 std::cout << "[DomainManager::ctor] \"dmd->close\" failed with CORBA::SystemException\n"; 97 exit(EXIT_FAILURE); 98 } catch( ... ) { 99 std::cout << "[DomainManager::ctor] \"dmd->close\" failed with Unknown Exception\n"; 100 exit(EXIT_FAILURE); 101 } 92 102 93 103 this->_identifier = _DMDParser.getID(); … … 120 130 } 121 131 SPDParser _DM_SPD_Parser ( _spd ); 122 _spd->close(); 132 133 try 134 { 135 _spd->close(); 136 } catch( CORBA::SystemException& se ) { 137 std::cout << "[DomainManager::ctor] \"spd->close\" failed with CORBA::SystemException\n"; 138 exit(EXIT_FAILURE); 139 } catch( ... ) { 140 std::cout << "[DomainManager::ctor] \"spd->close\" failed with Unknown Exception\n"; 141 exit(EXIT_FAILURE); 142 } 123 143 124 144 … … 368 388 mountPoint += deviceMgr->label(); 369 389 370 _fileMgr->unmount (mountPoint.c_str()); 390 try 391 { 392 _fileMgr->unmount (mountPoint.c_str()); 393 } catch( CORBA::SystemException& se ) { 394 std::cout << "[DomainManager::unregisterDeviceManager] \"fileMgr->unmount\" failed with CORBA::SystemException\n"; 395 exit(EXIT_FAILURE); 396 } catch( ... ) { 397 std::cout << "[DomainManager::unregisterDeviceManager] \"fileMgr->unmount\" failed with Unknown Exception\n"; 398 exit(EXIT_FAILURE); 399 } 371 400 372 401 //The unregisterDeviceManager operation shall unregister a DeviceManager component from the … … 411 440 DomainManager_impl::removeDeviceMgrDevices (CF::DeviceManager_ptr deviceMgr) 412 441 { 442 DEBUG(9, DomMgr, "Entering removeDeviceMgrDevices") 413 443 //The unregisterDeviceManager operation shall release all device(s) associated with 414 444 //the DeviceManager that is being unregistered. 415 445 CF::DeviceSequence * devices; 416 devices = deviceMgr->registeredDevices (); 446 447 try 448 { 449 devices = deviceMgr->registeredDevices (); 450 } catch( CORBA::SystemException& se ) { 451 std::cout << "[DomainManager::removeDeviceMgrDevices] \"deviceMgr->registeredDevices\" failed with CORBA::SystemException\n"; 452 exit(EXIT_FAILURE); 453 } catch( ... ) { 454 std::cout << "[DomainManager::removeDeviceMgrDevices] \"deviceMgr->registeredDevices\" failed with Unknown Exception\n"; 455 exit(EXIT_FAILURE); 456 } 417 457 418 458 //Call unregisterDevice for each device in the DeviceMgr … … 420 460 { 421 461 CF::Device_ptr _dev = (*devices)[i]; 422 unregisterDevice (_dev); 423 } 424 462 try 463 { 464 unregisterDevice (_dev); 465 } catch( CF::InvalidObjectReference& ior ) { 466 std::cout << "[DomainManager::removeDeviceMgrDevices] \"unregisterDevice\" failed with CF::InvalidObjectReference\n"; 467 exit(EXIT_FAILURE); 468 } 469 } 470 DEBUG(9, DomMgr, "Leaving removeDeviceMgrDevices") 425 471 } 426 472 … … 429 475 DomainManager_impl::removeDeviceMgrServices (CF::DeviceManager_ptr deviceMgr) 430 476 { 477 DEBUG(9, DomMgr, "Entering removeDeviceMgrServices") 431 478 //The unregisterDeviceManager operation shall release all service(s) associated with 432 479 //the DeviceManager that is being unregistered. … … 439 486 unregisterService ( (*services)[i].serviceObject, (*services)[i].serviceName ); 440 487 } 441 488 DEBUG(9, DomMgr, "Leaving removeDeviceMgrServices") 442 489 } 443 490 … … 446 493 DomainManager_impl::removeDeviceMgr (CF::DeviceManager_ptr deviceMgr) 447 494 { 495 DEBUG(9, DomMgr, "Entering removeDeviceMgr" ) 448 496 //Look for registeredDeviceMgr in _deviceManagers 449 497 //if deviceMgr is not registered, do nothing … … 461 509 } 462 510 } 463 511 DEBUG(9, DomMgr, "Leaving removeDeviceMgr" ) 464 512 } 465 513 … … 645 693 CF::DomainManager::UnregisterError) 646 694 { 695 DEBUG(9, DomMgr, "Entering unregisterDevice") 647 696 //verify valid reference for a device 648 697 … … 704 753 //No other sanity test is performed. In the event of any internal error that impedes a succesful unregistration, 705 754 // a FAILURE_ALARM log record should be written and the UnregisterError exception should be raised 755 756 DEBUG(9, DomMgr, "Leaving unregisterDevice") 706 757 } 707 758 … … 713 764 Device_ptr unregisteringDevice) 714 765 { 766 DEBUG(9, DomMgr, "Entering removeDeviceFromDomainMgr") 715 767 vector < DeviceNode * >::iterator p = _registeredDevices.begin (); 716 768 //check if device is already registered … … 718 770 { 719 771 DeviceNode *_tmp = *p; 720 if (!strcmp (unregisteringDevice->label (), _tmp->devicePtr->label ())) 772 std::string unregDev_label; 773 try 774 { 775 unregDev_label = unregisteringDevice->label(); 776 } catch( CORBA::SystemException& se ) { 777 std::cout << "[DomainManager::removeDeviceFromDomainMgr] \"unregisterDevice->label\" failed with CORBA::SystemException\n"; 778 exit(EXIT_FAILURE); 779 } catch( ... ) { 780 std::cout << "[DomainManager::removeDeviceFromDomainMgr] \"unregisterDevice->label\" failed with Unknown Exception\n"; 781 exit(EXIT_FAILURE); 782 } 783 std::string devPtr_label = _tmp->devicePtr->label(); 784 if (!strcmp (unregDev_label.c_str(), devPtr_label.c_str())) 721 785 { 722 CORBA::release(_tmp->devicePtr); //Releasing DomMgr's reference 786 try 787 { 788 CORBA::release(_tmp->devicePtr); //Releasing DomMgr's reference 789 } catch( ... ) { 790 std::cout << "[DomainManager::removeDeviceFromDomainMgr] \"CORBA::release\" failed with Unknown Exception\n"; 791 } 792 723 793 _registeredDevices.erase (p); 794 DEBUG(9, DomMgr, "Leaving removeDeviceFromDomainMgr : Device found") 724 795 return; //unregisteringDevice has been removed 725 796 } … … 730 801 } 731 802 803 DEBUG(9, DomMgr, "Leaving removeDeviceFromDomainMgr : Device not found") 732 804 //If this part is reached, unregisteringDevice was not registered 733 805 return; … … 739 811 bool DomainManager_impl::deviceIsRegistered (CF::Device_ptr registeredDevice) 740 812 { 813 DEBUG(9, DomMgr, "Entering deviceIsRegistered") 741 814 for (unsigned int i = 0; i < _registeredDevices.size (); i++) 742 815 { 743 registeredDevice->label (); 744 _registeredDevices[i]->devicePtr->label (); 745 if (strcmp 746 (_registeredDevices[i]->devicePtr->label (), 747 registeredDevice->label ()) == 0) 816 std::string regDev_label; 817 std::string devPtr_label; 818 try 819 { 820 regDev_label = registeredDevice->label (); 821 } catch( ... ) { 822 std::cout << "[DomainManager::deviceIsRegistered] \"registeredDevice->label\" failed with Unknown Exception\n"; 823 exit(EXIT_FAILURE); 824 } 825 826 devPtr_label = _registeredDevices[i]->devicePtr->label (); 827 if (strcmp(devPtr_label.c_str(), regDev_label.c_str()) == 0) 748 828 { 829 DEBUG(9, DomMgr, "Leaving deviceIsRegistered : TRUE") 749 830 return true; 750 831 } 751 832 } 833 DEBUG(9, DomMgr, "Leaving deviceIsRegistered : FALSE") 752 834 return false; 753 835 } … … 817 899 818 900 DCDParser _dcdParser( _dcd ); 819 _dcd->close(); 901 try 902 { 903 _dcd->close(); 904 } catch( CORBA::SystemException& se ) { 905 std::cout << "[DomainManager::establishServiceConnections] \"dcd->close\" failed with CORBA::SystemException\n"; 906 exit(EXIT_FAILURE); 907 } catch( ... ) { 908 std::cout << "[DomainManager::establishServiceConnections] \"dcd->close\" failed with Unknown Exception\n"; 909 exit(EXIT_FAILURE); 910 } 820 911 821 912 std::vector<Connection*>* _connection = _dcdParser.getConnections(); … … 1004 1095 1005 1096 DCDParser _dcdParser ( _dcd ); 1006 _dcd->close(); 1097 try 1098 { 1099 _dcd->close(); 1100 } catch( CORBA::SystemException& se ) { 1101 std::cout << "[DomainManager::disconnectThisService] \"dcd->close\" failed with CORBA::SystemException\n"; 1102 exit(EXIT_FAILURE); 1103 } catch( ... ) { 1104 std::cout << "[DomainManager::disconnectThisService] \"dcd->close\" failed with Unknown Exception\n"; 1105 exit(EXIT_FAILURE); 1106 } 1007 1107 1008 1108 //parse connections of this DCD … … 1111 1211 1112 1212 SADParser *sadParser = new SADParser ( _sad ); 1113 _sad->close(); 1213 try 1214 { 1215 _sad->close(); 1216 } catch( CORBA::SystemException& se ) { 1217 std::cout << "[DomainManager::installApplication] \"sad->close\" failed with CORBA::SystemException\n"; 1218 exit(EXIT_FAILURE); 1219 } catch( ... ) { 1220 std::cout << "[DomainManager::installApplication] \"sad->close\" failed with Unknown Exception\n"; 1221 exit(EXIT_FAILURE); 1222 } 1114 1223 1115 1224 // check if application factory already exists for this profile … … 1166 1275 int appNum = -1; 1167 1276 1168 { ///\bug Figure out MSVC flags to corectly scope for loops 1169 for (unsigned int i = 0; i < appFact_servants.size(); i++) 1277 ///\bug Figure out MSVC flags to corectly scope for loops 1278 for (unsigned int i = 0; i < appFact_servants.size(); i++) 1279 { 1280 if (strcmp (applicationId, 1281 appFact_servants[i]->identifier ()) == 0) 1170 1282 { 1171 if (strcmp (applicationId, 1172 appFact_servants[i]->identifier ()) == 0) 1173 { 1174 appNum = i; 1175 break; 1176 } 1283 appNum = i; 1284 break; 1177 1285 } 1178 1286 } … … 1193 1301 std::cout << "[DomainManager::uninstallApplication] While opening SAD: Unknown Exception\n"; 1194 1302 exit(EXIT_FAILURE); 1195 } 1196 1303 } 1304 1305 // NOTE: there is a problem in the destructor of the SADParser 1197 1306 SADParser sadParser ( _sad ); 1198 _sad->close(); 1307 try 1308 { 1309 _sad->close(); 1310 } catch( CORBA::SystemException& se ) { 1311 std::cout << "[DomainManager::uninstallApplication] \"sad->close\" failed with CORBA::SystemException\n"; 1312 exit(EXIT_FAILURE); 1313 } catch( ... ) { 1314 std::cout << "[DomainManager::uninstallApplication] \"sad->close\" failed with Unknown Exception\n"; 1315 exit(EXIT_FAILURE); 1316 } 1199 1317 1200 1318 // remove all files associated with the Application 1201 std::vector < SADComponentPlacement * >*sadComponents = 1319 1320 std::vector < SADComponentPlacement * > *sadComponents = 1202 1321 sadParser.getComponents (); 1203 1322 … … 1211 1330 ++_iterator; 1212 1331 } 1332 1213 1333 ///\todo Finish vectorization of uninstallApplication if double free fixed 1214 1334 // installedApplicationFactories.erase(appNum); … … 1507 1627 1508 1628 SPDParser spdParser ( _spd ); 1509 _spd->close(); 1629 try 1630 { 1631 _spd->close(); 1632 } catch( CORBA::SystemException& se ) { 1633 std::cout << "[DomainManager::validateSPD] \"spd->close\" failed with CORBA::SystemException\n"; 1634 exit(EXIT_FAILURE); 1635 } catch( ... ) { 1636 std::cout << "[DomainManager::validateSPD] \"spd->close\" failed with Unknown Exception\n"; 1637 exit(EXIT_FAILURE); 1638 } 1510 1639 1511 1640 // query SPD for PRF … … 1531 1660 1532 1661 PRFParser prfParser ( _prf ); 1533 _prf->close(); 1662 try 1663 { 1664 _prf->close(); 1665 } catch( CORBA::SystemException& se ) { 1666 std::cout << "[DomainManager::validateSPD] \"prf->close\" failed with CORBA::SystemException\n"; 1667 exit(EXIT_FAILURE); 1668 } catch( ... ) { 1669 std::cout << "[DomainManager::validateSPD] \"prf->close\" failed with Unknown Exception\n"; 1670 exit(EXIT_FAILURE); 1671 } 1534 1672 1535 1673 // query SPD for SCD … … 1555 1693 1556 1694 SCDParser scdParser ( _scd ); 1557 _scd->close(); 1695 try 1696 { 1697 _scd->close(); 1698 } catch( CORBA::SystemException& se ) { 1699 std::cout << "[DomainManager::validateSPD] \"scd->close\" failed with CORBA::SystemException\n"; 1700 exit(EXIT_FAILURE); 1701 } catch( ... ) { 1702 std::cout << "[DomainManager::validateSPD] \"scd->close\" failed with Unknown Exception\n"; 1703 exit(EXIT_FAILURE); 1704 } 1558 1705 1559 1706 /// \todo Figure out if this should go: this->validateSPD( spdParser.getSPDFile(), ++_cnt ); … … 1587 1734 1588 1735 SPDParser *_spdParser = new SPDParser ( _spd ); 1589 _spd->close(); 1736 try 1737 { 1738 _spd->close(); 1739 } catch( CORBA::SystemException& se ) { 1740 std::cout << "[DomainManager::removeSPD] \"spd->close\" failed with CORBA::SystemException\n"; 1741 exit(EXIT_FAILURE); 1742 } catch( ... ) { 1743 std::cout << "[DomainManager::removeSPD] \"spd->close\" failed with Unknown Exception\n"; 1744 exit(EXIT_FAILURE); 1745 } 1590 1746 1591 1747 try -
ossiedev/trunk/system/ossie/framework/FileManager_impl.cpp
r8883 r9571 26 26 #include <boost/filesystem/path.hpp> 27 27 #include <boost/filesystem/exception.hpp> 28 #ifdef BOOST_1_3429 28 #include <boost/filesystem/cerrno.hpp> 30 #endif31 29 32 30 namespace fs = boost::filesystem; … … 159 157 160 158 if (srcFS == dstFS) { // Check if copy is within one FileSystem 161 mount_table[srcFS].fs->copy (srcPath.c_str(), dstPath.c_str()); 159 try 160 { 161 mount_table[srcFS].fs->copy (srcPath.c_str(), dstPath.c_str()); 162 } catch( CF::FileException& ) { 163 std::cout << "[FileManager::copy] \"fs->copy\" " << srcPath << " to " << dstPath << " failed with CF::FileException\n"; 164 exit(EXIT_FAILURE); 165 } catch( CF::InvalidFileName& ) { 166 std::cout << "[FileManager::copy] \"fs->copy\" " << srcPath << " to " << dstPath << " failed with CF::InvalidFileName\n"; 167 exit(EXIT_FAILURE); 168 } catch( CORBA::SystemException& se ) { 169 std::cout << "[FileManager::copy] \"fs->copy\" " << srcPath << " to " << dstPath << " failed with CORBA::SystemException\n"; 170 exit(EXIT_FAILURE); 171 } catch( ... ) { 172 std::cout << "[FileManager::copy] \"fs->copy\" " << srcPath << " to " << dstPath << " failed with Unknown Exception\n"; 173 exit(EXIT_FAILURE); 174 } 162 175 return; 163 176 } … … 165 178 // Copy file across FileSystems 166 179 167 CF::File_var srcFile = mount_table[srcFS].fs->open(srcPath.c_str(), true); 180 CF::File_var srcFile; 181 try 182 { 183 srcFile = mount_table[srcFS].fs->open(srcPath.c_str(), true); 184 } catch( CORBA::SystemException& se ) { 185 std::cout << "[FileManager::copy] \"fs->open\" " << srcPath << " failed with CORBA::SystemException\n"; 186 exit(EXIT_FAILURE); 187 } catch( ... ) { 188 std::cout << "[FileManager::copy] \"fs->open\" " << srcPath << " failed with Unknown Exception\n"; 189 exit(EXIT_FAILURE); 190 } 168 191 169 192 unsigned int srcSize = srcFile->sizeOf(); 170 193 171 if (srcSize == 0) { ///\todo Check spec to see why we throw if size == 0 172 srcFile->close(); 194 if (srcSize == 0) 195 { ///\todo Check spec to see why we throw if size == 0 196 try 197 { 198 srcFile->close(); 199 } catch( CORBA::SystemException& se ) { 200 std::cout << "[FileManager::copy] \"srcFile->close\" failed with CORBA::SystemException for file size of zero\n"; 201 exit(EXIT_FAILURE); 202 } catch( ... ) { 203 std::cout << "[FileManager::copy] \"srcFile->close\" failed with Unknown Exception for file size of zero\n"; 204 exit(EXIT_FAILURE); 205 } 173 206 throw CF::FileException (); 174 207 } 175 208 176 209 if (!mount_table[dstFS].fs->exists(dstPath.c_str())) 177 mount_table[dstFS].fs->create(dstPath.c_str()); 178 179 CF::File_var dstFile =mount_table[dstFS].fs->open (dstPath.c_str(), false); 210 { 211 try 212 { 213 mount_table[dstFS].fs->create(dstPath.c_str()); 214 } catch( CORBA::SystemException& se ) { 215 std::cout << "[FileManager::copy] \"fs->create\" " << dstPath << " failed with CORBA::SystemException\n"; 216 exit(EXIT_FAILURE); 217 } catch( ... ) { 218 std::cout << "[FileManager::copy] \"fs->create\" " << dstPath << " failed with Unknown Exception\n"; 219 exit(EXIT_FAILURE); 220 } 221 } 222 223 CF::File_var dstFile; 224 try 225 { 226 dstFile = mount_table[dstFS].fs->open (dstPath.c_str(), false); 227 } catch( CORBA::SystemException& se ) { 228 std::cout << "[FileManager::copy] \"fs->open\" " << dstPath << " failed with CORBA::SystemException\n"; 229 exit(EXIT_FAILURE); 230 } catch( ... ) { 231 std::cout << "[FileManager::copy] \"fs->copy\" " << dstPath << " failed with Unknown Exception\n"; 232 exit(EXIT_FAILURE); 233 } 180 234 181 235 CF::OctetSequence_var data; 182 236 183 srcFile->read (data, srcSize); 184 185 dstFile->write (data); 186 187 srcFile->close(); 188 dstFile->close(); 237 try 238 { 239 srcFile->read (data, srcSize); 240 } catch( CORBA::SystemException& se ) { 241 std::cout << "[FileManager::copy] \"srcFile->read\" failed with CORBA::SystemException\n"; 242 exit(EXIT_FAILURE); 243 } catch( ... ) { 244 std::cout << "[FileManager::copy] \"srcFile->read\" failed with Unknown Exception\n"; 245 exit(EXIT_FAILURE); 246 } 247 248 try 249 { 250 dstFile->write (data); 251 } catch( CORBA::SystemException& se ) { 252 std::cout << "[FileManager::copy] \"dstFile->write\" failed with CORBA::SystemException\n"; 253 exit(EXIT_FAILURE); 254 } catch( ... ) { 255 std::cout << "[FileManager::copy] \"dstFile->write\" failed with Unknown Exception\n"; 256 exit(EXIT_FAILURE); 257 } 258 259 try 260 { 261 srcFile->close(); 262 } catch( CORBA::SystemException& se ) { 263 std::cout << "[FileManager::copy] \"srcFile->close\" failed with CORBA::SystemException\n"; 264 exit(EXIT_FAILURE); 265 } catch( ... ) { 266 std::cout << "[FileManager::copy] \"srcFile->close\" failed with Unknown Exception\n"; 267 exit(EXIT_FAILURE); 268 } 269 270 try 271 { 272 dstFile->close(); 273 } catch( CORBA::SystemException& se ) { 274 std::cout << "[FileManager::copy] \"dstFile->close\" failed with CORBA::SystemException\n"; 275 exit(EXIT_FAILURE); 276 } catch( ... ) { 277 std::cout << "[FileManager::copy] \"dstFile->close\" failed with Unknown Exception\n"; 278 exit(EXIT_FAILURE); 279 } 189 280 } 190 281 … … 233 324 DEBUG(4, FileManager, "Returned from FileSystem->list"); 234 325 result_length += fis->length(); 235 DEBUG(4, FileManager, "Recording result");326 DEBUG(4, FileManager, "Recording "<<result_length<<" matches") 236 327 fit_length[i] = fis->length(); 237 328 fit_arr[i] = fis->get_buffer(true); … … 245 336 for( int j = 0; j < numMounts; j++ ) 246 337 { 338 std::cout << "[FileManager::list] In mount number " << j << "\n"; 247 339 tmp = fit_arr[j]; 248 340 for( unsigned int k = 0; k < fit_length[j]; k++ ) 249 341 { 342 std::cout << "[FileManager::list] Adding file number " << k << "\n"; 250 343 *fit = *tmp; 251 fit + = sizeof(CF::FileSystem::FileInformationSequence);252 tmp + = sizeof(CF::FileSystem::FileInformationSequence);344 fit ++; 345 tmp ++; 253 346 } 254 347 } … … 259 352 return result._retn(); 260 353 } catch (const fs::filesystem_error &ex) { 261 #ifdef BOOST_1_34262 354 DEBUG(9, FileManager, "Caught exception in list, error_code " << ex.system_error()); 263 #else 264 DEBUG(9, FileManager, "Caught exception in list, error_code " << ex.error()); 265 #endif 266 267 #ifdef BOOST_1_34 268 ///\todo retest against JTAP 355 269 356 if (ex.system_error() == EINVAL) 270 #else271 if (ex.error() == fs::other_error)272 #endif273 357 throw CF::InvalidFileName(CF::CFEINVAL, ex.what()); 274 358 … … 297 381 getFSandFSPath(fileName, fileFS, filePath); 298 382 299 CF::File_var file_var = mount_table[fileFS].fs->create (filePath.c_str()); 383 CF::File_var file_var; 384 try 385 { 386 file_var = mount_table[fileFS].fs->create (filePath.c_str()); 387 } catch( CORBA::SystemException& se ) { 388 std::cout << "[FileManager::create] \"fs->create\" " << filePath << " failed with CORBA::SystemException\n"; 389 exit(EXIT_FAILURE); 390 } catch( ... ) { 391 std::cout << "[FileManager::create] \"fs->create\" " << filePath << " failed with Unknown Exception\n"; 392 exit(EXIT_FAILURE); 393 } 300 394 301 395 return file_var._retn(); … … 359 453 getFSandFSPath(directoryName, fileFS, filePath); 360 454 361 mount_table[fileFS].fs->mkdir(filePath.c_str()); 455 try 456 { 457 mount_table[fileFS].fs->mkdir(filePath.c_str()); 458 } catch( CORBA::SystemException& se ) { 459 std::cout << "[FileManager::mkdir] \"fs->mkdir\" " << filePath << " failed with CORBA::SystemException\n"; 460 exit(EXIT_FAILURE); 461 } catch( ... ) { 462 std::cout << "[FileManager::mkdir] \"fs->mkdir\" " << filePath << " failed with Unknown Exception\n"; 463 exit(EXIT_FAILURE); 464 } 362 465 363 466 DEBUG(4, FileManager, "Leaving mkdir.") … … 381 484 getFSandFSPath(directoryName, fileFS, filePath); 382 485 383 mount_table[fileFS].fs->rmdir (filePath.c_str()); 486 try 487 { 488 mount_table[fileFS].fs->rmdir (filePath.c_str()); 489 } catch( CORBA::SystemException& se ) { 490 std::cout << "[FileManager::rmdir] \"fs->rmdir\" " << filePath << " failed with CORBA::SystemException\n"; 491 exit(EXIT_FAILURE); 492 } catch( ... ) { 493 std::cout << "[FileManager::rmdir] \"fs->rmdir\" " << filePath << " failed with Unknown Exception\n"; 494 exit(EXIT_FAILURE); 495 } 384 496 385 497 DEBUG(4, FileManager, "Leaving rmdir.") … … 417 529 CF::Properties pr (2, 1, &dt, 0); 418 530 419 mount_table[j].fs->query (pr); 531 try 532 { 533 mount_table[j].fs->query (pr); 534 } catch( CORBA::SystemException& se ) { 535 std::cout << "[FileManager::query] \"fs->query\" failed with CORBA::SystemException\n"; 536 exit(EXIT_FAILURE); 537 } catch( ... ) { 538 std::cout << "[FileManager::query] \"fs->query\" failed with Unknown Exception\n"; 539 exit(EXIT_FAILURE); 540 } 420 541 421 542 CF::DataType * _dt = pr.get_buffer (); … … 521 642 return commonElements; 522 643 } 644 -
ossiedev/trunk/system/ossie/framework/FileSystem_impl.cpp
r8883 r9571 31 31 #include <boost/filesystem/path.hpp> 32 32 #include <boost/filesystem/exception.hpp> 33 #ifdef BOOST_1_3434 33 #include <boost/filesystem/cerrno.hpp> 35 #endif36 34 37 35 namespace fs = boost::filesystem; … … 112 110 fs::copy_file(sFile, dFile); 113 111 } catch (const fs::filesystem_error &ex) { 114 #ifdef BOOST_1_34115 112 if (ex.system_error() == ENOENT) 116 #else117 if (ex.error() == fs::not_found_error)118 #endif119 113 throw CF::FileException(CF::CFENOENT, ex.what()); 120 114 … … 146 140 fs::path filePath(pattern, fs::no_check); 147 141 std::string searchPattern(filePath.leaf()); 148 unsigned int idx (0);142 unsigned int idx = fis->length(); 149 143 DEBUG(4, FileSystem, "In list with path " << dirPath.string() << ", and pattern " << searchPattern); 150 144 fs::directory_iterator end_itr; // past the end 151 145 for (fs::directory_iterator itr(dirPath); itr != end_itr; ++itr) { 152 //if(fs::is_directory(*itr)) recursiveList(*itr, pattern, fis);146 if(fs::is_directory(*itr)) recursiveList(*itr, pattern, fis); 153 147 DEBUG(9, FileSystem, "In list checking file " << itr->leaf()); 154 148 if (fnmatch(searchPattern.c_str(), itr->leaf().c_str(), 0) == 0) { … … 163 157 fis[idx].size = 0; 164 158 } else { 165 fis[idx].name = CORBA::string_dup(itr->leaf().c_str()); 159 std::string full_path = dirPath.string(); 160 full_path += "/"; 161 full_path += itr->leaf(); 162 fis[idx].name = CORBA::string_dup(full_path.c_str()); 166 163 fis[idx].kind = CF::FileSystem::PLAIN; 167 164 fis[idx].size = fs::file_size(*itr); … … 182 179 DEBUG(4, FileSystem, "About to return from list."); 183 180 } catch (const fs::filesystem_error &ex) { 184 #ifdef BOOST_1_34185 181 DEBUG(9, FileSystem, "Caught exception in list, error_code " << ex.system_error()); 186 #else 187 DEBUG(9, FileSystem, "Caught exception in list, error_code " << ex.error()); 188 #endif 189 190 #ifdef BOOST_1_34 182 191 183 if (ex.system_error() == EINVAL) 192 #else193 if (ex.error() == fs::other_error)194 #endif195 184 throw CF::InvalidFileName(CF::CFEINVAL, ex.what()); 196 185 throw CF::FileException(CF::CFNOTSET, ex.what()); … … 206 195 const fs::path rootDirPath(root); 207 196 CF::FileSystem::FileInformationSequence_var result = new CF::FileSystem::FileInformationSequence; 197 result->length(0); 208 198 209 199 recursiveList(rootDirPath, pattern, result); 210 200 211 return result._retn(); // Should be empty if we exit from here201 return result._retn(); 212 202 } 213 203 -
ossiedev/trunk/system/ossie/framework/File_impl.cpp
r8427 r9571 117 117 DEBUG(6, File, "In close."); 118 118 f.close(); 119 DEBUG(6, File, "Leaving close."); 119 120 } 120 121 -
ossiedev/trunk/system/ossie/framework/LoadableDevice_impl.cpp
r7063 r9571 92 92 93 93 // verify the file name exists in the file system and get a pointer to it 94 94 // NOTE: in this context, this step is redundant; the 'installApplication' method 95 // already performs this existence check 96 /* 95 97 if (!fs->exists ((char *) fileName)) 96 98 throw (CF::InvalidFileName (CF::CFENOENT, "Cannot load. File name is invalid.")); 97 99 */ 98 100 99 101 // pass fileToLoad to API (device specific, not currently implemented) -
ossiedev/trunk/system/ossie/parser/SADParser.cpp
r8427 r9571 43 43 SADParser::~SADParser () 44 44 { 45 DEBUG(9, SADParser, "Entering destructor"); 45 46 unsigned int i; 47 DEBUG(9, SADParser, "Deleting hostCollocations"); 46 48 for (i=0; i < hostCollocations.size(); i++) 47 49 { … … 49 51 } 50 52 53 DEBUG(9, SADParser, "Deleting externalPorts"); 51 54 for (i=0; i < externalPorts.size(); i++) 52 55 { 53 56 delete externalPorts[i]; 54 57 } 55 58 /* 59 * NOTE: this section fails for some reason 60 DEBUG(9, SADParser, "Deleting components"); 56 61 for (i=0; i<components.size(); i++) 57 62 { 58 63 delete components[i]; 59 64 } 65 */ 66 DEBUG(9, SADParser, "Leaving destructor"); 60 67 } 61 68 -
ossiedev/trunk/waveforms/OSSIETalkLoopBack/Makefile.am
r9466 r9571 4 4 ossieName = OSSIETalkLoopBack 5 5 6 waveformdir = $(prefix)/ waveforms/OSSIETalkLoopBack6 waveformdir = $(prefix)/dom/waveforms/$(ossieName) 7 7 dist_waveform_DATA = OSSIETalkLoopBack.sad.xml OSSIETalkLoopBack_DAS.xml 8 8 -
ossiedev/trunk/waveforms/OSSIETalkLoopBack/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 AC_PROG_INSTALL 7 7 AC_CONFIG_FILES(Makefile) -
ossiedev/trunk/waveforms/OSSIETalkUSRP/Makefile.am
r9466 r9571 4 4 ossieName = OSSIETalkUSRP 5 5 6 waveformdir = $(prefix)/ waveforms/OSSIETalkUSRP6 waveformdir = $(prefix)/dom/waveforms/$(ossieName) 7 7 dist_waveform_DATA = OSSIETalkUSRP.sad.xml OSSIETalkUSRP_DAS.xml 8 8 -
ossiedev/trunk/waveforms/OSSIETalkUSRP/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 AC_PROG_INSTALL 7 7 AC_CONFIG_FILES(Makefile) -
ossiedev/trunk/waveforms/ml403_ossie_demo/Makefile.am
r9466 r9571 4 4 ossieName = ml403_ossie_demo 5 5 6 waveformdir = $(prefix)/ waveforms/$(ossieName)6 waveformdir = $(prefix)/dom/waveforms/$(ossieName) 7 7 dist_waveform_DATA = ml403_ossie_demo.sad.xml ml403_ossie_demo_DAS.xml 8 8 -
ossiedev/trunk/waveforms/ml403_ossie_demo/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_INSTALL -
ossiedev/trunk/waveforms/ossie_demo/Makefile.am
r9466 r9571 4 4 ossieName = ossie_demo 5 5 6 waveformdir = $(prefix)/ waveforms/$(ossieName)6 waveformdir = $(prefix)/dom/waveforms/$(ossieName) 7 7 dist_waveform_DATA = ossie_demo.sad.xml ossie_demo_DAS.xml 8 8 -
ossiedev/trunk/waveforms/ossie_demo/configure.ac
r9466 r9571 3 3 AC_CONFIG_MACRO_DIR([m4]) 4 4 LT_INIT 5 AC_PREFIX_DEFAULT("/sdr ")5 AC_PREFIX_DEFAULT("/sdr/dom") 6 6 7 7 AC_PROG_INSTALL -
ossiedev/trunk/waveforms/ossie_demo/ossie_demo.sad.xml
r8429 r9571 6 6 <componentfiles> 7 7 <componentfile id="TxDemo_8f63a724-824a-11dc-bb02-00123f63025f" type="SPD"> 8 <localfile name="/ ../../xml/TxDemo/TxDemo.spd.xml"/>8 <localfile name="/xml/TxDemo/TxDemo.spd.xml"/> 9 9 </componentfile> 10 10 <componentfile id="ChannelDemo_8f35b620-824a-11dc-8ba7-00123f63025f" type="SPD"> 11 <localfile name="/ ../../xml/ChannelDemo/ChannelDemo.spd.xml"/>11 <localfile name="/xml/ChannelDemo/ChannelDemo.spd.xml"/> 12 12 </componentfile> 13 13 <componentfile id="RxDemo_8eec63da-824a-11dc-a9bb-00123f63025f" type="SPD"> 14 <localfile name="/ ../../xml/RxDemo/RxDemo.spd.xml"/>14 <localfile name="/xml/RxDemo/RxDemo.spd.xml"/> 15 15 </componentfile> 16 16 </componentfiles>