Hi,

Looking at the manifest for scxml, it seems like all optional maven dependencies along with the required ones, all gets translated into an entry under the Import-Package: part.

AFAIK, I don't think there is a notion for optional dependency injection in OSGi, so I guess that means that all dependencies are in fact required for an OSGi deployment.

Not sure how to proceed here, but seems that also deploying JSF and all transitive
dependencies is what I need to do.

Another quick Q:

Are there any plans for a 0.10 release ?

Thanks,
Niklas



On 11/16/2010 2:23 PM, Rahul Akolkar wrote:
On Tue, Nov 16, 2010 at 4:53 PM, niklas modin<[email protected]>  wrote:
  Hi,

I'm trying to get SC XML up and running in an equinox OSGi environment, and
I'm having some dependencies issues.

What's the reason for having a dependency to myfaces-api ? This isn't a big
issue per say I guess, but it just seems
like that drag's in a lot of dependencies, and can't really see what JSF is
used for.

<snip/>

You are indeed correct that most applications that use Commons SCXML
may be unrelated to JSF (and some of the other optional dependencies
as well).

Commons SCXML has three required dependencies, which are listed at the
top of this page:

   http://commons.apache.org/scxml/dependencies.html

Note that the others are optional. In addition, the JSF API is meant
to be "provided" (by the environment).

If the OSGi related headers in the release jar file don't reflect this
correctly, then they should.

-Rahul


Cheers,
Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to