[
https://issues.apache.org/jira/browse/FELIX-6227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17046833#comment-17046833
]
Tom Watson commented on FELIX-6227:
-----------------------------------
For substrate case the {{atomos/bundles.index}} and {{atomos/}} directory with
the indexed bundle resources is on the classpath at substrate image creation
which effectively puts it on the classpath during image execution. I think it
should be relatively easy to confirm AtomosRuntimeSubstrate can work in normal
"classpath mode" where the a JAR or directory containing the {{atomos/}} folder
is on the classpath makes the {{SubstrateIndexConnectContent}} get used.
With that in mind I would probably rename the {{AtomosRuntimeSubstrate}} impl
to be something more general, like {{AtomosRuntimeIndex}} and rename
{{SubstrateIndexConnectContent}} to just be {{IndexConnectContent}}. Although
we would need to figure out a good story for the {{substrate_lib/}} directory
case where "side" JARs can live instead of using the atomos index. For that I
would probably just rename the directory to {{atomos_lib/}} and the
ConnectContent representing them would be something like
{{LibJarConnectContent}}
> Atomos index runtime independent of native image
> ------------------------------------------------
>
> Key: FELIX-6227
> URL: https://issues.apache.org/jira/browse/FELIX-6227
> Project: Felix
> Issue Type: Improvement
> Components: Atomos
> Reporter: Karl Pauls
> Priority: Major
>
> I think it might be nice to have a general atomos runtime that works from an
> index file similar to what is currently available with the
> AtomosRuntimeSubstrate.
> Something like: if an index file is given (or present) it reads the bundle
> identities from the index files as well as their resource locations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)