You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(86) |
Dec
(163) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(114) |
Feb
(254) |
Mar
(166) |
Apr
(122) |
May
(131) |
Jun
(59) |
Jul
(201) |
Aug
(85) |
Sep
(80) |
Oct
(64) |
Nov
(103) |
Dec
(36) |
| 2005 |
Jan
(231) |
Feb
(204) |
Mar
(71) |
Apr
(54) |
May
(50) |
Jun
(120) |
Jul
(17) |
Aug
(124) |
Sep
(75) |
Oct
(154) |
Nov
(37) |
Dec
(143) |
| 2006 |
Jan
(346) |
Feb
(170) |
Mar
|
Apr
|
May
(273) |
Jun
(113) |
Jul
(427) |
Aug
(570) |
Sep
(212) |
Oct
(550) |
Nov
(348) |
Dec
(314) |
| 2007 |
Jan
(709) |
Feb
(223) |
Mar
(104) |
Apr
(24) |
May
(11) |
Jun
(3) |
Jul
(5) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Teiniker E. <tei...@us...> - 2007-01-15 15:00:21
|
Update of /cvsroot/ccmtools/ccmtools/src/ccmtools/generator/java In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv31224/src/ccmtools/generator/java Modified Files: ComponentGenerator.java Main.java Log Message: Fixed bug in the IDL parser which leads to redundant generation of Java impl files for facets. Index: Main.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/src/ccmtools/generator/java/Main.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Main.java 18 Dec 2006 21:34:18 -0000 1.5 --- Main.java 15 Jan 2007 15:00:14 -0000 1.6 *************** *** 64,68 **** { String idlFile = (String) i.next(); - //MContainer ccmModel = CcmModelHelper.loadCcmModel(uiDriver, idlFile, parameters.getIncludePaths()); MContainer ccmModel = ParserHelper.getInstance().loadCcmModel(uiDriver, idlFile, parameters.getIncludePaths()); --- 64,67 ---- *************** *** 138,142 **** false, "Run the Java interface generator"); options.addOption(ComponentGenerator.CORBA_COMPONENT_GENERATOR_ID, ! false, "Run the Java CORBA component generator"); options.addOption("noexit", false, "Don't exit Java VM with error status"); --- 137,141 ---- false, "Run the Java interface generator"); options.addOption(ComponentGenerator.CORBA_COMPONENT_GENERATOR_ID, ! false, "Run the Java CORBA component generator"); options.addOption("noexit", false, "Don't exit Java VM with error status"); Index: ComponentGenerator.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/src/ccmtools/generator/java/ComponentGenerator.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** ComponentGenerator.java 3 Nov 2006 14:01:26 -0000 1.9 --- ComponentGenerator.java 15 Jan 2007 15:00:14 -0000 1.10 *************** *** 190,194 **** sourceFileList.addAll(javaHome.generateApplicationSourceFiles()); } - // Save all source file objects SourceFileHelper.writeApplicationFiles(uiDriver, parameters.getOutDir(), sourceFileList); --- 190,193 ---- |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 15:00:18
|
Update of /cvsroot/ccmtools/ccmtools/src/ccmtools In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv31224/src/ccmtools Modified Files: Constants.java Log Message: Fixed bug in the IDL parser which leads to redundant generation of Java impl files for facets. Index: Constants.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/src/ccmtools/Constants.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Constants.java 8 Jan 2007 11:26:16 -0000 1.20 --- Constants.java 15 Jan 2007 15:00:14 -0000 1.21 *************** *** 24,28 **** { public static final String PACKAGE = "ccmtools"; ! public static final String VERSION = "0.8.3"; public static final String CPP_PATH = "cpp"; --- 24,28 ---- { public static final String PACKAGE = "ccmtools"; ! public static final String VERSION = "0.8.4"; public static final String CPP_PATH = "cpp"; |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:21:33
|
Update of /cvsroot/ccmtools/cpp-environment/ccm In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv26669/ccm Modified Files: Tag: RELEASE-0_6_6-BRANCH Makefile.py Log Message: Added #ifdef _GLIBCXX_USE_WCHAR_T to Debug.h Index: Makefile.py =================================================================== RCS file: /cvsroot/ccmtools/cpp-environment/ccm/Attic/Makefile.py,v retrieving revision 1.12.2.5 retrieving revision 1.12.2.6 diff -C2 -d -r1.12.2.5 -r1.12.2.6 *** Makefile.py 7 Dec 2006 09:28:27 -0000 1.12.2.5 --- Makefile.py 15 Jan 2007 13:21:27 -0000 1.12.2.6 *************** *** 1,2 **** PACKAGE_NAME('ccm-runtime') ! PACKAGE_VERSION('0.6.17') --- 1,2 ---- PACKAGE_NAME('ccm-runtime') ! PACKAGE_VERSION('0.6.18') |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:21:30
|
Update of /cvsroot/ccmtools/cpp-environment/ccm/CCM_Remote In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv26669/ccm/CCM_Remote Modified Files: Tag: RELEASE-0_6_6-BRANCH Makefile.py Log Message: Added #ifdef _GLIBCXX_USE_WCHAR_T to Debug.h Index: Makefile.py =================================================================== RCS file: /cvsroot/ccmtools/cpp-environment/ccm/CCM_Remote/Attic/Makefile.py,v retrieving revision 1.4.10.5 retrieving revision 1.4.10.6 diff -C2 -d -r1.4.10.5 -r1.4.10.6 *** Makefile.py 7 Dec 2006 09:28:27 -0000 1.4.10.5 --- Makefile.py 15 Jan 2007 13:21:27 -0000 1.4.10.6 *************** *** 14,18 **** try: PACKAGE_NAME('ccm-remote-runtime') ! PACKAGE_VERSION('0.6.17') except Error, e: # we'll get here if this is not the package root, and have to --- 14,18 ---- try: PACKAGE_NAME('ccm-remote-runtime') ! PACKAGE_VERSION('0.6.18') except Error, e: # we'll get here if this is not the package root, and have to |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:21:30
|
Update of /cvsroot/ccmtools/cpp-environment/ccm/CCM_Local/utils In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv26669/ccm/CCM_Local/utils Modified Files: Tag: RELEASE-0_6_6-BRANCH Debug.h Log Message: Added #ifdef _GLIBCXX_USE_WCHAR_T to Debug.h Index: Debug.h =================================================================== RCS file: /cvsroot/ccmtools/cpp-environment/ccm/CCM_Local/utils/Attic/Debug.h,v retrieving revision 1.4 retrieving revision 1.4.6.1 diff -C2 -d -r1.4 -r1.4.6.1 *** Debug.h 24 Aug 2005 14:50:22 -0000 1.4 --- Debug.h 15 Jan 2007 13:21:27 -0000 1.4.6.1 *************** *** 162,166 **** return os.str(); } ! inline std::string --- 162,170 ---- return os.str(); } ! ! // We include these ccmDebug methods if and only if the wchar and wstring ! // types are defined in the glibc++. ! #ifdef _GLIBCXX_USE_WCHAR_T ! inline std::string *************** *** 183,186 **** --- 187,192 ---- } + #endif + inline std::string |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:21:29
|
Update of /cvsroot/ccmtools/cpp-environment/ccm/CCM_Local In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv26669/ccm/CCM_Local Modified Files: Tag: RELEASE-0_6_6-BRANCH Makefile.py Log Message: Added #ifdef _GLIBCXX_USE_WCHAR_T to Debug.h Index: Makefile.py =================================================================== RCS file: /cvsroot/ccmtools/cpp-environment/ccm/CCM_Local/Attic/Makefile.py,v retrieving revision 1.12.2.7 retrieving revision 1.12.2.8 diff -C2 -d -r1.12.2.7 -r1.12.2.8 *** Makefile.py 7 Dec 2006 09:28:26 -0000 1.12.2.7 --- Makefile.py 15 Jan 2007 13:21:26 -0000 1.12.2.8 *************** *** 6,10 **** try: PACKAGE_NAME('ccm-runtime-local') ! PACKAGE_VERSION('0.6.17') except Error, e: # we'll get here if this is not the package root, and have to --- 6,10 ---- try: PACKAGE_NAME('ccm-runtime-local') ! PACKAGE_VERSION('0.6.18') except Error, e: # we'll get here if this is not the package root, and have to |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:21:29
|
Update of /cvsroot/ccmtools/cpp-environment In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv26669 Modified Files: Tag: RELEASE-0_6_6-BRANCH ChangeLog Log Message: Added #ifdef _GLIBCXX_USE_WCHAR_T to Debug.h Index: ChangeLog =================================================================== RCS file: /cvsroot/ccmtools/cpp-environment/ChangeLog,v retrieving revision 1.1.1.1.10.4 retrieving revision 1.1.1.1.10.5 diff -C2 -d -r1.1.1.1.10.4 -r1.1.1.1.10.5 *** ChangeLog 7 Dec 2006 09:28:26 -0000 1.1.1.1.10.4 --- ChangeLog 15 Jan 2007 13:21:27 -0000 1.1.1.1.10.5 *************** *** 2,5 **** --- 2,11 ---- ============================================================================ + RELEASE-0.6.18 (January 15, 2007) + ---------------------------------------------------------------------------- + *) Bugfix: wchar, wstring (reported by Elmar Rudigier) + Added #ifdef _GLIBCXX_USE_WCHAR_T for ccmDebug methods which use wchar + and wstring types. + RELEASE-0.6.17 (December 7, 2006) |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:19:47
|
Update of /cvsroot/ccmtools/ccmtools/test/CppGenerator/receptacle_types/impl In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25829/test/CppGenerator/receptacle_types/impl Modified Files: Tag: RELEASE-0_6_6-BRANCH Test_impl.cc Log Message: Added #include<cmath> to test cases Index: Test_impl.cc =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/CppGenerator/receptacle_types/impl/Test_impl.cc,v retrieving revision 1.6 retrieving revision 1.6.4.1 diff -C2 -d -r1.6 -r1.6.4.1 *** Test_impl.cc 21 Dec 2005 11:39:25 -0000 1.6 --- Test_impl.cc 15 Jan 2007 13:19:40 -0000 1.6.4.1 *************** *** 13,16 **** --- 13,17 ---- ***/ + #include <cmath> #include <cassert> #include <iostream> |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:19:46
|
Update of /cvsroot/ccmtools/ccmtools/src/ccmtools In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25829/src/ccmtools Modified Files: Tag: RELEASE-0_6_6-BRANCH Constants.java Log Message: Added #include<cmath> to test cases Index: Constants.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/src/ccmtools/Constants.java,v retrieving revision 1.7.2.11 retrieving revision 1.7.2.12 diff -C2 -d -r1.7.2.11 -r1.7.2.12 *** Constants.java 7 Dec 2006 09:22:46 -0000 1.7.2.11 --- Constants.java 15 Jan 2007 13:19:41 -0000 1.7.2.12 *************** *** 24,28 **** { public static final String PACKAGE = "ccmtools"; ! public static final String VERSION = "0.6.17"; public static final String CPP_PATH = "cpp"; --- 24,28 ---- { public static final String PACKAGE = "ccmtools"; ! public static final String VERSION = "0.6.18"; public static final String CPP_PATH = "cpp"; |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:19:44
|
Update of /cvsroot/ccmtools/ccmtools/test/CppGenerator/supports_types/test In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25829/test/CppGenerator/supports_types/test Modified Files: Tag: RELEASE-0_6_6-BRANCH _check_ccm_local_component_Test.cc Log Message: Added #include<cmath> to test cases Index: _check_ccm_local_component_Test.cc =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/CppGenerator/supports_types/test/Attic/_check_ccm_local_component_Test.cc,v retrieving revision 1.4 retrieving revision 1.4.4.1 diff -C2 -d -r1.4 -r1.4.4.1 *** _check_ccm_local_component_Test.cc 21 Dec 2005 11:39:25 -0000 1.4 --- _check_ccm_local_component_Test.cc 15 Jan 2007 13:19:41 -0000 1.4.4.1 *************** *** 15,18 **** --- 15,19 ---- ***/ + #include <cmath> #include <cassert> #include <iostream> |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:19:44
|
Update of /cvsroot/ccmtools/ccmtools/test/CppGenerator/facet_constants/impl In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25829/test/CppGenerator/facet_constants/impl Modified Files: Tag: RELEASE-0_6_6-BRANCH Test_mirror_impl.cc Log Message: Added #include<cmath> to test cases Index: Test_mirror_impl.cc =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/CppGenerator/facet_constants/impl/Attic/Test_mirror_impl.cc,v retrieving revision 1.1 retrieving revision 1.1.4.1 diff -C2 -d -r1.1 -r1.1.4.1 *** Test_mirror_impl.cc 20 Dec 2005 12:47:26 -0000 1.1 --- Test_mirror_impl.cc 15 Jan 2007 13:19:40 -0000 1.1.4.1 *************** *** 12,15 **** --- 12,16 ---- ***/ + #include <cmath> #include <cassert> #include <iostream> |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:19:44
|
Update of /cvsroot/ccmtools/ccmtools/test/CppGenerator/facet_types/impl In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25829/test/CppGenerator/facet_types/impl Modified Files: Tag: RELEASE-0_6_6-BRANCH Test_mirror_impl.cc Log Message: Added #include<cmath> to test cases Index: Test_mirror_impl.cc =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/CppGenerator/facet_types/impl/Attic/Test_mirror_impl.cc,v retrieving revision 1.8 retrieving revision 1.8.4.1 diff -C2 -d -r1.8 -r1.8.4.1 *** Test_mirror_impl.cc 21 Dec 2005 11:39:25 -0000 1.8 --- Test_mirror_impl.cc 15 Jan 2007 13:19:41 -0000 1.8.4.1 *************** *** 13,16 **** --- 13,17 ---- ***/ + #include <cmath> #include <cassert> #include <iostream> |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:19:44
|
Update of /cvsroot/ccmtools/ccmtools/test/CppGenerator/attribute_types/test In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25829/test/CppGenerator/attribute_types/test Modified Files: Tag: RELEASE-0_6_6-BRANCH _check_ccm_local_component_Test.cc Log Message: Added #include<cmath> to test cases Index: _check_ccm_local_component_Test.cc =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/CppGenerator/attribute_types/test/Attic/_check_ccm_local_component_Test.cc,v retrieving revision 1.4 retrieving revision 1.4.4.1 diff -C2 -d -r1.4 -r1.4.4.1 *** _check_ccm_local_component_Test.cc 21 Dec 2005 11:39:25 -0000 1.4 --- _check_ccm_local_component_Test.cc 15 Jan 2007 13:19:41 -0000 1.4.4.1 *************** *** 15,18 **** --- 15,19 ---- ***/ + #include <cmath> #include <cassert> #include <iostream> |
|
From: Teiniker E. <tei...@us...> - 2007-01-15 13:19:44
|
Update of /cvsroot/ccmtools/ccmtools In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25829 Modified Files: Tag: RELEASE-0_6_6-BRANCH ChangeLog Log Message: Added #include<cmath> to test cases Index: ChangeLog =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/ChangeLog,v retrieving revision 1.41.2.19 retrieving revision 1.41.2.20 diff -C2 -d -r1.41.2.19 -r1.41.2.20 *** ChangeLog 7 Dec 2006 09:22:45 -0000 1.41.2.19 --- ChangeLog 15 Jan 2007 13:19:40 -0000 1.41.2.20 *************** *** 2,5 **** --- 2,10 ---- ============================================================================ + RELEASE-0.6.18 (January 15, 2007) + ---------------------------------------------------------------------------- + Changed cpp-environment only. + + RELEASE-0.6.17 (December 7, 2006) ---------------------------------------------------------------------------- |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:59:10
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_exceptions/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/receptacle_exceptions/src Modified Files: Client.java Log Message: Namespace refactorings for Java Index: Client.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_exceptions/src/Client.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Client.java 18 May 2006 12:18:27 -0000 1.3 --- Client.java 10 Jan 2007 16:19:22 -0000 1.4 *************** *** 4,10 **** import org.omg.CosNaming.NamingContextExtHelper; ! import world.europe.austria.ccm.local.*; ! import ccm.local.ServiceLocator; ! import Components.ccm.local.HomeFinder; import java.util.logging.*; --- 4,10 ---- import org.omg.CosNaming.NamingContextExtHelper; ! import world.europe.austria.*; ! import ccmtools.local.ServiceLocator; ! import Components.HomeFinder; import java.util.logging.*; *************** *** 16,36 **** public static void main(String[] args) { ! System.out.println("receptacle exceptions test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("test"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccm.local.MinimalFormatter()); ! logger.addHandler(handler); ! ccm.local.ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if(args.length == 0) { TestHomeDeployment.deploy("TestHome"); --- 16,36 ---- public static void main(String[] args) { ! System.out.println("receptacle exceptions test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("test"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccmtools.utils.SimpleFormatter()); ! logger.addHandler(handler); ! ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if (args.length == 0) { TestHomeDeployment.deploy("TestHome"); *************** *** 38,104 **** else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! world.europe.austria.ccm.remote.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! **/ ! HomeFinder homeFinder = ccm.local.HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); ! component.connect_port(new client.MyIFaceImpl()); component.configuration_complete(); - - // now the remote component's business logic calls methods to the - // connected object. ! component.disconnect_port(); ! component.remove(); } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if(args.length == 0) { TestHomeDeployment.undeploy("TestHome"); } else ! { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! world.europe.austria.ccm.remote.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } --- 38,102 ---- else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! ccmtools.remote.world.europe.austria.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! */ ! HomeFinder homeFinder = HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); ! component.connect_port(new client.MyIFaceImpl()); component.configuration_complete(); ! // now the remote component's business logic calls methods to the ! // connected object. ! ! component.disconnect_port(); ! component.remove(); } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if (args.length == 0) { TestHomeDeployment.undeploy("TestHome"); } else ! { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! ccmtools.remote.world.europe.austria.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:59:08
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_exceptions/impl In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/receptacle_exceptions/impl Modified Files: TestImpl.java Log Message: Namespace refactorings for Java Index: TestImpl.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_exceptions/impl/TestImpl.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TestImpl.java 18 May 2006 12:18:27 -0000 1.3 --- TestImpl.java 10 Jan 2007 16:19:22 -0000 1.4 *************** *** 1,4 **** /** ! * This file was automatically generated by CCM Tools version 0.6.6 * <http://ccmtools.sourceforge.net> * --- 1,4 ---- /** ! * This file was automatically generated by CCM Tools * <http://ccmtools.sourceforge.net> * *************** *** 11,19 **** */ ! package world.europe.austria.ccm.local; ! import Components.ccm.local.SessionContext; ! import Components.ccm.local.CCMException; ! import Components.ccm.local.NoConnection; --- 11,19 ---- */ ! package world.europe.austria; ! import Components.SessionContext; ! import Components.CCMException; ! import Components.NoConnection; |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:59:08
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_constants/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/receptacle_constants/src Modified Files: Client.java Log Message: Namespace refactorings for Java Index: Client.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_constants/src/Client.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Client.java 18 May 2006 12:18:27 -0000 1.3 --- Client.java 10 Jan 2007 16:19:22 -0000 1.4 *************** *** 4,11 **** import org.omg.CosNaming.NamingContextExtHelper; ! import world.ccm.local.*; ! import world.europe.ccm.local.*; ! import ccm.local.ServiceLocator; ! import Components.ccm.local.HomeFinder; import java.util.logging.*; --- 4,11 ---- import org.omg.CosNaming.NamingContextExtHelper; ! import world.*; ! import world.europe.*; ! import ccmtools.local.ServiceLocator; ! import Components.HomeFinder; import java.util.logging.*; *************** *** 17,37 **** public static void main(String[] args) { ! System.out.println("receptacle constants test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("test"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccm.local.MinimalFormatter()); ! logger.addHandler(handler); ! ccm.local.ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if(args.length == 0) { TestHomeDeployment.deploy("TestHome"); --- 17,37 ---- public static void main(String[] args) { ! System.out.println("receptacle constants test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("test"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccmtools.utils.SimpleFormatter()); ! logger.addHandler(handler); ! ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if (args.length == 0) { TestHomeDeployment.deploy("TestHome"); *************** *** 39,87 **** else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! world.europe.ccm.remote.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! **/ ! HomeFinder homeFinder = ccm.local.HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); ! component.connect_port(new client.MyConstantsImpl()); component.configuration_complete(); - - // now the remote component's business logic calls methods to the - // connected object. ! component.disconnect_port(); ! component.remove(); } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if(args.length == 0) { TestHomeDeployment.undeploy("TestHome"); --- 39,85 ---- else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! ccmtools.remote.world.europe.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! */ ! HomeFinder homeFinder = HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); ! component.connect_port(new client.MyConstantsImpl()); component.configuration_complete(); ! // now the remote component's business logic calls methods to the ! // connected object. ! ! component.disconnect_port(); ! component.remove(); } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if (args.length == 0) { TestHomeDeployment.undeploy("TestHome"); *************** *** 89,106 **** else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! world.europe.ccm.remote.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } --- 87,104 ---- else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! ccmtools.remote.world.europe.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:59:07
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/facet_simple In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/facet_simple Modified Files: Makefile build.xml Log Message: Namespace refactorings for Java Index: Makefile =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/facet_simple/Makefile,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Makefile 4 Oct 2006 12:38:39 -0000 1.11 --- Makefile 10 Jan 2007 16:19:17 -0000 1.12 *************** *** 6,10 **** all: metainf remote clientlib ! test: metainf remote clientlib check_local check clean idl3: Test.idl --- 6,10 ---- all: metainf remote clientlib ! test: metainf remote clientlib check clean idl3: Test.idl *************** *** 18,46 **** local: idl3 ! ccmjava -iface -local -o ${DEST_DIR}/src-gen-local ${INCLUDE} ${IDL3_DIR}/interface/world/*.idl ! ccmjava -iface -local -o ${DEST_DIR}/src-gen-local ${INCLUDE} ${IDL3_DIR}/component/world/Test*.idl ccmjava -app -o ${DEST_DIR}/src ${INCLUDE} ${IDL3_DIR}/component/world/Test*.idl stubs: local ccmidl -idl2 -o ${IDL2_DIR} Test.idl ! ccmtools-idl -java -o ${DEST_DIR}/src-gen-remote -I${CCMTOOLS_HOME}/idl -I${IDL2_DIR} ${IDL2_DIR}/*.idl remote: stubs ! ccmjava -remote -o ${DEST_DIR}/src-gen-remote ${INCLUDE} ${IDL3_DIR}/interface/world/*.idl ! ccmjava -remote -o ${DEST_DIR}/src-gen-remote ${INCLUDE} ${IDL3_DIR}/component/world/Test*.idl clientlib: idl3 ! ccmjava -clientlib -o ${DEST_DIR}/src-gen-remote ${INCLUDE} ${IDL3_DIR}/interface/world/*.idl ! ccmjava -clientlib -o ${DEST_DIR}/src-gen-remote ${INCLUDE} ${IDL3_DIR}/component/world/Test*.idl build: - cp impl/TestImpl.java ${DEST_DIR}/src/world/ccm/local/ - cp impl/TestportImpl.java ${DEST_DIR}/src/world/ccm/local/ ant -f ./build.xml ! check_local: build bin/runClientLocal - - check: build bin/runClient --- 18,45 ---- local: idl3 ! ccmjava -iface -local -o ${DEST_DIR}/src-gen ${INCLUDE} ${IDL3_DIR}/interface/world/*.idl ! ccmjava -iface -local -o ${DEST_DIR}/src-gen ${INCLUDE} ${IDL3_DIR}/component/world/Test*.idl ccmjava -app -o ${DEST_DIR}/src ${INCLUDE} ${IDL3_DIR}/component/world/Test*.idl stubs: local ccmidl -idl2 -o ${IDL2_DIR} Test.idl ! ccmtools-idl -java -o ${DEST_DIR}/src-gen -I${CCMTOOLS_HOME}/idl -I${IDL2_DIR} ${IDL2_DIR}/*.idl remote: stubs ! ccmjava -remote -o ${DEST_DIR}/src-gen ${INCLUDE} ${IDL3_DIR}/interface/world/*.idl ! ccmjava -remote -o ${DEST_DIR}/src-gen ${INCLUDE} ${IDL3_DIR}/component/world/Test*.idl clientlib: idl3 ! ccmjava -clientlib -o ${DEST_DIR}/src-gen ${INCLUDE} ${IDL3_DIR}/interface/world/*.idl ! ccmjava -clientlib -o ${DEST_DIR}/src-gen ${INCLUDE} ${IDL3_DIR}/component/world/Test*.idl build: ant -f ./build.xml ! check: ! cp impl/TestImpl.java ${DEST_DIR}/src/world/ ! cp impl/TestportImpl.java ${DEST_DIR}/src/world/ ! ant -f ./build.xml bin/runClientLocal bin/runClient Index: build.xml =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/facet_simple/build.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** build.xml 15 May 2006 15:28:10 -0000 1.3 --- build.xml 10 Jan 2007 16:19:17 -0000 1.4 *************** *** 3,12 **** <property name="dest" location="xxx" /> <property name="idl2" location="${dest}/idl2" /> ! <property name="src-gen-local" location="${dest}/src-gen-local" /> ! <property name="src-gen-remote" location="${dest}/src-gen-remote" /> <property name="src-app" location="${dest}/src" /> <property name="build" location="${dest}/build" /> <property name="src" location="src" /> ! <path id="compile.classpath"> <pathelement path="${java.class.path}" /> --- 3,11 ---- <property name="dest" location="xxx" /> <property name="idl2" location="${dest}/idl2" /> ! <property name="src-gen" location="${dest}/src-gen" /> <property name="src-app" location="${dest}/src" /> <property name="build" location="${dest}/build" /> <property name="src" location="src" /> ! <path id="compile.classpath"> <pathelement path="${java.class.path}" /> *************** *** 22,26 **** <!-- Compile generated Java files--> <target name="compile" depends="init" description="" > ! <javac srcdir="${src-gen-local}:${src-gen-remote}:${src-app}:${src}" destdir="${build}" debug="on" source="1.5" target="1.5"> <classpath refid="compile.classpath" /> --- 21,25 ---- <!-- Compile generated Java files--> <target name="compile" depends="init" description="" > ! <javac srcdir="${src-gen}:${src-app}:${src}" destdir="${build}" debug="on" source="1.5" target="1.5"> <classpath refid="compile.classpath" /> |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:58:58
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/supports_constants/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/supports_constants/src Modified Files: Client.java Log Message: Namespace refactorings for Java Index: Client.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/supports_constants/src/Client.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Client.java 18 May 2006 12:18:29 -0000 1.3 --- Client.java 10 Jan 2007 16:19:21 -0000 1.4 *************** *** 4,11 **** import org.omg.CosNaming.NamingContextExtHelper; ! import world.ccm.local.*; ! import world.europe.ccm.local.*; ! import ccm.local.ServiceLocator; ! import Components.ccm.local.HomeFinder; import java.util.logging.*; --- 4,11 ---- import org.omg.CosNaming.NamingContextExtHelper; ! import world.*; ! import world.europe.*; ! import ccmtools.local.ServiceLocator; ! import Components.HomeFinder; import java.util.logging.*; *************** *** 17,36 **** public static void main(String[] args) { ! System.out.println("supports constants test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("test"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccm.local.MinimalFormatter()); ! logger.addHandler(handler); ! ccm.local.ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if(args.length == 0) { TestHomeDeployment.deploy("TestHome"); --- 17,36 ---- public static void main(String[] args) { ! System.out.println("supports constants test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("test"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccmtools.utils.SimpleFormatter()); ! logger.addHandler(handler); ! ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if (args.length == 0) { TestHomeDeployment.deploy("TestHome"); *************** *** 38,62 **** else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! world.europe.ccm.remote.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! **/ ! HomeFinder homeFinder = ccm.local.HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); --- 38,61 ---- else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! ccmtools.remote.world.europe.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! */ ! HomeFinder homeFinder = HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); *************** *** 65,141 **** System.out.println("Supported Interface Constants Test..."); { ! // const boolean BOOLEAN_CONST = TRUE; boolean result = component.getBooleanValue(); ! assert(result == Constants.BOOLEAN_CONST); } { ! // const octet OCTET_CONST = 255; byte result = component.getOctetValue(); ! assert(result == Constants.OCTET_CONST); } { ! // const short SHORT_CONST = -7+10; short result = component.getShortValue(); ! assert(result == Constants.SHORT_CONST); } { ! // const unsigned short USHORT_CONST = 7; short result = component.getUnsignedShortValue(); ! assert(result == Constants.USHORT_CONST); } { ! // const long LONG_CONST = -7777; long result = component.getLongValue(); ! assert(result == Constants.LONG_CONST); } { ! // const unsigned long ULONG_CONST = 7777; long result = component.getUnsignedLongValue(); ! assert(result == Constants.ULONG_CONST); } { ! // const char CHAR_CONST = 'c'; char result = component.getCharValue(); ! assert(result == Constants.CHAR_CONST); } { ! // const string STRING_CONST = "1234567890"; String result = component.getStringValue(); ! assert(result.equals(Constants.STRING_CONST)); } { ! // const float FLOAT_CONST = 3.14; float result = component.getFloatValue(); ! assert(Math.abs(Constants.FLOAT_CONST - result) < 0.001); } { ! // const double DOUBLE_CONST = 3.1415926*2.0; double result = component.getDoubleValue(); ! assert(Math.abs(Constants.DOUBLE_CONST - result) < 0.000001); } ! component.remove(); } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if(args.length == 0) { TestHomeDeployment.undeploy("TestHome"); --- 64,139 ---- System.out.println("Supported Interface Constants Test..."); { ! // const boolean BOOLEAN_CONST = TRUE; boolean result = component.getBooleanValue(); ! assert (result == Constants.BOOLEAN_CONST); } { ! // const octet OCTET_CONST = 255; byte result = component.getOctetValue(); ! assert (result == Constants.OCTET_CONST); } { ! // const short SHORT_CONST = -7+10; short result = component.getShortValue(); ! assert (result == Constants.SHORT_CONST); } { ! // const unsigned short USHORT_CONST = 7; short result = component.getUnsignedShortValue(); ! assert (result == Constants.USHORT_CONST); } { ! // const long LONG_CONST = -7777; long result = component.getLongValue(); ! assert (result == Constants.LONG_CONST); } { ! // const unsigned long ULONG_CONST = 7777; long result = component.getUnsignedLongValue(); ! assert (result == Constants.ULONG_CONST); } { ! // const char CHAR_CONST = 'c'; char result = component.getCharValue(); ! assert (result == Constants.CHAR_CONST); } { ! // const string STRING_CONST = "1234567890"; String result = component.getStringValue(); ! assert (result.equals(Constants.STRING_CONST)); } { ! // const float FLOAT_CONST = 3.14; float result = component.getFloatValue(); ! assert (Math.abs(Constants.FLOAT_CONST - result) < 0.001); } { ! // const double DOUBLE_CONST = 3.1415926*2.0; double result = component.getDoubleValue(); ! assert (Math.abs(Constants.DOUBLE_CONST - result) < 0.000001); } ! component.remove(); } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if (args.length == 0) { TestHomeDeployment.undeploy("TestHome"); *************** *** 143,160 **** else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! world.europe.ccm.remote.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } --- 141,158 ---- else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! ccmtools.remote.world.europe.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:58:57
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/facet_constants In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/facet_constants Modified Files: Makefile Log Message: Namespace refactorings for Java Index: Makefile =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/facet_constants/Makefile,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Makefile 4 Oct 2006 12:38:41 -0000 1.9 --- Makefile 10 Jan 2007 16:19:21 -0000 1.10 *************** *** 6,10 **** all: metainf remote clientlib ! test: metainf remote clientlib check_local check clean idl3: Test.idl --- 6,10 ---- all: metainf remote clientlib ! test: metainf remote clientlib check clean idl3: Test.idl *************** *** 34,44 **** build: - cp impl/TestifaceImpl.java ${DEST_DIR}/src/world/europe/ccm/local/ ant -f ./build.xml ! check_local: build bin/runLocalClient - - check: build bin/runClient --- 34,43 ---- build: ant -f ./build.xml ! check: ! cp impl/TestifaceImpl.java ${DEST_DIR}/src/world/europe/ ! ant -f ./build.xml bin/runLocalClient bin/runClient |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:58:53
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/component_dynamic_connect In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/component_dynamic_connect Modified Files: Makefile Log Message: Namespace refactorings for Java Index: Makefile =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/component_dynamic_connect/Makefile,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Makefile 4 Oct 2006 12:38:42 -0000 1.6 --- Makefile 10 Jan 2007 16:19:20 -0000 1.7 *************** *** 6,10 **** all: metainf remote clientlib ! test: metainf remote clientlib check_local check clean idl3: Test.idl --- 6,10 ---- all: metainf remote clientlib ! test: metainf remote clientlib check clean idl3: Test.idl *************** *** 34,44 **** build: - cp impl/TestImpl.java ${DEST_DIR}/src/world/ccm/local/ ant -f ./build.xml ! check_local: build bin/runLocalClient - - check: build bin/runClient --- 34,43 ---- build: ant -f ./build.xml ! check: ! cp impl/TestImpl.java ${DEST_DIR}/src/world/ ! ant -f ./build.xml bin/runLocalClient bin/runClient |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:58:53
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/facet_exceptions/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/facet_exceptions/src Modified Files: Client.java Log Message: Namespace refactorings for Java Index: Client.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/facet_exceptions/src/Client.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Client.java 16 May 2006 15:33:17 -0000 1.3 --- Client.java 10 Jan 2007 16:19:21 -0000 1.4 *************** *** 4,11 **** import org.omg.CosNaming.NamingContextExtHelper; ! import world.europe.austria.ccm.local.*; ! import Components.ccm.local.HomeFinder; ! import ccm.local.ServiceLocator; import java.util.logging.*; --- 4,11 ---- import org.omg.CosNaming.NamingContextExtHelper; ! import world.europe.austria.*; ! import Components.HomeFinder; ! import ccmtools.local.ServiceLocator; import java.util.logging.*; *************** *** 17,37 **** public static void main(String[] args) { ! System.out.println("facet exception test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("ccm.local"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccm.local.MinimalFormatter()); ! logger.addHandler(handler); ! ccm.local.ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if(args.length == 0) { TestHomeDeployment.deploy("TestHome"); --- 17,37 ---- public static void main(String[] args) { ! System.out.println("facet exception test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("ccm.local"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccmtools.utils.SimpleFormatter()); ! logger.addHandler(handler); ! ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if (args.length == 0) { TestHomeDeployment.deploy("TestHome"); *************** *** 39,134 **** else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! ! world.europe.austria.ccm.remote.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! **/ ! HomeFinder homeFinder = ccm.local.HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); component.configuration_complete(); ! IFace iface = component.provide_iface(); ! try { int result = iface.foo("0123456789"); ! assert(result == 10); } ! catch(ErrorException e) { e.printStackTrace(); ! assert(false); } - try { int result = iface.foo("Error"); ! assert(false); } ! catch(ErrorException e) { System.out.println("catched: " + e.getMessage()); ! for(int i = 0; i < e.getInfo().size(); i++) { ! System.out.println(e.getInfo().get(i).getCode() + ": " + ! e.getInfo().get(i).getMessage()); } } - ! try { int result = iface.foo("SuperError"); ! assert(false); } ! catch(SuperError e) { System.out.println("catched: " + e.getMessage()); } - try { int result = iface.foo("FatalError"); ! assert(false); } ! catch(FatalError e) { System.out.println("catched: " + e.getMessage()); } ! component.remove(); } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if(args.length == 0) { TestHomeDeployment.undeploy("TestHome"); --- 39,127 ---- else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! ! ccmtools.remote.world.europe.austria.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! */ ! HomeFinder homeFinder = Components.HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); component.configuration_complete(); ! IFace iface = component.provide_iface(); try { int result = iface.foo("0123456789"); ! assert (result == 10); } ! catch (ErrorException e) { e.printStackTrace(); ! assert (false); } try { int result = iface.foo("Error"); ! assert (false); } ! catch (ErrorException e) { System.out.println("catched: " + e.getMessage()); ! for (int i = 0; i < e.getInfo().size(); i++) { ! System.out.println(e.getInfo().get(i).getCode() + ": " + e.getInfo().get(i).getMessage()); } } ! try { int result = iface.foo("SuperError"); ! assert (false); } ! catch (SuperError e) { System.out.println("catched: " + e.getMessage()); } try { int result = iface.foo("FatalError"); ! assert (false); } ! catch (FatalError e) { System.out.println("catched: " + e.getMessage()); } ! component.remove(); } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if (args.length == 0) { TestHomeDeployment.undeploy("TestHome"); *************** *** 136,154 **** else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! world.europe.austria.ccm.remote.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } --- 129,146 ---- else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! ccmtools.remote.world.europe.austria.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:20:19
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/component_dynamic_connect/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/component_dynamic_connect/src Modified Files: Client.java Log Message: Namespace refactorings for Java Index: Client.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/component_dynamic_connect/src/Client.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Client.java 18 May 2006 12:18:27 -0000 1.3 --- Client.java 10 Jan 2007 16:19:24 -0000 1.4 *************** *** 4,11 **** import org.omg.CosNaming.NamingContextExtHelper; ! import world.ccm.local.*; ! import ccm.local.ServiceLocator; ! import Components.ccm.local.Cookie; ! import Components.ccm.local.HomeFinder; import java.util.logging.*; --- 4,11 ---- import org.omg.CosNaming.NamingContextExtHelper; ! import world.*; ! import ccmtools.local.ServiceLocator; ! import Components.Cookie; ! import Components.HomeFinder; import java.util.logging.*; *************** *** 17,37 **** public static void main(String[] args) { ! System.out.println("component dynamic connect test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("test"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccm.local.MinimalFormatter()); ! logger.addHandler(handler); ! ccm.local.ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if(args.length == 0) { TestHomeDeployment.deploy("TestHome"); --- 17,37 ---- public static void main(String[] args) { ! System.out.println("component dynamic connect test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("test"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccmtools.utils.SimpleFormatter()); ! logger.addHandler(handler); ! ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if (args.length == 0) { TestHomeDeployment.deploy("TestHome"); *************** *** 39,87 **** else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! world.ccm.remote.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! **/ ! HomeFinder homeFinder = ccm.local.HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); ! Cookie ck = component.connect("port",new client.MyIFace()); component.configuration_complete(); - - // now the remote component's business logic calls methods to the - // connected object. ! component.disconnect("port", ck); ! component.remove(); } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if(args.length == 0) { TestHomeDeployment.undeploy("TestHome"); --- 39,85 ---- else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! ccmtools.remote.world.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! */ ! HomeFinder homeFinder = HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); ! Cookie ck = component.connect("port", new client.MyIFace()); component.configuration_complete(); ! // now the remote component's business logic calls methods to the ! // connected object. ! ! component.disconnect("port", ck); ! component.remove(); } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if (args.length == 0) { TestHomeDeployment.undeploy("TestHome"); *************** *** 89,106 **** else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! world.ccm.remote.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } --- 87,104 ---- else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! ccmtools.remote.world.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:20:17
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_simple/src In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/receptacle_simple/src Modified Files: Client.java Log Message: Namespace refactorings for Java Index: Client.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_simple/src/Client.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Client.java 16 May 2006 14:44:49 -0000 1.3 --- Client.java 10 Jan 2007 16:19:24 -0000 1.4 *************** *** 4,10 **** import org.omg.CosNaming.NamingContextExtHelper; ! import world.ccm.local.*; ! import ccm.local.ServiceLocator; ! import Components.ccm.local.HomeFinder; import java.util.logging.*; --- 4,10 ---- import org.omg.CosNaming.NamingContextExtHelper; ! import world.*; ! import ccmtools.local.ServiceLocator; ! import Components.HomeFinder; import java.util.logging.*; *************** *** 16,37 **** public static void main(String[] args) { ! System.out.println("receptacle simple test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("ccm.local"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccm.local.MinimalFormatter()); ! logger.addHandler(handler); ! ccm.local.ServiceLocator.instance().setLogger(logger); ! ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! if(args.length == 0) { TestHomeDeployment.deploy("TestHome"); --- 16,37 ---- public static void main(String[] args) { ! System.out.println("receptacle simple test case:"); ! // Configure Logger ! Logger logger = Logger.getLogger("ccm.local"); ! logger.setLevel(Level.FINER); ! Handler handler = new ConsoleHandler(); ! handler.setLevel(Level.ALL); ! handler.setFormatter(new ccmtools.utils.SimpleFormatter()); ! logger.addHandler(handler); ! ServiceLocator.instance().setLogger(logger); ! try ! { ! /** ! * Server-side code (Part 1) ! */ ! ! if (args.length == 0) { TestHomeDeployment.deploy("TestHome"); *************** *** 39,87 **** else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! ! world.ccm.remote.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! **/ ! HomeFinder homeFinder = ccm.local.HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); ! component.connect_port(new client.MyIFace()); component.configuration_complete(); - - // now the remote component's business logic calls methods to the - // connected object. ! component.disconnect_port(); ! component.remove(); } ! catch(Exception e) { e.printStackTrace(); } ! ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if(args.length == 0) { TestHomeDeployment.undeploy("TestHome"); --- 39,85 ---- else { ! // Set up the ServiceLocator singleton ! ORB orb = ORB.init(args, null); ! ServiceLocator.instance().setCorbaOrb(orb); ! ! ccmtools.remote.world.TestHomeDeployment.deploy("TestHome"); ! TestHomeClientLibDeployment.deploy("TestHome"); ! System.out.println("> Server is running..."); ! // orb.run(); ! } ! } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Client-side code (co-located with clientlib) ! */ ! HomeFinder homeFinder = HomeFinder.instance(); TestHome home = (TestHome) homeFinder.find_home_by_name("TestHome"); Test component = home.create(); ! component.connect_port(new client.MyIFace()); component.configuration_complete(); ! // now the remote component's business logic calls methods to the ! // connected object. ! ! component.disconnect_port(); ! component.remove(); } ! catch (Exception e) { e.printStackTrace(); } ! try ! { ! /** ! * Server-side code (Part 2) ! */ ! if (args.length == 0) { TestHomeDeployment.undeploy("TestHome"); *************** *** 89,107 **** else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! world.ccm.remote.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } --- 87,104 ---- else { ! TestHomeClientLibDeployment.undeploy("TestHome"); ! ccmtools.remote.world.TestHomeDeployment.undeploy("TestHome"); ! } ! System.out.println("OK!"); ! } ! catch (Exception e) ! { ! e.printStackTrace(); ! } ! finally ! { ! // Tear down the ServiceLocator singleton ! ServiceLocator.instance().destroy(); ! } } } |
|
From: Teiniker E. <tei...@us...> - 2007-01-10 16:20:13
|
Update of /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_exceptions/src/client In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv28756/test/JavaRemoteComponents/receptacle_exceptions/src/client Modified Files: MyIFaceImpl.java Log Message: Namespace refactorings for Java Index: MyIFaceImpl.java =================================================================== RCS file: /cvsroot/ccmtools/ccmtools/test/JavaRemoteComponents/receptacle_exceptions/src/client/MyIFaceImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MyIFaceImpl.java 18 May 2006 12:18:28 -0000 1.1 --- MyIFaceImpl.java 10 Jan 2007 16:19:23 -0000 1.2 *************** *** 4,13 **** import java.util.ArrayList; ! import Components.ccm.local.CCMException; ! import world.europe.austria.ccm.local.*; public class MyIFaceImpl ! implements world.europe.austria.ccm.local.IFace { public MyIFaceImpl() --- 4,13 ---- import java.util.ArrayList; ! import Components.CCMException; ! import world.europe.austria.*; public class MyIFaceImpl ! implements world.europe.austria.IFace { public MyIFaceImpl() |