Thanks, Zoe. It is much clearer now. Yep. I agree we need more thinking
about the process of maintaining the assembly samples.
The recent 'Application' refactoring introduced a few more dependencies:
mavenBundle("org.apache.aries.application",
"org.apache.aries.application.modeller"),
mavenBundle("org.apache.aries.application",
"org.apache.aries.application.deployment.management"),
I will go through the samples and fix them.
Many thanks and kindest regards,
Emily
===========================
Emily Jiang
WebSphere ESB Foundation Technologies
MP 211, DE3A25, Winchester, Hampshire, England, SO21 2JN
Phone: +44 (0)1962 816278 Internal: 246278
Email: [email protected]
Lotus Notes: Emily Jiang/UK/i...@ibmgb
From: zoe slattery <[email protected]>
To: [email protected]
Date: 22/09/2010 10:47
Subject: Re: blog and aries trader assembly
Hi
The assembly projects assemble the OSGi platform needed to run samples.
The only way to be _completely_ certain that the assembly hasn't been
broken is to is to run the sample. We introduced i-tests for Aries
Trader and the Blog Sample that mimic the behaviour of the assembly
projects, and these give a good indication of when an assembly is likely
to have been broken. So the first rule is that if you have to change a
sample i-test you almost certainly have to change the assembly project.
The place where the assembly differs from the i-test is that, to run an
eba on the platform which has been assembled, you have to copy the eba
into a load directory. This exact process is not replicated in the
i-tests so anyone making changes to application, and in particular, the
code which installs applications really should (currently) manually run
the blog sample :-)
I think we might be able to do some more sophisticated testing, but I'm
not sure how. The other option is for developers to periodically run the
blog sample. Of course, there are other samples (hello world) which
don't have i-tests and are probably broken too.
More generally - there seems to have been some significant re-factoring
'Application', thinking ahead to the next release - could someone
summarise the changes?
Zoƫ
> I am just wondering how to remind people (especially new joiners) to
> maintain the assembly code as the full assembly process is not part of
> build. Is it too much to make it part of build? Any thoughts?
>
> Regards
> Emily
>
>
>
>
>
> 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
>
>
>
>
>
>
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