Return-Path: X-Original-To: apmail-brooklyn-dev-archive@minotaur.apache.org Delivered-To: apmail-brooklyn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8072618D77 for ; Mon, 14 Dec 2015 12:43:51 +0000 (UTC) Received: (qmail 52139 invoked by uid 500); 14 Dec 2015 12:43:51 -0000 Delivered-To: apmail-brooklyn-dev-archive@brooklyn.apache.org Received: (qmail 52102 invoked by uid 500); 14 Dec 2015 12:43:51 -0000 Mailing-List: contact dev-help@brooklyn.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@brooklyn.apache.org Delivered-To: mailing list dev@brooklyn.apache.org Received: (qmail 52089 invoked by uid 99); 14 Dec 2015 12:43:50 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 12:43:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 624F3180498 for ; Mon, 14 Dec 2015 12:43:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.002 X-Spam-Level: *** X-Spam-Status: No, score=3.002 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=johnmccabe.org header.b=jfqKWFAr; dkim=pass (2048-bit key) header.d=johnmccabe-net.20150623.gappssmtp.com header.b=BM0IShaj Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id bnfMHs5O4kLw for ; Mon, 14 Dec 2015 12:43:37 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id C34E5429C4 for ; Mon, 14 Dec 2015 12:43:36 +0000 (UTC) Received: by mail-wm0-f47.google.com with SMTP id p66so60159229wmp.1 for ; Mon, 14 Dec 2015 04:43:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnmccabe.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=gUfTApMAj4KmlO311VVTnGkrLH8xWNdVaiiQ0L7yUso=; b=jfqKWFAr3AymYJUTLaLcsZI0WhtefxHrAGGT7uIdWuQc72mvutf2fYVsuZC7SnEU9w 3OhOb7sNiKyST2lnjaW5aF5gygxcqs0hx0asxPGUdUpS1OyBwbSh/l/Q/4RTuN/8HJ1i ifDMeX6n89hxhFCTqJnhG0YFYqOOniNYchwA4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnmccabe-net.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=gUfTApMAj4KmlO311VVTnGkrLH8xWNdVaiiQ0L7yUso=; b=BM0IShajFxUM3Z0WMEvcaAEsMJ7PA2CcdIWe6812AOYRNyXjfDMiaY7IxkMzKRNBlv wMiRXAbWsRF00lR06wu5w5RN0fW88/bpwy9+NKAECqrxOQjU6LgF1a+Dksnt+qsPSpQE jCw7bIqI3Y8M/pccH26RjlGgigrdBHnukKt5h3D3jvbRISuVEolZSSjfCWWg9W/oIAms 7CWioB+Nz/9pnTl6Rhem8Klj7lsMh4dJQJZEJHxHpBQ948f+tWLp5XdBk/+Z39q3Oic0 qkHOnHY8jVm/+O3bKmIP++7ec2Nh74IZma8uiE1wwpc3dhE1fLIb9Et9Cgjya51zSy7l hB6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=gUfTApMAj4KmlO311VVTnGkrLH8xWNdVaiiQ0L7yUso=; b=Qqw/zanJpeoJoeQNVEp+5HI4yUg9z54d747DXsTeCBHEKpF7PQLnls3YDJh+9hhY9p GtWuYPjbClGuKH+XxXiRcDiVbkjZTHOtSau99m51FydmQuLeoKR98+UXFTypbWBiboGB FxDYr4rgr9qYY5gP6ON6c3eDsje00TJ+iYw2KWBy64407Pqntyksq89U1efDEG/x8mrU b3NkMfumJ7DedXwnnFWz7197aLf6dkNz92DrTmuyeH7c4rOvQgzR4eUs2mcDQnsH3JPD QXdevGTeH8rU5D/fUOTwwcVJbBu2xn/0B4Efs7PRPcC/yZK+F0EISsJBjO+Q8kcUL5wP 1FcA== X-Gm-Message-State: ALoCoQkUWuqoLze8kln6mQzAW0lLWP5qzqf6rlpsiXgzabNUb4NNkb7yfFJRXKGwry8vJkMyXeY3ZKnSlZs1h8Wt+1MHM9qXvA== X-Received: by 10.28.177.11 with SMTP id a11mr22648333wmf.92.1450097015594; Mon, 14 Dec 2015 04:43:35 -0800 (PST) MIME-Version: 1.0 Sender: john@johnmccabe.org Received: by 10.28.139.73 with HTTP; Mon, 14 Dec 2015 04:43:16 -0800 (PST) In-Reply-To: References: <5664DEA1.6090505@CloudsoftCorp.com> <56684661.1080906@CloudsoftCorp.com> <56685D44.3020705@gmail.com> <566862B6.9020503@gmail.com> From: John McCabe Date: Mon, 14 Dec 2015 12:43:16 +0000 X-Google-Sender-Auth: ydbNpDwJ5voS2PQWIK7xcUUQM8E Message-ID: Subject: Re: Repository splitting script To: dev@brooklyn.apache.org Content-Type: multipart/alternative; boundary=001a1145334a813b850526db05c5 --001a1145334a813b850526db05c5 Content-Type: text/plain; charset=UTF-8 omitted this reference from the end of the last message [2] - https://github.com/rdowner/brooklyn-repo-split On Mon, Dec 14, 2015 at 12:40 PM, John McCabe wrote: > I've got server/library/ui/dist building but with quite a few > caveats/problems. > > 1. multiple dependencies on brooklyn-software-base (CAMP/REST > Server/Launcher etc) - I suspect this belongs in the brooklyn-server repo > rather than brooklyn-libraries (I'd added it back into my test repo [1] > > 2. qa module heavily dependant on brooklyn-software-* from the > brooklyn-library repo - move to the brooklyn-library repo or introduce a > new repo? (I'd disabled it in [1]) > > 3. tests in brooklyn-camp module depending on brooklyn-software-* from > brooklyn-libraries repos (EnrichersSlightlySimplerYamlTest, > EntitiesYamlIntegrationTest, JavaWebAppsIntegrationTest, > MapReferenceYamlTest, ObjectsYamlTest) - refactor (?) or move (I just > commented these out for the moment) > > 4. unable to build brooklyn-server with -Dmaven.test.skip=true as there > were dependencies on generated test jars (didn't dig into this, commented > out problem tests - see #3) > > 5. tests in brooklyn-ui depend on brooklyn-rest-server, > brooklyn-test-support, brooklyn-api, brooklyn-core etc (built > with -Dmaven.test.skip=true for the moment) > > 6. both brooklyn-launcher and karaf apache-brooklyn (Distro) currently > depends on brooklyn-jsgui war from brooklyn-ui repo for build, both will > build without it present but launching brooklyn throws > 'java.io.IOException: brooklyn.war not found on classpath', supplying > '--startupContinueOnWebErrors' allows start to proceed but the REST API > isn't accessible. What is the desire here, to start without a UI by default > - ie just the REST API? Start the UI automatically if detected on the > classpath or require the user to explicitly request a UI be started? > > 7. do we want to create equivalents to brooklyn-all/brooklyn-parent for > each repo (brooklyn-server-all, brooklyn-library-all etc) > > 8. pulling it all together... any suggestions/ideas on the proposed > brooklyn repo? > > I've used the build_wip branch on the following repos (generated using > [2]) to investigate (I set the version to 0.9.1-SNAPSHOT to avoid clashing > with the current 0.9.0-SNAPSHOT artifacts): > > - https://github.com/johnmccabe/TEMP-brooklyn-server/commits/build_wip > - https://github.com/johnmccabe/TEMP-brooklyn-library/commits/build_wip > - https://github.com/johnmccabe/TEMP-brooklyn-ui/commits/build_wip > - https://github.com/johnmccabe/TEMP-brooklyn-dist/commits/build_wip > > You can currently build a dist in the following order (TODO the poms need > some serious tidying): > > *TEMP-brooklyn-ui* > mvn clean install -Dmaven.test.skip=true > > *TEMP-brooklyn-server* > mvn clean install > > *TEMP-brooklyn-library* > mvn clean install > > *TEMP-brooklyn-dist* > cd usage/all > mvn clean install > cd ../../usage/dist > mvn clean install > > > [1] https://github.com/johnmccabe/TEMP-brooklyn-server/commits/build_wip > [2] > > On Wed, Dec 9, 2015 at 10:48 PM, Alex Heneveld < > alex.heneveld@cloudsoftcorp.com> wrote: > >> i think leave it `brooklyn/software/winrm` in the old hierarchy, and in >> the >> new hierarchy `brooklyn-server/software/winrm` alongside >> `brooklyn/software/base` >> >> `locations/*` is intended for implementations of `Location` >> >> --a >> >> >> On 9 December 2015 at 22:36, John McCabe wrote: >> >> > Does locations/winrm sound reasonable? (rather than reverting back to >> > /core) >> > >> > On Wed, Dec 9, 2015 at 5:19 PM, Aled Sage wrote: >> > >> > > +1 >> > > >> > > Let's move winrm to brooklyn-server. >> > > >> > > >> > > >> > > On 09/12/2015 16:56, Hadrian Zbarcea wrote: >> > > >> > >> That should be (or at least become) a soft dependency, not a hard >> one. >> > >> That aside, the winrm piece probably belongs in server. >> > >> >> > >> Hadrian >> > >> >> > >> On 12/09/2015 11:27 AM, John McCabe wrote: >> > >> >> > >>> Alex, all, (fyi Hadrian/Ciprian), >> > >>> >> > >>> >> > >>> * fix pom files on result of `rearrange-incubator.sh` script so it >> > builds >> > >>>> >> > >>>>> (make this a diff / git cherry-pick we can just apply once all PRs >> > are >> > >>>>>> merged?) >> > >>>>>> >> > >>>>>> John also said to me that he would take a look at this problem. >> He >> > was >> > >>>>> temporarily prevented from doing so by a bug in the split script >> > which >> > >>>>> broke TEMP-brooklyn-server, but that dodgy repo should now be >> fixed. >> > >>>>> >> > >>>>> John - any update? >> > >>>> >> > >>>> >> > >>>>> >> > >>>>>> Just after having a chat with Richard about this, and am in the >> > >>> process of >> > >>> working through it. >> > >>> >> > >>> Have hit one problem so far, a circular dependency between >> > >>> brooklyn-server >> > >>> and brooklyn-library from some of the OSGI-ification changes. >> > >>> >> > >>> The 'Brooklyn Jclouds Location Targets' module in brooklyn-server >> has a >> > >>> dependency on the 'brooklyn-software-winrm' artifact from >> > >>> brooklyn-library, >> > >>> but brooklyn-library itself depends on brooklyn-server. >> > >>> >> > >>> Any suggestions on what we should do with it? There's mention of >> > >>> additional >> > >>> cleanup required later in the commit (see pull#957 [1] (JIRA >> > BROOKLYN-182 >> > >>> [2])) >> > >>> >> > >>> /John >> > >>> >> > >>> [1] https://github.com/apache/incubator-brooklyn/pull/957 >> > >>> [2] https://issues.apache.org/jira/browse/BROOKLYN-182 >> > >>> >> > >>> >> > > >> > >> > > --001a1145334a813b850526db05c5--