I have solved problem c) now (ok, kind of): the default repositories are read
correctly, and also the features are resolved. However, when the list of
bundles for the target configuration is built, Karaf EIK only reads the
system and default folders, no additional repositories in Karaf's root
folder.

Adding something like:
KarafCorePluginUtils.getJarFileList(
               
karafPlatformModel.getRootDirectory().append("myrepo").toFile(),
                jarFiles,
                MAX_DIRECTORY_RECURSE_DEPTH);

in KarafLaunchUtils.java (function getJarDirectories) helps. Of course, this
is hard coding "myrepo", no generic resolution of repos defined in
org.ops4j.pax.url.mvn.defaultRepositories or
org.ops4j.pax.url.mvn.repositories.

Could somebody advice me whether it makes sense to file bug reports for a),
b) and/or c)? Depends a bit upon how "alive" the Karaf EIK project is (it's
a great tool, an I wonder why these things haven't turned up earlier).

Kind Regards,
Jochen



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-EIK-how-to-configure-the-runtime-tp4037931p4038399.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to