I like this approach and think it will help runtimes in obtaining conformance. Good luck with Maven! Seriously, I think Maven is the best "bad" solution for this.
Also, another consideration would be to make the test artifacts and SCA jars available as Maven artifacts from the Ibiblio repository. Is this something that has been considered?
Jim
On Sep 1, 2009, at 3:57 PM, Mike Edwards wrote: Raiser: Mike Edwards Target: sca-assembly-1.1-testsuite-cd01.zip Description: A number of comments have been raised that the layout of the Test Suite artifacts in the SVN repository is not suitable for common build processors and is also not suitable for commonly used tool sets such as Eclipse. The current layout is like this: TestCases/ |- src/ |- main/ |- java/ |- resources/ |- ASM_4002/ <-- a contribution | |- META-INF/ <-- contribution META-INF | |- TestComposite16.composite <-- composites, WSDLs, XSDs | |- Test_ASM_4002.composite |- ASM_4003 <-- next contribution |.... |- General_Java <-- contribution containing Java artifacts |- META-INF |- org.oasisopen.sca.test <-- Java classes |- TestComposite1.composite <-- composites, WSDLs, XSDs |... Proposal: Reorganize the artifacts so that each Contribution is a top level entity, with separate structure for resources like composites and for code artifacts like Java classes TestCases/ |- pom.xml <-- EXAMPLE Maven build file - top level |- ASM_4002/ <-- a contribution | |- src/ | |- pom.xml <-- EXAMPLE Maven build file - subproject level | |- main/ | |- resources/ | | |- META-INF/ <-- contribution META-INF | | |- TestComposite16.composite <-- composites, WSDLs, XSDs | | |- Test_ASM_4002.composite |- ASM_4003 <-- next contribution |.... |- General_Java <-- contribution containing Java artifacts | |- src/ | |- pom.xml <-- EXAMPLE Maven build file - subproject level | |- main/ | |- java | | |- org.oasisopen.sca.test <-- Java classes | |- resources/ | |- META-INF | |- TestComposite1.composite <-- composites, WSDLs, XSDs | |... |- Test_Client <-- The test client application, treated as a separate (Java) subproject Note that the Test_Client is effectiively separated from the contributions. This proposal adds EXAMPLE build files - the initial ones use Maven, but they are only provided to give assistance to folk wanting to build the artifacts. Other build systems can be used (I hope to provide an example buildr configuration, for example and other folks are free to add Ant or artifacts for their favourite build system)
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
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
|