activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <tmie...@redhat.com>
Subject Re: [DISCUSS] Combine windows and unix distros
Date Wed, 17 Apr 2013 07:45:30 GMT
+1
On Apr 3, 2013, at 10: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 <hiram@hiramchirino.com>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 <janstey@gmail.com> 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 <e.semog@gmail.com> 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 <janstey@gmail.com>
>> 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 <e.semog@gmail.com>
>> 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
>>>>>> <christian.posta@gmail.com>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 <hchirino@redhat.com> | fusesource.com | redhat.com*
>> 
>> *skype: hiramchirino | twitter: @hiramchirino<
>> http://twitter.com/hiramchirino>
>> *
>> 
>> *blog: Hiram Chirino's Bit Mojo <http://hiramchirino.com/blog/>*
>> 
> 
> 
> 
> -- 
> 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

Torsten Mielke
tmielke@redhat.com
tmielke.blogspot.com

Supporting success. Exceeding expectations.
Red Hat Customer Portal http://bit.ly/accessRH
Twitter http://bit.ly/RHsupport
Facebook - http://bit.ly/RHsupportFB
Google+ http://bit.ly/RHsupportG
LinkedIn http://www.linkedin.com/company/red-hat


Mime
View raw message