Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 58519D0FD for ; Tue, 18 Sep 2012 15:08:55 +0000 (UTC) Received: (qmail 41352 invoked by uid 500); 18 Sep 2012 15:08:55 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 41314 invoked by uid 500); 18 Sep 2012 15:08:54 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 41306 invoked by uid 99); 18 Sep 2012 15:08:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 15:08:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.217.171 as permitted sender) Received: from [209.85.217.171] (HELO mail-lb0-f171.google.com) (209.85.217.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Sep 2012 15:08:49 +0000 Received: by lbol12 with SMTP id l12so79238lbo.2 for ; Tue, 18 Sep 2012 08:08:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Zv3CXezewrLK7rBKDja2iRa+JGbYfcRe269TDgskNMM=; b=GtyCNLu883pSqsK7pNekGTyvGShg/Fw3rL/b4UQVtMqDhCa2YS/SuxDnEBjaVolkTo N/W1yuX5BwptcWp8N2zKZvlyka8A4UYTvtjyQejCi/Dxvgwaj88ZMBp5InVJs1Tjk3y0 T//7DczwBYU919u6YXwivwGkIdB000oI23d9bybcqS8/wadmIwO4nzGhIUINq+sKhC7g eFXSpG4fooyMCy6qiwTrwHumhf7lsihW02Spc4CvXjV6b2zV5Q3chfTYqO9Igpx0IASg Tz0ZD9qRXN8P0a5PtMQLRJZVcL/kuFGqoeIiefzwxA13URaG1J/SmAK/vPGasOiq5jsP Nk0Q== Received: by 10.112.27.69 with SMTP id r5mr30300lbg.91.1347980908870; Tue, 18 Sep 2012 08:08:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.7.230 with HTTP; Tue, 18 Sep 2012 08:08:08 -0700 (PDT) In-Reply-To: References: From: Claus Ibsen Date: Tue, 18 Sep 2012 17:08:08 +0200 Message-ID: Subject: [DISCUSS] - ActiveMQ assembly - More sub dirs in lib To: dev@activemq.apache.org Content-Type: text/plain; charset=ISO-8859-1 Hi 1) I have experimented a bit and so far the best tradeoff I have is lib lib/camel lib/optional lib/web lib/extra I moved the camel JARs into a separate lib, as Camel can be made optional (only web requires it). In lib/optional I have all the optional stuff, except for mqtt and leveldb. mqtt and leveldb are in lib/extra. They have a few shared JARs which is the hawt stuff. 2) I am considering having all the mandatory in a lib/core instead of the root of lib. Then its very clean. Then it becomes: lib/core lib/camel lib/optional lib/web lib/extra Any thoughts? On Mon, Sep 17, 2012 at 5:18 PM, Gary Tully wrote: > +1 to segregate a bit > > maybe any common jar goes into optional (to avoid dups) > > so for mqtt two dirs are needed, optional and optional/mqtt > > /lib/optiona > /lib/optional/mqtt > > etc > > On 17 September 2012 08:53, Claus Ibsen wrote: >> Hi >> >> I was working on >> https://issues.apache.org/jira/browse/AMQ-4053 >> >> In the AMQ distro (eg the zip / tarball) we have a lib directory with >> the mandatory JARs. >> And then a number of sub dirs for >> - optional >> - web >> >> I would like to propose that we introduce a 1 or 2 more sub dirs to >> better splitup the JARs. This alos allows people to better understand >> what the zillion JARs in the optional dir is used for. >> >> Its most noticeable the leveldb support that brings in a zillion JARs >> and libraries such as hadoop etc. >> So I propose to move that into its own directory such as: >> >> - optional >> - extra >> - web >> >> Or >> - optional >> - leveldb >> - mqtt >> - web >> >> For end users who may not want to use leveldb/mqtt, they can zap those >> dirs and make a smaller AMQ distro. >> Maybe also if they re-package and make their own distro within their >> company to be distributed. >> >> Also its less confusing for people thinking that AMQ uses Hadoop etc. >> >> Any thoughts? >> >> >> -- >> Claus Ibsen >> ----------------- >> FuseSource >> Email: cibsen@fusesource.com >> Web: http://fusesource.com >> Twitter: davsclaus, fusenews >> Blog: http://davsclaus.com >> Author of Camel in Action: http://www.manning.com/ibsen > > > > -- > http://fusesource.com > http://blog.garytully.com -- Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen -- Claus Ibsen ----------------- FuseSource Email: cibsen@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen