OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-assembly message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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:  mike_edwards@uk.ibm.com



From: Bryan Aupperle <aupperle@us.ibm.com>
To: sca-assembly@lists.oasis-open.org
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: aupperle@us.ibm.com








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








[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]