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 B4E45200CFA for ; Tue, 5 Sep 2017 13:48:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B390316356C; Tue, 5 Sep 2017 11:48:43 +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 04A7D16356B for ; Tue, 5 Sep 2017 13:48:42 +0200 (CEST) Received: (qmail 91660 invoked by uid 500); 5 Sep 2017 11:48:42 -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 91650 invoked by uid 99); 5 Sep 2017 11:48:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Sep 2017 11:48:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A3892C9CEE for ; Tue, 5 Sep 2017 11:48:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.98 X-Spam-Level: X-Spam-Status: No, score=0.98 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id daiLLATA9L97 for ; Tue, 5 Sep 2017 11:48:36 +0000 (UTC) Received: from outbound-gw.openxchange.ahost.me (outbound-gw.openxchange.ahost.me [94.136.40.163]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 49A4A5F254 for ; Tue, 5 Sep 2017 11:48:36 +0000 (UTC) Received: from [127.0.0.1] (helo=outbound-gw.openxchange.ahost.me) by outbound-gw.openxchange.ahost.me with esmtps (TLSv1.2:ECDHE-RSA-AES256-SHA384:256) (Exim 4.89) (envelope-from ) id 1dpCLG-0003GS-5Y for user@karaf.apache.org; Tue, 05 Sep 2017 12:48:30 +0100 Date: Tue, 5 Sep 2017 12:48:25 +0100 (BST) From: tom@quarendon.net Reply-To: tom@quarendon.net To: user@karaf.apache.org Message-ID: <1844284865.3196793.1504612110088@webmail.123-reg.co.uk> Subject: Developing for karaf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.3-Rev22 X-Originating-IP: 86.188.252.244 X-Originating-Client: com.openexchange.ox.gui.dhtml archived-at: Tue, 05 Sep 2017 11:48:43 -0000 I'm trying to get an idea of how people go about developing for karaf, from a practical point of view. So karaf is maven focused. There are archetypes for creating command, general bundles and so on. I can then use maven to generate some eclipse project files that allow me to write and compile my code within eclipse. I guess if I need extra dependencies, I have to edit my pom and hopefully eclipse picks this up (never really done serious maven development, so I don't know how this process really works). When I want to try something out, I have to perform a maven build, start up a copy of karaf, install the bundle (or bundles) into it, then try out my new code? All from the command line? What about debugging? You start karaf with the "debug" option and then remotely connect eclipse to the karaf instance so that you can then place breakpoints and step through the code if necessary? Does it just magically find all the source code? Just trying to get a picture of what the expected workflow is and whether I'm missing anything. We're used to doing things in bndtools where you've got eclipse tooling for everything, so I'm just trying to do a mental reset really on what a "karaf/maven centric" development environment and process would look like. (I'm aware of the "Integrate Apache Karaf and Bnd toolchain" article, but we've had limited success with it beyond simple "hello world" examples. Maybe we just need more perseverance). Thanks.