Dropping the bundle in the deploy directory doesn't appear to work for me. Even if it did, it is after the banner has been displayed.
If the branding bundle's version number is less than org.apache.felix.karaf.gshell.core's then the branding bundle imports org.apache.felix.karaf.version from org.apache.felix.framework rather than org.apache.felix.karaf.gshell.core importing from the branding bundle. On Wednesday, May 06, 2009 15:58, Guillaume Nodet <[email protected]> wrote: > > On Wed, May 6, 2009 at 21:54, Moloney, Tim M > <[email protected]> wrote: > > > > Okay, I finally figured it out. I've attached an example > branding bundle for the convenience of future readers. > > > > It appears that you have to: > > > > 1) load the branding bundle before > org.apache.karaf.gshell.core, I added the following line to > etc/startup.properties > > tld/foo/karaf/branding/1.3.0/tld.foo.karaf.branding-1.3.0.jar=20 > > Another way is to drop it in the deploy folder, but that would not be > a very good idea as users could easily remove it. > So adding it to the etc/startup.properties is the best imho. > > > 2) ensure the version of the branding bundle is higher than > the version of org.apache.karaf.gshell.core (note that 1.3.0 > is later than 1.2.0-SNAPSHOT) > > > > The second item could cause problems for some people. > > Agreed. Though I don't really see why this is necessary. Actually, > ServiceMIx NMR is 1.0.0 and ServiceMix Kernel is 1.1.0 and it works, > so it must be something else. > > > > > On Wednesday, May 06, 2009 10:55, Guillaume Nodet > [mailto:[email protected]] > >> > >> For the branding question, I don't think we have any doc > on that yet. > >> You can have a look at the following bundle which does > what you want: > >> > >> > https://svn.apache.org/repos/asf/servicemix/smx4/nmr/trunk/branding/ > >> > >> 2009/5/6 Moloney, Tim M <[email protected]>: > >> > > >> > I'm trying to build from the current trunk (revision > >> 772252) and I get > >> > several exceptions. I've attached the output of the build. > >> I ran the > >> > build with the following tool versions. > >> > > >> > bash> java -version > >> > java version "1.6.0_13" > >> > Java(TM) SE Runtime Environment (build 1.6.0_13-b03) > >> > Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing) > >> > bash> mvn -v > >> > Maven version: 2.0.9 > >> > Java version: 1.6.0_13 > >> > OS name: "linux" version: "2.6.27.21-170.2.56.fc10.i686" > >> arch: "i386" > >> > Family: "unix" > >> > > >> > The errrors are the same even after I attempted to build > >> with an empty > >> > local Maven repository. Please let me know if I left > out any needed > >> > info. > >> > > >> > On a side note, how can I change the branding of Karaf? I > >> see that it > >> > uses a properties file to get the information but I > don't understand > >> > where to put this properties file and what to name > >> > <<karaf-r772252-build-output.txt>> it. > >> > > >> > Thanks. > >> > > >> > > >> > Tim Moloney The reasonable man > >> adapts himself > >> > to > >> > ManTech Real-time Systems Laboratory the world; the > >> unreasonable one > >> > persists > >> > 2015 Cattlemen Road in trying to adapt > >> the world to > >> > himself. > >> > Sarasota, FL 34232 Therefore all > >> progress depends on > >> > the > >> > (941) 377-6775 x208 unreasonable man. - George > >> > Bernard Shaw > >> > > >> > > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: [email protected] > >> > For additional commands, e-mail: [email protected] > >> > > >> > >> > >> > >> -- > >> Cheers, > >> Guillaume Nodet > >> ------------------------ > >> Blog: http://gnodet.blogspot.com/ > >> ------------------------ > >> Open Source SOA > >> http://fusesource.com > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [email protected] > >> For additional commands, e-mail: [email protected] > >> > >> > > > > > > Tim Moloney The reasonable man > adapts himself to > > ManTech Real-time Systems Laboratory the world; the > unreasonable one persists > > 2015 Cattlemen Road in trying to adapt > the world to himself. > > Sarasota, FL 34232 Therefore all > progress depends on the > > (941) 377-6775 x208 unreasonable man. - > George Bernard Shaw > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > -- > Cheers, > Guillaume Nodet > ------------------------ > Blog: http://gnodet.blogspot.com/ > ------------------------ > Open Source SOA > http://fusesource.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > Tim Moloney The reasonable man adapts himself to ManTech Real-time Systems Laboratory the world; the unreasonable one persists 2015 Cattlemen Road in trying to adapt the world to himself. Sarasota, FL 34232 Therefore all progress depends on the (941) 377-6775 x208 unreasonable man. - George Bernard Shaw --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

