← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [sca-assembly] NEW ISSUE: Namespace and header file location updates C++ testartifacts

From
Mike Edwards <>
Date
2010-04-06T09:15:45+00:00
ID
Thread
Re: [sca-assembly] NEW ISSUE: Namespace and header file location updates C++ testartifacts
Logged as:  http://www.osoa.org/jira/browse/ASSEMBLY-226

Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.

Co Chair OASIS SCA Assembly TC.

IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.

Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  

Email:  

From:
Bryan Aupperle <>

To:


Date:
30/03/2010 20:03

Subject:
[sca-assembly] NEW ISSUE: Namespace
and header file location updates C++ test artifacts

Target: C++ test suite 

Description:  The C-C++ TC recently fixed an error in one of the SCA
C++ header files to add missing namespace qualifiers for two SDO related
return types (ComponentContext::getProperties returns a DataObjectPtr and
ComponentContext::getDataFactory returns a DataFactoryPtr).  ComponentContext::getProperties
is used in nearly every service implementation in the test suite.

The test artifacts currently do not follow C++ conventions about directory
structure of header files in namespaces (i.e. a namespace of oasis::sca
implies the header files are in ...\oasis\sca). 

Proposal: 

1) Prefix all instances of DataObjectPtr with commonj::sdo::

2) Change all #include "sdo.h" to #include "commonj/sdo/sdo.h"

3) Change all imports of sca header files to be in a oasis/sca directory
e.g. #include "ComponentContext.h" becomes #include "oasis/sca/ComponentContext.h"

Bryan Aupperle, Ph.D.

STSM, WebSphere Enterprise Platform Software Solution Architect

Research Triangle Park,  NC 

+1 919-254-7508 (T/L 444-7508)

Internet Address: 

Unless stated otherwise above:

IBM United Kingdom Limited - Registered in England and Wales with number
741598. 

Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU
← Prev in month ← Prev in thread
Next in thread → Next in month →