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 41E46F49E for ; Fri, 19 Apr 2013 21:47:12 +0000 (UTC) Received: (qmail 58143 invoked by uid 500); 19 Apr 2013 21:47:12 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 58110 invoked by uid 500); 19 Apr 2013 21:47:12 -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 58101 invoked by uid 99); 19 Apr 2013 21:47:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 21:47:11 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of janstey@gmail.com designates 209.85.214.48 as permitted sender) Received: from [209.85.214.48] (HELO mail-bk0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Apr 2013 21:47:06 +0000 Received: by mail-bk0-f48.google.com with SMTP id jf3so1931931bkc.35 for ; Fri, 19 Apr 2013 14:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=Qmywo71sZOpjVLVW2xOb/aZbuXiNqgDf5ehP5iOU98w=; b=LeLFww5IJ9RwdkO+dguXBcRJV0M3r3ex8OC8HXe9I7mnBOc1vvb4Fggx6iDNHeZqgD QFGAfGBSfJdEewFKhb7dWnVVKwblnTCRc0j+iU9Ep5lhjh/bUv7ggsrzq0JY+xLahMZr rYiDZrg4Z/Jtgpwmx7iPEnm1+mhoVCFMfg8MxezmNy+A0lT0ewOTh/unlh7wDF1cnZb7 wzt6PtlzvAjjHbWTIJYBRb7/zZk06eEon+dFSHwthH9ERh7/Ei1j4JmxKq95b2ZQEuOg +i1N0yQ6c/xr4+TW+Tuhm8Vo/sSfaYQCQWUdhvh3BvuZh0fgH7iBj2aRYsuYd2o6K2pg nY0w== MIME-Version: 1.0 X-Received: by 10.204.247.195 with SMTP id md3mr3061036bkb.54.1366408004653; Fri, 19 Apr 2013 14:46:44 -0700 (PDT) Received: by 10.204.35.80 with HTTP; Fri, 19 Apr 2013 14:46:44 -0700 (PDT) In-Reply-To: References: <515483D9.5000101@gmail.com> Date: Fri, 19 Apr 2013 17:46:44 -0400 Message-ID: Subject: Re: [DISCUSS] Combine windows and unix distros From: Jon Anstey To: dev@activemq.apache.org Content-Type: multipart/alternative; boundary=f46d041c6036bc92fd04dabda7af X-Virus-Checked: Checked by ClamAV on apache.org --f46d041c6036bc92fd04dabda7af Content-Type: text/plain; charset=ISO-8859-1 Sounds fair enough. I wanted consensus before committing this and there have been two -1's already so I'll close the issue as won't fix. Cheers, Jon On Wed, Apr 17, 2013 at 9:10 AM, Hiram Chirino wrote: > so then -1 > > Ok so if we go with the 1 zip solution then Windows user cant use Notepad > to edit config files and Unix users will need to chmod a+x their bin > scripts. Sound like loss of ease of use to both types of users. > > We already went through the trouble of setting up the 2 distros to give the > end user a better experience. I'd rather not dumb it down at the expense > of the end user experience. > > > > On Wed, Apr 3, 2013 at 4:28 PM, Jon Anstey wrote: > > > Nothing really wrong with having 2 different distros. It's just simpler > IMO > > to have one set of files to manage and get right, rather than testing 2 > > different sets of files. > > > > Full disclosure: I'm making this change as part of JBoss Fuse > > http://fusesource.com/issues/browse/ENTMQ-262 so its not really a > > requirement here at Apache. Just would make my life easier :-) > > > > Cheers, > > Jon > > > > > > On Wed, Apr 3, 2013 at 4:13 PM, Hiram Chirino > >wrote: > > > > > I guess I just don't understand what's wrong with having 2 different > > > distros. > > > > > > > > > On Wed, Apr 3, 2013 at 3:40 PM, Jon Anstey wrote: > > > > > > > Hi Jim, > > > > > > > > Yeah, its does add stuff to each distribution but its a really small > > > > difference. Less than 1MB in either case IIRC. Guess we don't HAVE to > > > make > > > > this change, but I'm still for it :-) Anyone else have a preference > > > either > > > > way? > > > > > > > > Cheers, > > > > Jon > > > > > > > > > > > > On Fri, Mar 29, 2013 at 4:37 PM, Jim Gomes > wrote: > > > > > > > > > Hi Jon, > > > > > > > > > > That's true. I don't use Wordpad, but it is an option. > > > > > > > > > > However, I'm still leaning against this change for other reasons. > I > > > like > > > > > having leaner distributions. By combining everything, the Windows > > > > > distribution will now grow to include the 32-bit and 64-bit Linux, > > plus > > > > the > > > > > MacOS files. Likewise, the Linux distribution will get the Windows > > and > > > > > MacOS files. From a packaging perspective, I get what's being > > > > recommended. > > > > > It's much simpler. However, from a deployment perspective, it's > > > > > introducing cruft. I'm not sure the trade-off is worth it. > > > > > > > > > > Full disclosure: I maintain a custom WiX installation script for my > > > > company > > > > > that repackages the ZIP file into a Windows MSI, so this change > would > > > not > > > > > really have a direct impact on me. I cherry pick out the files > (and > > > add > > > > in > > > > > some more) that we want to install. > > > > > > > > > > Best, > > > > > Jim > > > > > > > > > > > > > > > > > > > > On Fri, Mar 29, 2013 at 12:45 PM, Jon Anstey > > > wrote: > > > > > > > > > > > Hi Jim, > > > > > > > > > > > > Wordpad understands unix line endings so that can be used in > those > > > > > > production situations. > > > > > > > > > > > > Cheers, > > > > > > Jon > > > > > > > > > > > > > > > > > > On Fri, Mar 29, 2013 at 12:34 PM, Jim Gomes > > > wrote: > > > > > > > > > > > > > The only drawback is that a lot of the time you can't put your > > > > favorite > > > > > > dev > > > > > > > tools on a production machine, and you are stuck with using > > Notepad > > > > to > > > > > > edit > > > > > > > config files. > > > > > > > > > > > > > > -1 > > > > > > > > > > > > > > > > > > > > > On Fri, Mar 29, 2013 at 6:06 AM, Christian Posta > > > > > > > wrote: > > > > > > > > > > > > > > > +1 > > > > > > > > > > > > > > > > > > > > > > > > On Thu, Mar 28, 2013 at 10:54 AM, Timothy Bish < > > > > tabish121@gmail.com> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > +1 > > > > > > > > > > > > > > > > > > Just use nix line endings and those masochists using > notepad > > > will > > > > > > > likely > > > > > > > > > enjoy the added pain. > > > > > > > > > > > > > > > > > > > > > > > > > > > On 03/28/2013 11:56 AM, Jon Anstey wrote: > > > > > > > > > > > > > > > > > >> Right now, the zip and tar.gz distros contain different > > > scripts > > > > > and > > > > > > > libs > > > > > > > > >> depending on the platform: > > > > > > > > >> > > > > > > > > >> [janstey@bender tmp]$ diff -w -r > apache-activemq-5.8.0_zip > > > > > > > > >> apache-activemq-5.8.0_tar > > > > > > > > >> Only in apache-activemq-5.8.0_zip/bin: activemq-admin.bat > > > > > > > > >> Only in apache-activemq-5.8.0_zip/bin: activemq.bat > > > > > > > > >> Only in apache-activemq-5.8.0_tar/bin: diag > > > > > > > > >> Only in apache-activemq-5.8.0_tar/bin: linux-x86-32 > > > > > > > > >> Only in apache-activemq-5.8.0_tar/bin: linux-x86-64 > > > > > > > > >> Only in apache-activemq-5.8.0_tar/bin: macosx > > > > > > > > >> Only in apache-activemq-5.8.0_zip/bin: win32 > > > > > > > > >> Only in apache-activemq-5.8.0_zip/bin: win64 > > > > > > > > >> > > > > > > > > >> I'm proposing having a single ActiveMQ packaging script > that > > > > > > produces > > > > > > > a > > > > > > > > >> zip > > > > > > > > >> and tar.gz with the same contents. Other Apache projects > do > > > this > > > > > > > > already: > > > > > > > > >> CXF, Maven, ... So, we'd essentially be testing the same > kit > > > on > > > > > all > > > > > > > > >> platforms, which makes things simpler I think. > > > > > > > > >> > > > > > > > > >> Opened a ticket here > > > > > > https://issues.apache.org/**jira/browse/AMQ-4414 > > > > > > > < > > > > > > > > https://issues.apache.org/jira/browse/AMQ-4414>and > > > > > > > > >> also a pull request so folks could try it out if they > want. > > > > > > > > >> > > > > > > > > >> https://github.com/apache/**activemq/pull/2< > > > > > > > > https://github.com/apache/activemq/pull/2> > > > > > > > > >> > > > > > > > > >> One noticeable thing missing in this scheme are Windows > line > > > > > endings > > > > > > > on > > > > > > > > >> shared things like properties files and config, but I > think > > we > > > > can > > > > > > > live > > > > > > > > >> with that. Hopefully most Windows devs have better text > > > editors > > > > > than > > > > > > > > >> notepad :-) > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > -- > > > > > > > > > Tim Bish > > > > > > > > > Sr Software Engineer | RedHat Inc. > > > > > > > > > tim.bish@redhat.com | www.fusesource.com | www.redhat.com > > > > > > > > > skype: tabish121 | twitter: @tabish121 > > > > > > > > > blog: http://timbish.blogspot.com/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > *Christian Posta* > > > > > > > > http://www.christianposta.com/blog > > > > > > > > twitter: @christianposta > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Cheers, > > > > > > Jon > > > > > > --------------- > > > > > > Red Hat, Inc. > > > > > > Email: janstey@redhat.com > > > > > > Web: http://redhat.com > > > > > > Twitter: jon_anstey > > > > > > Blog: http://janstey.blogspot.com > > > > > > Author of Camel in Action: http://manning.com/ibsen > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Cheers, > > > > Jon > > > > --------------- > > > > Red Hat, Inc. > > > > Email: janstey@redhat.com > > > > Web: http://redhat.com > > > > Twitter: jon_anstey > > > > Blog: http://janstey.blogspot.com > > > > Author of Camel in Action: http://manning.com/ibsen > > > > > > > > > > > > > > > > -- > > > > > > ** > > > > > > *Hiram Chirino* > > > > > > *Engineering | Red Hat, Inc.* > > > > > > *hchirino@redhat.com | fusesource.com | > redhat.com > > * > > > > > > *skype: hiramchirino | twitter: @hiramchirino< > > > http://twitter.com/hiramchirino> > > > * > > > > > > *blog: Hiram Chirino's Bit Mojo * > > > > > > > > > > > -- > > Cheers, > > Jon > > --------------- > > Red Hat, Inc. > > Email: janstey@redhat.com > > Web: http://redhat.com > > Twitter: jon_anstey > > Blog: http://janstey.blogspot.com > > Author of Camel in Action: http://manning.com/ibsen > > > > > > -- > > ** > > *Hiram Chirino* > > *Engineering | Red Hat, Inc.* > > *hchirino@redhat.com | fusesource.com | redhat.com* > > *skype: hiramchirino | twitter: @hiramchirino< > http://twitter.com/hiramchirino> > * > > *blog: Hiram Chirino's Bit Mojo * > -- Cheers, Jon --------------- Red Hat, Inc. Email: janstey@redhat.com Web: http://redhat.com Twitter: jon_anstey Blog: http://janstey.blogspot.com Author of Camel in Action: http://manning.com/ibsen --f46d041c6036bc92fd04dabda7af--