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 A52177026 for ; Fri, 22 Jul 2011 17:02:51 +0000 (UTC) Received: (qmail 72954 invoked by uid 500); 22 Jul 2011 17:02:51 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 72858 invoked by uid 500); 22 Jul 2011 17:02:50 -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 72850 invoked by uid 99); 22 Jul 2011 17:02:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 17:02:50 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of gmazza@talend.com does not designate 83.220.139.241 as permitted sender) Received: from [83.220.139.241] (HELO mail.skyfillers.com) (83.220.139.241) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jul 2011 17:02:44 +0000 X-MDAV-Processed: mail.skyfillers.com, Fri, 22 Jul 2011 19:02:06 +0200 Received: from [192.168.1.47] by mail.skyfillers.com (MDaemon PRO v12.0.3) with ESMTP id md50005718297.msg for ; Fri, 22 Jul 2011 19:02:05 +0200 X-Spam-Processed: mail.skyfillers.com, Fri, 22 Jul 2011 19:02:05 +0200 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: smtp@mail.talend.com X-MDRemoteIP: 74.96.60.43 X-Return-Path: gmazza@talend.com X-Envelope-From: gmazza@talend.com X-MDaemon-Deliver-To: user@karaf.apache.org Message-ID: <4E29AD1A.8070202@talend.com> Date: Fri, 22 Jul 2011 13:02:18 -0400 From: Glen Mazza User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: "user@karaf.apache.org" Subject: Re: Application Developer Setup References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org For greater efficiency, you may wish to convert to features (predefined groupings of bundles): http://karaf.apache.org/manual/2.2.2/users-guide/provisioning.html so you can install one feature at once instead of installing bundle-by-bundle. This will also speed up your redeployment process because it's easy to quickly drop and reinstall/reactivate all bundles making up a feature by using the up-and-down arrow keys (history keys) within the Karaf console after Maven has finished installing the updated bundles within your Maven repository. Talend's open-source Integration Factory (providing a preconfigured wrap of Camel & Karaf), in its examples download[1], maintains a separate "features" project that holds the bundle information for each of the examples--actually, same story with the examples in Talend Service Factory (CXF) download. This design allows you to keep all features configuration in a single place instead of with each subproject. Eclipse should ideally just be for coding, as for not waiting for "the full Maven build", I would look into modularizing your work so that a Maven build of whatever subsystem you're working on won't take that much time. HTH, Glen [1] http://www.talend.com/download.php#IF (User Documentation and Examples section). On 07/22/2011 10:59 AM, Travis Klotz wrote: > So what are developers that are building applications that will run in > Karaf using for a development environment? I'm going to be building a > fairly large number of camel based OSGi bundles that will be running > in Karaf. Up to this point I have been building simple apps in > eclipse, installing a bundle into my local maven repository and then > starting up an external copy of Karaf and installing/updating the > bundle using a mvn:XXXXX url. For my experiments this has worked > well enough, but it is a bit of a long feedback loop. What are other > people doing for an application development setup? Is there any way > to not have to leave eclpse or wait for a full maven build for each > build/deploy iteration? > > Thanks, > > Travis -- Glen Mazza Application Integration Division Talend (http://www.talend.com/ai) blog: http://www.jroller.com/gmazza