Assembly and Branding

2014-07-20 Thread nseb
I create my own distribution karaf including my application. I use the maven
plugin. By cons, how can I change the branding of the console at the time of
assembly?

Regards,



-
CTO , JeetConsulting.

Analyze now your Maven Java projects' dependencies , here 
--
View this message in context: 
http://karaf.922171.n3.nabble.com/Assembly-and-Branding-tp4034318.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Assembly and Branding

2014-07-20 Thread Achim Nierbeck
I'd say you'd need a multi module setup,
one module containing your application, another one the console branding
and the third the custom assembly.

regards, Achim


2014-07-20 20:17 GMT+02:00 nseb seb_nicoul...@hotmail.com:

 I create my own distribution karaf including my application. I use the
 maven
 plugin. By cons, how can I change the branding of the console at the time
 of
 assembly?

 Regards,



 -
 CTO , JeetConsulting.

 Analyze now your Maven Java projects' dependencies , here
 --
 View this message in context:
 http://karaf.922171.n3.nabble.com/Assembly-and-Branding-tp4034318.html
 Sent from the Karaf - Dev mailing list archive at Nabble.com.




-- 

Apache Member
Apache Karaf http://karaf.apache.org/ Committer  PMC
OPS4J Pax Web http://wiki.ops4j.org/display/paxweb/Pax+Web/ Committer 
Project Lead
blog http://notizblog.nierbeck.de/

Software Architect / Project Manager / Scrum Master


Re: Assembly and Branding

2014-07-20 Thread nseb
I dot it , but my bundle is deployed system and not in lib which is the only
directory or branding can be taken into account.



-
CTO , JeetConsulting.

Analyze now your Maven Java projects' dependencies , here 
--
View this message in context: 
http://karaf.922171.n3.nabble.com/Assembly-and-Branding-tp4034318p4034320.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Re: Assembly and Branding

2014-07-20 Thread Jean-Baptiste Onofré

Hi Seb,

it depends of the version. You have two ways to do the branding.

Working with all Karaf version, you have to create a branding bundle 
containing a branding.properties file in the package 
org.apache.karaf.branding.

This bundle exports the org.apache.karaf.branding package.

Starting from the coming Karaf 3.0.2/Karaf 2.4.0, we simplified the 
branding. Now, you can just add a etc/branding.properties file looking like:


welcome = \
\u001B[36m__ __    \u001B[0m\r\n\
\u001B[36m   / //_/ __ _/ __/  \u001B[0m\r\n\
\u001B[36m  / ,  / __ `/ ___/ __ `/ /_\u001B[0m\r\n\
\u001B[36m / /| |/ /_/ / /  / /_/ / __/\u001B[0m\r\n\
\u001B[36m/_/ |_|\\__,_/_/   \\__,_/_/ \u001B[0m\r\n\
\r\n\
\u001B[1m  Apache Karaf\u001B[0m (${project.version})\r\n\
\r\n\
Hit '\u001B[1mtab\u001B[0m' for a list of available commands\r\n\
   and '\u001B[1m[cmd] --help\u001B[0m' for help on a specific 
command.\r\n\
Hit '\u001B[1mctrl-d\u001B[0m' or '\u001B[1mosgi:shutdown\u001B[0m' to 
shutdown Karaf.\r\n


prompt = \u001B[1m${USER}@${APPLICATION}\u001B[0m

So, no need to create the branding bundle, directly 
etc/branding.properties file is enough. So, this method is a perfect fit 
for your need as you can populate the etc/branding.properties in your 
assembly.


Regards
JB

On 07/20/2014 08:17 PM, nseb wrote:

I create my own distribution karaf including my application. I use the maven
plugin. By cons, how can I change the branding of the console at the time of
assembly?

Regards,



-
CTO , JeetConsulting.

Analyze now your Maven Java projects' dependencies , here
--
View this message in context: 
http://karaf.922171.n3.nabble.com/Assembly-and-Branding-tp4034318.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Assembly and Branding

2014-07-20 Thread nseb
Thanks !!
the property file directly is perfect



-
CTO , JeetConsulting.

Analyze now your Maven Java projects' dependencies , here 
--
View this message in context: 
http://karaf.922171.n3.nabble.com/Assembly-and-Branding-tp4034318p4034324.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.


Any news on the Log4j 2 upgrade?

2014-07-20 Thread Matt Sicker
Log4j 2.0 was officially released not that long ago, and 2.0.1 will be
released soon with improved OSGi support. Is there any news on PaxLogging
or even just Karaf using it?

-- 
Matt Sicker boa...@gmail.com


Re: Any news on the Log4j 2 upgrade?

2014-07-20 Thread Matt Sicker
Sounds good! I may have some pull requests regarding this.


On 20 July 2014 23:28, Jean-Baptiste Onofré j...@nanthrax.net wrote:

 Hi Matt,

 I started to work on Log4j v2 support in Pax Logging. It's plan for Pax
 Logging 1.8.0. I released Pax Logging 1.7.3 last week (with bug fixes and
 upgrade like support of slf4j 1.7.7).

 I plan to release Pax Logging 1.8.0 with Log4j v2 support beginning of
 August.

 Regards
 JB


 On 07/21/2014 01:32 AM, Matt Sicker wrote:

 Log4j 2.0 was officially released not that long ago, and 2.0.1 will be
 released soon with improved OSGi support. Is there any news on PaxLogging
 or even just Karaf using it?


 --
 Jean-Baptiste Onofré
 jbono...@apache.org
 http://blog.nanthrax.net
 Talend - http://www.talend.com




-- 
Matt Sicker boa...@gmail.com