Hi Kernel team,

Any idea on $subject? Shouldn't the transitive dependencies of the orbit
bundle be visible to the component referring to the bundle at compile time?
Should we just refer to the 3rd party jar (the orbit bundle is wrapping) in
the component and use the orbit in the feature, or should we use the orbit
bundle for both? Would be great if you could clarify.

Thanks,

On 23 March 2015 at 14:59, Niranda Perera <[email protected]> wrote:

> Hi,
>
> As of the current orbit bundle guideline [1], we have to mark the
> dependencies as optional. I believe this results in transitive dependencies
> of that particular bundle not being exposed.
>
> Because of this, I have experienced compilation failures, when I put orbit
> bundles as component dependencies.
> For an example, in carbon analytics components, when I import spark-core
> orbit, I encsounter dependency errors (But when I import the original spark
> dependency this does not occur)
>
> so, is it a good practice for us to say that, orbit bundles should be used
> in the runtime, where as in the compile time, use the original jars?
> essentially, is it okay to include original jars in the components and
> only include orbits in the features? (because earlier, I was under the
> impression that, once an orbit bundle is created, it should be used BOTH in
> the components and in the feature)
>
> would be great if you could clarify this matter.
>
> rgds
>
> [1]
> https://docs.google.com/a/wso2.com/document/d/1I3nWPnG6139YobZzQWPFOUxYEmHxqf9ieWykmQupPtc/edit#
>
> --
> *Niranda Perera*
> Software Engineer, WSO2 Inc.
> Mobile: +94-71-554-8430
> Twitter: @n1r44 <https://twitter.com/N1R44>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Balakrishnan Gokulakrishnan*
Software Engineer,
WSO2, Inc. http://wso2.com
Mob: +94 77 593 5789 | +1 650 272 9927
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to