Return-Path: X-Original-To: apmail-karaf-user-archive@minotaur.apache.org Delivered-To: apmail-karaf-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5A9318C04 for ; Fri, 21 Aug 2015 12:19:27 +0000 (UTC) Received: (qmail 65721 invoked by uid 500); 21 Aug 2015 12:19:27 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 65677 invoked by uid 500); 21 Aug 2015 12:19:27 -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 65667 invoked by uid 99); 21 Aug 2015 12:19:27 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2015 12:19:27 +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 0AB5DC08D9 for ; Fri, 21 Aug 2015 12:19:27 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.314 X-Spam-Level: ** X-Spam-Status: No, score=2.314 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id j-i8tIeCugxX for ; Fri, 21 Aug 2015 12:19:17 +0000 (UTC) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 499CA428DB for ; Fri, 21 Aug 2015 12:19:17 +0000 (UTC) Received: from mfilter43-d.gandi.net (mfilter43-d.gandi.net [217.70.178.174]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 70EA317208C for ; Fri, 21 Aug 2015 14:19:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter43-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter43-d.gandi.net (mfilter43-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id BZWG4hvHlITE for ; Fri, 21 Aug 2015 14:19:15 +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 relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 01C76172071 for ; Fri, 21 Aug 2015 14:19:14 +0200 (CEST) Message-ID: <55D71743.70109@nanthrax.net> Date: Fri, 21 Aug 2015 14:19:15 +0200 From: =?windows-1252?Q?Jean-Baptiste_Onofr=E9?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: user@karaf.apache.org Subject: Re: system properties file (multiple ones) References: <1440158682665-4041994.post@n3.nabble.com> In-Reply-To: <1440158682665-4041994.post@n3.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable Hi You can use setenv: the system.properties contains System property as=20 you can do with -D jvm arg. So, basically, you can have an empty system.properties, and populate all=20 with -D. You also use override in system.properties and etc/override.properties. Regards JB On 08/21/2015 02:04 PM, maggu2810 wrote: > Hello, > there is the file etc/system.properties that could be used ti add syste= m > properties that are available at the very beginning of the Karaf's boot > process. > This file is shipped with karaf and contains already a few such options= . > > I would like to extend the list of properties. So I can add new lines t= o > that file. > For a custom distribution (karaf-assembly) I would prefer to do this > additions in a separate file (similar to config.properties and > custom.properties). > So I can add a file with "my" properties and if a new Karaf update chan= ges > the startup.properties file, I have not to change my modified > system.properties copy. > > Is there already such a mechanism for the system properties as it is fo= r the > config properties? > > > > > -- > View this message in context: http://karaf.922171.n3.nabble.com/system-= properties-file-multiple-ones-tp4041994.html > Sent from the Karaf - User mailing list archive at Nabble.com. > --=20 Jean-Baptiste Onofr=E9 jbonofre@apache.org http://blog.nanthrax.net Talend - http://www.talend.com