Return-Path: Delivered-To: apmail-incubator-aries-dev-archive@minotaur.apache.org Received: (qmail 28058 invoked from network); 24 Mar 2010 15:10:51 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Mar 2010 15:10:51 -0000 Received: (qmail 3935 invoked by uid 500); 24 Mar 2010 15:10:51 -0000 Delivered-To: apmail-incubator-aries-dev-archive@incubator.apache.org Received: (qmail 3902 invoked by uid 500); 24 Mar 2010 15:10:51 -0000 Mailing-List: contact aries-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: aries-dev@incubator.apache.org Delivered-To: mailing list aries-dev@incubator.apache.org Received: (qmail 3894 invoked by uid 99); 24 Mar 2010 15:10:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 15:10:51 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jpjhughes@gmail.com designates 209.85.220.212 as permitted sender) Received: from [209.85.220.212] (HELO mail-fx0-f212.google.com) (209.85.220.212) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 15:10:43 +0000 Received: by fxm4 with SMTP id 4so3066197fxm.20 for ; Wed, 24 Mar 2010 08:10:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=QgtP+5cA+1oqF5KVewtE6I31KFLHWKbhjKti2mQg5AI=; b=ol100crLEElWktbrKujMbJt6GThxMk06qKZqcC7htYTN5PVu4cljGIA4VAfigrUV0g VJYncGSnv05n1MYNvU/UmA/hUeJCVKKJISHYs0a2iF4y/WYX9RwCIjmWNZj2tKAwHE+E DO7wq66ytGvlDSy3Es/fE7TR2rwS2+Q88ZE/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=cEIue+dRzkZzDeOttKfRIUYkA/hyT1tddJdq4YxQBBw0mO7EJdQwL2nUiELmoPxrSe KrwhutOVkEjlgYaN0s2ho2ajKroyqVjO3KGu5JjJXR8uA5Fgsvi84lWrhAkNUnVdOng3 On64CTLP4mNWFwABtzUMcs69onw/Uf7qI6S+I= MIME-Version: 1.0 Sender: jpjhughes@gmail.com Received: by 10.223.15.133 with SMTP id k5mr4620725faa.39.1269443423147; Wed, 24 Mar 2010 08:10:23 -0700 (PDT) In-Reply-To: <4BA8F223.6030909@gmail.com> References: <4B951F1C.3050101@gmail.com> <4B9DB155.9030407@gmail.com> <4BA8F223.6030909@gmail.com> From: Jeremy Hughes Date: Wed, 24 Mar 2010 15:10:03 +0000 X-Google-Sender-Auth: ffe74433b02bc38e Message-ID: Subject: Re: Aries release - the shape of repo org/apache/aries To: aries-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On 23 March 2010 16:53, zoe slattery wrote: > >>> >>> 2) Sample 'assemblies'. At the moment most of the samples have a >>> 'platform assembly' project which copies all the jars required to run t= he >>> sample into a target directory and provides some minimal configuration.= I >>> think it might be a good idea to package the platforms as tar and/or zi= p >>> files and make them available along with the sample jars. I think the r= ight >>> way to do this is probably (I'd like advice on this, I'm definitely not= a >>> Maven expert) to change the platform assembly projects to use the maven >>> assembly plugin to create zip/tar files. I'll raise a JIRA as a sub tas= k of >>> 173 if you think this is the right thing to do. >> >> Creating the zip/tar is certainly one possible solution. =A0If we decide= to >> go that route then the first mechanism that comes to my mind is the >> maven-assembly-plugin (but I'm no maven expert either). =A0 I'm not oppo= sed to >> building the zip/tar of the platform assemblies - but I wonder if it is >> really necessary. >> >> > I am beginning to think it probably isn't possible :-). > > I spent some time trying to work out how to generate a platform zip for t= he > blog sample. Generating the zip using the assembly plugin is straightforw= ard > enough but I ran into problems when the apache-release process checks the > licenses. I think it's checking for META-INF/LICENCE inside every jar in = the > zip. Of course it doesn't find them for equinox platform jars - so it > chokes. > > A better plan would be to make a standalone-assembly project that will > create a zip that just has a pom.xml (the same as the one in the the > blog-assembly project) and the platform configuration files > (configuration/config.ini). The zip could be extracted into say /tmp, the= n > 'mvn install' should create the whole platform as long as the user have > maven and java installed. I have this working perfectly. To create the zi= p I > run: > > mvn install -Papache-release > > from within the standalone-assembly project, the =A0zip file is created a= nd > installed in .m2/repository. Great. > > However - this won't work as part of build of the full tree, the problem = is: > > [INFO] [assembly:single {execution: source-release-assembly}] > [INFO] Skipping the assembly in this project because it's not the Executi= on > Root > > so, the zip file will never be built. > > Is there another way to do this? Or am I missing something obvious? If no= t I > think we just have to say that people who want to run the samples have to > check out and build Aries - this seems less than ideal to me. My > standalone-assembly project is not checked in, I can do so if anyone else > wants to look at this. Sure, I think it's worth checking it in to share even if it's not finished. I'll take a look if you do. > > Zoe > >> >> >>> >>>> I appreciate this might be disruptive, but IMO it's best to have (what >>>> I think is necessary) disruption done sooner rather than later. >>>> >>>> Please do comment on this proposal - I've tried to mark the changes >>>> with 'TODO' to help. >>>> >>>> Thanks, >>>> Jeremy >>>> >>>> >>> >>> >> >> > >