On 5/28/08, Simon Nash <[EMAIL PROTECTED]> wrote:
>
> Graham Charters wrote:
>
>> I've been wondering whether we should make this an itest rather than a
>> sample.  We could keep it as a sample, but it relies on
>> maven-dependency-plugin to work out the dependencies required to run
>> the sample.  Is a sample that only works with maven acceptable (I
>> believe the other samples do not) or should I change this to be an
>> itest?
>>
>> We do try hard to make the samples work with ant as well as maven.
> There have been cases where samples started out with maven support
> only and the ant support was added later.  From your description,
> it doesn't sound lke this is likely to happen.


There are webapp samples in Tuscany which use hardcoded dependency lists for
modules and 3rd party libs in their ant build script. We should be able to
do something similar for the OSGi sample as well. It involves some more
work, but if we agree that sample is the way to go, I think we can get it
running under ant. The ant version wont be as flexible as the maven version
which works out transitive dependencies, but it should work.

I believe the main purpose of this "sample" is to act as a test for
> the Tuscany build rather than a sample for a user to copy and adapt.
> If this is correct, I think it should be changed to an itest.
>
>  Simon
>
> Regards, Graham.
>>
>> 2008/5/23 Graham Charters (JIRA) <tuscany-dev@ws.apache.org>:
>>
>>>   [
>>> https://issues.apache.org/jira/browse/TUSCANY-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599389#action_12599389]
>>>
>>> Graham Charters commented on TUSCANY-2330:
>>> ------------------------------------------
>>>
>>> Hi Rajini, sorry for taking so long to respond.  Please go ahead and
>>> check the code in with your update.  Changing it to use Felix is fine by me.
>>>  I tested it with both and there was little discernible difference in
>>> performance.
>>>
>>> Thanks, Graham.
>>>
>>> Calculator sample running in OSGi
>>>> ---------------------------------
>>>>
>>>>                Key: TUSCANY-2330
>>>>                URL: https://issues.apache.org/jira/browse/TUSCANY-2330
>>>>            Project: Tuscany
>>>>         Issue Type: Wish
>>>>         Components: Java SCA Samples
>>>>   Affects Versions: Java-SCA-Next
>>>>        Environment: All
>>>>           Reporter: Graham Charters
>>>>            Fix For: Java-SCA-Next
>>>>
>>>>        Attachments: calculator-osgi-sample.patch
>>>>
>>>>  Original Estimate: 2h
>>>>  Remaining Estimate: 2h
>>>>
>>>> It would help with preserving OSGi support if an OSGi sample were run as
>>>> a matter of course, rather than only by a small number of developers.  This
>>>> wish is to add the smallest sample possible based on existing Tuscany 
>>>> module
>>>> dependencies.
>>>>
>>> --
>>> This message is automatically generated by JIRA.
>>> -
>>> You can reply to this email to add a comment to the issue online.
>>>
>>>
>>>
>>
>


-- 
Thank you...

Regards,

Rajini

Reply via email to