Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C46AC200B71 for ; Wed, 31 Aug 2016 15:49:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C24C3160AB4; Wed, 31 Aug 2016 13:49:18 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 14DC1160A8C for ; Wed, 31 Aug 2016 15:49:17 +0200 (CEST) Received: (qmail 45548 invoked by uid 500); 31 Aug 2016 13:49:17 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 45537 invoked by uid 99); 31 Aug 2016 13:49:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2016 13:49:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id CAF41C031E for ; Wed, 31 Aug 2016 13:49:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.613 X-Spam-Level: * X-Spam-Status: No, score=1.613 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_LOW=-0.7, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 5AOyZJuVH_Uz for ; Wed, 31 Aug 2016 13:49:13 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 725745FBC1 for ; Wed, 31 Aug 2016 13:49:13 +0000 (UTC) Received: from mfilter32-d.gandi.net (mfilter32-d.gandi.net [217.70.178.163]) by relay5-d.mail.gandi.net (Postfix) with ESMTP id 260D241C0B0 for ; Wed, 31 Aug 2016 15:49:06 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter32-d.gandi.net Received: from relay5-d.mail.gandi.net ([IPv6:::ffff:217.70.183.197]) by mfilter32-d.gandi.net (mfilter32-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id TU8J1nV7UDVM for ; Wed, 31 Aug 2016 15:49:04 +0200 (CEST) X-Originating-IP: 82.238.224.4 Received: from [192.168.134.10] (bre91-1-82-238-224-4.fbx.proxad.net [82.238.224.4]) (Authenticated sender: jb@nanthrax.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 1777F41C0DC for ; Wed, 31 Aug 2016 15:49:03 +0200 (CEST) Subject: Re: Inject system property value via blueprint To: user@karaf.apache.org References: <1472651209434-4047779.post@n3.nabble.com> From: =?UTF-8?Q?Jean-Baptiste_Onofr=c3=a9?= Message-ID: <49fb8a0d-fe06-d49f-e437-80e1648515cb@nanthrax.net> Date: Wed, 31 Aug 2016 15:49:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <1472651209434-4047779.post@n3.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit archived-at: Wed, 31 Aug 2016 13:49:19 -0000 Hi, you have to use the ext xmlns for that. Just add the following in your blueprint: Then, you can use system properties with $[foo]. Regards JB On 08/31/2016 03:46 PM, ellirael wrote: > I saw an example how to inject property values which are defined in config > file. > It is some thing like this: > > > > > > > > > > > > How to do the same with the system property printed by system:property > command output? > Or how to gain access to those system properties values? > > > > -- > View this message in context: http://karaf.922171.n3.nabble.com/Inject-system-property-value-via-blueprint-tp4047779.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- Jean-Baptiste Onofr jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com