karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject [DISCUSS] Change in the lib directory
Date Thu, 19 Feb 2015 08:38:53 GMT
I'm thinking about slightly changing the way the lib folder is organised in
Karaf 4.
With all previous versions, the lib folder can contains jar with 2
different set of jars:
  - karaf*.jar will be loaded when the JVM is started (they are appended to
the class path of the java command)
  - other jars are loaded by the Main class along with the osgi framework
jar

The convention that jars named karaf*.jar are loaded and available to the
Main class (for example for jdbc lock access) is not really explicit enough
imho.

I wonder if it would make sense to set up a separate lib/system directory
which would contain those karaf*.jar files (thus avoiding the need to
rename them).
We could keep the lib/ folder for jars that will be loaded by the Main
class, or even move them to a separate directory such as lib/app, but I'm
not really sure it brings anything.

Thoughts ?

Guillaume

-- 
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration

Email: gnodet@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message