Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by GeoffWinn: http://wiki.apache.org/ws/Tuscany/TuscanyCpp/DesignNotes ------------------------------------------------------------------------------ - = Logging = + = Community Building = - Logging is not mentioned in the V2.01 specification, however, a rudimentary logging capability is provided in the current implementation, using three classes. + In the IRC chat of 18-Sep-2006 we discussed the prospects for M.Sc students to work on Tuscany related projects as part of their studies. This is certainly possible at Oxford and probably elsewhere. To make this work, we will need a description of each project that are sufficient to both persuade a student to choose this particular topic and also convince their supervisor that this is an appropriate part of their studies. - * Log``Writer + The following subjects were suggested on IRC. - This defines an abstract class with a single '''log''' method. + * JSON databinding - * Default``Log``Writer + * XSLT integration - Instantiates '''Log``Writer''' implementng a '''log''' method that writes to '''cout''' + * BPEL integration - * Logger + * OpenJPA integration - A class with a static pointer to a '''Log``writer''' object. When the class is loaded the pointer is initialized to a reference to an instance of '''Default``Log``Writer'''. '''Logger''' provides its own '''log''' and '''logArgs''' methods that use the '''log''' method of '''Default``Log``Writer''' + * JMS stuff - In the current implementation, logging is seldom used. + * Atom binding - = Conversion from C style strings to C++ style strings = + * C++ DAS - = Debugging the XML parser = + * XML DAS - SDO uses the SAX parser provided by libxml2 to parse XML documents (and therefore XSD documents also). The SAX parser uses a callback mechanism to report XML events to its caller. These callback routines are supplied to the parser using a struct of type xmlSAXHandler, called SDOSAX2``Handler that is defined in SAX2``Parser.cpp + * DAS with non-SDO data types - To watch the parsing of a file as it unfolds it is usually easiest to place breakpoints on the routines named in that struct. + * Hessian binding - = Modifying the SDO Build to use the Apache stdcxx Standard C++ library = - - stdcxx is an implementation of the C++ Standard Library provided by Apache. The website is at http://incubator.apache.org/stdcxx/. - - To build SDO using stdcxx rather than the native C++ library on Windows, the following modifications to the Microsoft Visual Studio .NET 2003 build environment are necessary. We assume that a source extract of stdcxx is already available in a directory called C:\Tuscany\stdcxx-4.1.3 (based on the version number of the current release at the time of writing). We also assume that debug and release versions of this library have been built in directories called C:\Tuscany\stdcxx-4.1.3\Debug and C:\Tuscany\stdcxx-4.1.3\Release. The process for building these is described later. - - 1. Define an environment variable, STDCXX_HOME to identify the root of the source extract tree ie C:\Tuscany\stdcxx-4.1.3 - - This is not strictly necessary but is convenient given how often we will refer to that location. - - 2. Add the stdcxx include directories to the appropriate search path. These directories are - - $(STDCXX_HOME)\include - - $(STDCXX_HOME)\include\ansi - - and either - - $(STDCXX_HOME)\Debug\include\15d - for a debug build - - or - - $(STDCXX_HOME)\Release\include\12d - for a release build - - For MSVC 7.1 these should be appended to the list found in Configuration Properties -> C/C++ -> General -> Additional Include Directories - - 3. Add environment variable definitions. These variables are - - _RWSTD_USE_CONFIG - - _RWSHARED - - and _RWSTDDEBUG for a debug build - - 4. Add the stdcxx library directory to the appropriate search path. This directory is - - $(STDCXX_HOME)\Debug\lib - for a debug build - - and - - $(STDCXX_HOME)\Release\lib - for a release build - - For MSVC 7.1 these should be appended to the list found in Configuration Properties -> Linker -> General -> Additional Library Directories - - 5. Add the stdcxx library name as a dependency. The library name is - - stdlib15d.lib - for a debug build - - and - - stdlib12d.lib - for a release build - - For MSVC 7.1 these should be appended to the list found in Configuration Properties -> Linker -> Input -> Additional Dependencies - --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
