You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Daniel Kulp <dk...@apache.org> on 2011/06/22 21:28:59 UTC

source distributions....

Question:

Does anyone really feel strongly that we need separate windows and unix SOURCE 
distributions?  We can easily chop a minute or two off the assembly build  if 
we only have a single source distribution.  Most of the time is spent doing 
the scans and the line ending filtering for the two separate source 
distribution assemblies.   

I would propose that we drop to just a single source distro assembly.  
Reasons:

1) Faster for us. :-)

2) I'm going to doubt many people even use the source distributions. Gotta 
love Java and Maven.  :-)

3) Windows does a good job handling the unix style endings now.    Really, if 
you're using git on Windows to clone the camel repo, your getting it with unix 
endings anyway.  Has anyone even noticed?  (git doesn't have an eol-style and 
thus the repo that is created on unix would have the unix style)

4) Other projects haven't had an issue.  For example, CXF has just a single 
"src" assembly (no filtering) and hasn't had an issue.  It produces both zip 
and tar/gz, but the contents are exactly the same.   (CXF also only has a 
single binary distro assembly, contents exactly the same)

5) Technically, the "source" distribution should be an exact copy of the tag 
of the source that was used to build the release.   The filtering that is done 
really makes it not an exact copy.  


On my machine, a simple test shows that "mvn install" in the apache-camel 
directory drops from 2m28s down to 1m2s  with this type of change.

Anyway, I'm just throwing out an idea.   I'm kind of sick of sitting and 
watching it build assemblies.   :-)   


-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com



Re: source distributions....

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
+1 for at least having only one source assembly
+1 to complete remove the source distribution (I'm sure that people that 
want to take a look on the source certainly checkout from subversion/git).

Regards
JB

On 06/22/2011 09:28 PM, Daniel Kulp wrote:
>
> Question:
>
> Does anyone really feel strongly that we need separate windows and unix SOURCE
> distributions?  We can easily chop a minute or two off the assembly build  if
> we only have a single source distribution.  Most of the time is spent doing
> the scans and the line ending filtering for the two separate source
> distribution assemblies.
>
> I would propose that we drop to just a single source distro assembly.
> Reasons:
>
> 1) Faster for us. :-)
>
> 2) I'm going to doubt many people even use the source distributions. Gotta
> love Java and Maven.  :-)
>
> 3) Windows does a good job handling the unix style endings now.    Really, if
> you're using git on Windows to clone the camel repo, your getting it with unix
> endings anyway.  Has anyone even noticed?  (git doesn't have an eol-style and
> thus the repo that is created on unix would have the unix style)
>
> 4) Other projects haven't had an issue.  For example, CXF has just a single
> "src" assembly (no filtering) and hasn't had an issue.  It produces both zip
> and tar/gz, but the contents are exactly the same.   (CXF also only has a
> single binary distro assembly, contents exactly the same)
>
> 5) Technically, the "source" distribution should be an exact copy of the tag
> of the source that was used to build the release.   The filtering that is done
> really makes it not an exact copy.
>
>
> On my machine, a simple test shows that "mvn install" in the apache-camel
> directory drops from 2m28s down to 1m2s  with this type of change.
>
> Anyway, I'm just throwing out an idea.   I'm kind of sick of sitting and
> watching it build assemblies.   :-)
>
>

Re: source distributions....

Posted by Willem Jiang <wi...@gmail.com>.
If you are using maven, maven eclipse will download the source jar for 
you automatically.

+1 to unify the assembly build, it can save us some CPU time :)

Willem

On 6/23/11 5:38 AM, Donald Whytock wrote:
> I actually use the source distribution for Windows, because opening up
> a .zip is one less step.  But I'm good either way.  Eclipse can deal
> with either file type.
>
> Don
>
> On Wed, Jun 22, 2011 at 5:13 PM, Aki Yoshida<el...@googlemail.com>  wrote:
>> I agree with you and I am also for a single unix-type source assembly.
>>
>> saving energy and resources.
>>
>> regards, aki
>>
>> 2011/6/22 Daniel Kulp<dk...@apache.org>:
>>>
>>> Question:
>>>
>>> Does anyone really feel strongly that we need separate windows and unix SOURCE
>>> distributions?  We can easily chop a minute or two off the assembly build  if
>>> we only have a single source distribution.  Most of the time is spent doing
>>> the scans and the line ending filtering for the two separate source
>>> distribution assemblies.
>>>
>>> I would propose that we drop to just a single source distro assembly.
>>> Reasons:
>>>
>>> 1) Faster for us. :-)
>>>
>>> 2) I'm going to doubt many people even use the source distributions. Gotta
>>> love Java and Maven.  :-)
>>>
>>> 3) Windows does a good job handling the unix style endings now.    Really, if
>>> you're using git on Windows to clone the camel repo, your getting it with unix
>>> endings anyway.  Has anyone even noticed?  (git doesn't have an eol-style and
>>> thus the repo that is created on unix would have the unix style)
>>>
>>> 4) Other projects haven't had an issue.  For example, CXF has just a single
>>> "src" assembly (no filtering) and hasn't had an issue.  It produces both zip
>>> and tar/gz, but the contents are exactly the same.   (CXF also only has a
>>> single binary distro assembly, contents exactly the same)
>>>
>>> 5) Technically, the "source" distribution should be an exact copy of the tag
>>> of the source that was used to build the release.   The filtering that is done
>>> really makes it not an exact copy.
>>>
>>>
>>> On my machine, a simple test shows that "mvn install" in the apache-camel
>>> directory drops from 2m28s down to 1m2s  with this type of change.
>>>
>>> Anyway, I'm just throwing out an idea.   I'm kind of sick of sitting and
>>> watching it build assemblies.   :-)
>>>
>>>
>>> --
>>> Daniel Kulp
>>> dkulp@apache.org
>>> http://dankulp.com/blog
>>> Talend - http://www.talend.com
>>>
>>>
>>>
>>
>


-- 
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
          http://jnn.javaeye.com (Chinese)
Twitter: willemjiang
Weibo: willemjiang

Re: source distributions....

Posted by Johan Edstrom <se...@gmail.com>.
Single dist +1, sounds awesome.

On Jun 23, 2011, at 7:11 AM, Eric Johnson wrote:

> +1 to a single source distro in a zip file.
> 
> On Thu, Jun 23, 2011 at 9:07 AM, Hadrian Zbarcea <hz...@gmail.com> wrote:
>> +1 from me as well for single source.
>> I also believe zip is better than tgz. This would avoid many Windows users
>> assuming that a Windows version of the source distro doesn't exist imho.
>> 
>> Hadrian
>> 
>> On 06/23/2011 06:19 AM, Jon Anstey wrote:
>>> 
>>> +1 for a single source disto. Though maybe we could have a zip file
>>> instead
>>> of the tgz? Not sure if Windows can handle tgz OOTB.
>>> 
>>> On Thu, Jun 23, 2011 at 11:05 AM, Richard Kettelerij<
>>> richardkettelerij@gmail.com>  wrote:
>>> 
>>>> I'm fine with this, one source archive should be enough. Like Donald said
>>>> most IDE's can handle both file types (although .zip is more common).
>>>> 
>>>> On Thu, Jun 23, 2011 at 10:19 AM, Claus Ibsen<cl...@gmail.com>
>>>> wrote:
>>>> 
>>>>> +1 to speed up the assembly part. That usually seems to take too long
>>>> 
>>>> time
>>>>> 
>>>>> :)
>>>>> 
>>>>> I wonder if we need to build -javadoc JARs (if we do that) ?
>>>>> Do people use them? Don't your IDE grab the javadoc from the -src JARs?
>>>>> 
>>>>> 
>>>>> 
>>>>> --
>>>>> Claus Ibsen
>>>>> -----------------
>>>>> FuseSource
>>>>> Email: cibsen@fusesource.com
>>>>> Web: http://fusesource.com
>>>>> Twitter: davsclaus, fusenews
>>>>> Blog: http://davsclaus.blogspot.com/
>>>>> Author of Camel in Action: http://www.manning.com/ibsen/
>>>>> 
>>>> 
>>> 
>>> 
>>> 
>> 
> 
> 
> 
> -- 
> Principle Technical Writer
> FuseSource
> Phone: (781) 280-4174
> E-Mail: emjohnson@fusesource.com
> Blog: http://documentingit.blogspot.com/
> Twitter: finnmccumial


Re: source distributions....

Posted by Eric Johnson <em...@fusesource.com>.
+1 to a single source distro in a zip file.

On Thu, Jun 23, 2011 at 9:07 AM, Hadrian Zbarcea <hz...@gmail.com> wrote:
> +1 from me as well for single source.
> I also believe zip is better than tgz. This would avoid many Windows users
> assuming that a Windows version of the source distro doesn't exist imho.
>
> Hadrian
>
> On 06/23/2011 06:19 AM, Jon Anstey wrote:
>>
>> +1 for a single source disto. Though maybe we could have a zip file
>> instead
>> of the tgz? Not sure if Windows can handle tgz OOTB.
>>
>> On Thu, Jun 23, 2011 at 11:05 AM, Richard Kettelerij<
>> richardkettelerij@gmail.com>  wrote:
>>
>>> I'm fine with this, one source archive should be enough. Like Donald said
>>> most IDE's can handle both file types (although .zip is more common).
>>>
>>> On Thu, Jun 23, 2011 at 10:19 AM, Claus Ibsen<cl...@gmail.com>
>>> wrote:
>>>
>>>> +1 to speed up the assembly part. That usually seems to take too long
>>>
>>> time
>>>>
>>>> :)
>>>>
>>>> I wonder if we need to build -javadoc JARs (if we do that) ?
>>>> Do people use them? Don't your IDE grab the javadoc from the -src JARs?
>>>>
>>>>
>>>>
>>>> --
>>>> Claus Ibsen
>>>> -----------------
>>>> FuseSource
>>>> Email: cibsen@fusesource.com
>>>> Web: http://fusesource.com
>>>> Twitter: davsclaus, fusenews
>>>> Blog: http://davsclaus.blogspot.com/
>>>> Author of Camel in Action: http://www.manning.com/ibsen/
>>>>
>>>
>>
>>
>>
>



-- 
Principle Technical Writer
FuseSource
Phone: (781) 280-4174
E-Mail: emjohnson@fusesource.com
Blog: http://documentingit.blogspot.com/
Twitter: finnmccumial

Re: source distributions....

Posted by Hadrian Zbarcea <hz...@gmail.com>.
+1 from me as well for single source.
I also believe zip is better than tgz. This would avoid many Windows 
users assuming that a Windows version of the source distro doesn't exist 
imho.

Hadrian

On 06/23/2011 06:19 AM, Jon Anstey wrote:
> +1 for a single source disto. Though maybe we could have a zip file instead
> of the tgz? Not sure if Windows can handle tgz OOTB.
>
> On Thu, Jun 23, 2011 at 11:05 AM, Richard Kettelerij<
> richardkettelerij@gmail.com>  wrote:
>
>> I'm fine with this, one source archive should be enough. Like Donald said
>> most IDE's can handle both file types (although .zip is more common).
>>
>> On Thu, Jun 23, 2011 at 10:19 AM, Claus Ibsen<cl...@gmail.com>
>> wrote:
>>
>>> +1 to speed up the assembly part. That usually seems to take too long
>> time
>>> :)
>>>
>>> I wonder if we need to build -javadoc JARs (if we do that) ?
>>> Do people use them? Don't your IDE grab the javadoc from the -src JARs?
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> FuseSource
>>> Email: cibsen@fusesource.com
>>> Web: http://fusesource.com
>>> Twitter: davsclaus, fusenews
>>> Blog: http://davsclaus.blogspot.com/
>>> Author of Camel in Action: http://www.manning.com/ibsen/
>>>
>>
>
>
>

Re: source distributions....

Posted by Jon Anstey <ja...@gmail.com>.
+1 for a single source disto. Though maybe we could have a zip file instead
of the tgz? Not sure if Windows can handle tgz OOTB.

On Thu, Jun 23, 2011 at 11:05 AM, Richard Kettelerij <
richardkettelerij@gmail.com> wrote:

> I'm fine with this, one source archive should be enough. Like Donald said
> most IDE's can handle both file types (although .zip is more common).
>
> On Thu, Jun 23, 2011 at 10:19 AM, Claus Ibsen <cl...@gmail.com>
> wrote:
>
> > +1 to speed up the assembly part. That usually seems to take too long
> time
> > :)
> >
> > I wonder if we need to build -javadoc JARs (if we do that) ?
> > Do people use them? Don't your IDE grab the javadoc from the -src JARs?
> >
> >
> >
> > --
> > Claus Ibsen
> > -----------------
> > FuseSource
> > Email: cibsen@fusesource.com
> > Web: http://fusesource.com
> > Twitter: davsclaus, fusenews
> > Blog: http://davsclaus.blogspot.com/
> > Author of Camel in Action: http://www.manning.com/ibsen/
> >
>



-- 
Cheers,
Jon
---------------
FuseSource
Email: jon@fusesource.com
Web: fusesource.com
Twitter: jon_anstey
Blog: http://janstey.blogspot.com
Author of Camel in Action: http://manning.com/ibsen

Re: source distributions....

Posted by Richard Kettelerij <ri...@gmail.com>.
I'm fine with this, one source archive should be enough. Like Donald said
most IDE's can handle both file types (although .zip is more common).

On Thu, Jun 23, 2011 at 10:19 AM, Claus Ibsen <cl...@gmail.com> wrote:

> +1 to speed up the assembly part. That usually seems to take too long time
> :)
>
> I wonder if we need to build -javadoc JARs (if we do that) ?
> Do people use them? Don't your IDE grab the javadoc from the -src JARs?
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.blogspot.com/
> Author of Camel in Action: http://www.manning.com/ibsen/
>

Re: source distributions....

Posted by Donald Whytock <dw...@gmail.com>.
On Thu, Jun 23, 2011 at 4:19 AM, Claus Ibsen <cl...@gmail.com> wrote:
> +1 to speed up the assembly part. That usually seems to take too long time :)
>
> I wonder if we need to build -javadoc JARs (if we do that) ?
> Do people use them? Don't your IDE grab the javadoc from the -src JARs?

That's assuming one puts all the Camel source into the IDE.

I use the online javadoc, though that's typically out of date and
incomplete.  I myself would like to see the complete javadoc as a
separate download.  Though I suppose it can be generated from the src
jars without loading them all into Eclipse.

Don

Re: source distributions....

Posted by Claus Ibsen <cl...@gmail.com>.
+1 to speed up the assembly part. That usually seems to take too long time :)

I wonder if we need to build -javadoc JARs (if we do that) ?
Do people use them? Don't your IDE grab the javadoc from the -src JARs?



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Re: source distributions....

Posted by Daniel Kulp <dk...@apache.org>.
On Wednesday, June 22, 2011 5:38:19 PM Donald Whytock wrote:
> I actually use the source distribution for Windows, because opening up
> a .zip is one less step.  But I'm good either way.  Eclipse can deal
> with either file type.
> 

I attached a patch to:
https://issues.apache.org/jira/browse/CAMEL-4141

that currently keeps the .zip, just without the CR/LF filtering.  On my 
machine, that drops the builds to 1m2s from 2m28s.    If I turn off the zip, 
it drops a bit more to 48s.   Without the filtering, the incremental cost of 
the zip is 14s.   With filtering, it's WAY more.   If you want to give that a 
try, feel free to grab it while we continue discussing.  :-)

Dan


> Don
> 
> On Wed, Jun 22, 2011 at 5:13 PM, Aki Yoshida <el...@googlemail.com> wrote:
> > I agree with you and I am also for a single unix-type source assembly.
> > 
> > saving energy and resources.
> > 
> > regards, aki
> > 
> > 2011/6/22 Daniel Kulp <dk...@apache.org>:
> >> Question:
> >> 
> >> Does anyone really feel strongly that we need separate windows and
> >> unix SOURCE distributions?  We can easily chop a minute or two off
> >> the assembly build  if we only have a single source distribution.
> >>  Most of the time is spent doing the scans and the line ending
> >> filtering for the two separate source distribution assemblies.
> >> 
> >> I would propose that we drop to just a single source distro assembly.
> >> Reasons:
> >> 
> >> 1) Faster for us. :-)
> >> 
> >> 2) I'm going to doubt many people even use the source distributions.
> >> Gotta love Java and Maven.  :-)
> >> 
> >> 3) Windows does a good job handling the unix style endings now.  
> >>  Really, if you're using git on Windows to clone the camel repo, your
> >> getting it with unix endings anyway.  Has anyone even noticed?  (git
> >> doesn't have an eol-style and thus the repo that is created on unix
> >> would have the unix style)
> >> 
> >> 4) Other projects haven't had an issue.  For example, CXF has just a
> >> single "src" assembly (no filtering) and hasn't had an issue.  It
> >> produces both zip and tar/gz, but the contents are exactly the same.
> >>   (CXF also only has a single binary distro assembly, contents
> >> exactly the same)
> >> 
> >> 5) Technically, the "source" distribution should be an exact copy of
> >> the tag of the source that was used to build the release.   The
> >> filtering that is done really makes it not an exact copy.
> >> 
> >> 
> >> On my machine, a simple test shows that "mvn install" in the
> >> apache-camel directory drops from 2m28s down to 1m2s  with this type
> >> of change.
> >> 
> >> Anyway, I'm just throwing out an idea.   I'm kind of sick of sitting
> >> and
> >> watching it build assemblies.   :-)
> >> 
> >> 
> >> --
> >> Daniel Kulp
> >> dkulp@apache.org
> >> http://dankulp.com/blog
> >> Talend - http://www.talend.com
-- 
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog
Talend - http://www.talend.com

Re: source distributions....

Posted by Donald Whytock <dw...@gmail.com>.
I actually use the source distribution for Windows, because opening up
a .zip is one less step.  But I'm good either way.  Eclipse can deal
with either file type.

Don

On Wed, Jun 22, 2011 at 5:13 PM, Aki Yoshida <el...@googlemail.com> wrote:
> I agree with you and I am also for a single unix-type source assembly.
>
> saving energy and resources.
>
> regards, aki
>
> 2011/6/22 Daniel Kulp <dk...@apache.org>:
>>
>> Question:
>>
>> Does anyone really feel strongly that we need separate windows and unix SOURCE
>> distributions?  We can easily chop a minute or two off the assembly build  if
>> we only have a single source distribution.  Most of the time is spent doing
>> the scans and the line ending filtering for the two separate source
>> distribution assemblies.
>>
>> I would propose that we drop to just a single source distro assembly.
>> Reasons:
>>
>> 1) Faster for us. :-)
>>
>> 2) I'm going to doubt many people even use the source distributions. Gotta
>> love Java and Maven.  :-)
>>
>> 3) Windows does a good job handling the unix style endings now.    Really, if
>> you're using git on Windows to clone the camel repo, your getting it with unix
>> endings anyway.  Has anyone even noticed?  (git doesn't have an eol-style and
>> thus the repo that is created on unix would have the unix style)
>>
>> 4) Other projects haven't had an issue.  For example, CXF has just a single
>> "src" assembly (no filtering) and hasn't had an issue.  It produces both zip
>> and tar/gz, but the contents are exactly the same.   (CXF also only has a
>> single binary distro assembly, contents exactly the same)
>>
>> 5) Technically, the "source" distribution should be an exact copy of the tag
>> of the source that was used to build the release.   The filtering that is done
>> really makes it not an exact copy.
>>
>>
>> On my machine, a simple test shows that "mvn install" in the apache-camel
>> directory drops from 2m28s down to 1m2s  with this type of change.
>>
>> Anyway, I'm just throwing out an idea.   I'm kind of sick of sitting and
>> watching it build assemblies.   :-)
>>
>>
>> --
>> Daniel Kulp
>> dkulp@apache.org
>> http://dankulp.com/blog
>> Talend - http://www.talend.com
>>
>>
>>
>

Re: source distributions....

Posted by Aki Yoshida <el...@googlemail.com>.
I agree with you and I am also for a single unix-type source assembly.

saving energy and resources.

regards, aki

2011/6/22 Daniel Kulp <dk...@apache.org>:
>
> Question:
>
> Does anyone really feel strongly that we need separate windows and unix SOURCE
> distributions?  We can easily chop a minute or two off the assembly build  if
> we only have a single source distribution.  Most of the time is spent doing
> the scans and the line ending filtering for the two separate source
> distribution assemblies.
>
> I would propose that we drop to just a single source distro assembly.
> Reasons:
>
> 1) Faster for us. :-)
>
> 2) I'm going to doubt many people even use the source distributions. Gotta
> love Java and Maven.  :-)
>
> 3) Windows does a good job handling the unix style endings now.    Really, if
> you're using git on Windows to clone the camel repo, your getting it with unix
> endings anyway.  Has anyone even noticed?  (git doesn't have an eol-style and
> thus the repo that is created on unix would have the unix style)
>
> 4) Other projects haven't had an issue.  For example, CXF has just a single
> "src" assembly (no filtering) and hasn't had an issue.  It produces both zip
> and tar/gz, but the contents are exactly the same.   (CXF also only has a
> single binary distro assembly, contents exactly the same)
>
> 5) Technically, the "source" distribution should be an exact copy of the tag
> of the source that was used to build the release.   The filtering that is done
> really makes it not an exact copy.
>
>
> On my machine, a simple test shows that "mvn install" in the apache-camel
> directory drops from 2m28s down to 1m2s  with this type of change.
>
> Anyway, I'm just throwing out an idea.   I'm kind of sick of sitting and
> watching it build assemblies.   :-)
>
>
> --
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog
> Talend - http://www.talend.com
>
>
>

Re: source distributions....

Posted by Christian Schneider <ch...@die-schneider.net>.
+1 For one source distribution with Unix line endings

Am 22.06.2011 21:28, schrieb Daniel Kulp:
> Question:
>
> Does anyone really feel strongly that we need separate windows and unix SOURCE
> distributions?  We can easily chop a minute or two off the assembly build  if
> we only have a single source distribution.  Most of the time is spent doing
> the scans and the line ending filtering for the two separate source
> distribution assemblies.
>
> I would propose that we drop to just a single source distro assembly.
> Reasons:
>
> 1) Faster for us. :-)
>
> 2) I'm going to doubt many people even use the source distributions. Gotta
> love Java and Maven.  :-)
>
> 3) Windows does a good job handling the unix style endings now.    Really, if
> you're using git on Windows to clone the camel repo, your getting it with unix
> endings anyway.  Has anyone even noticed?  (git doesn't have an eol-style and
> thus the repo that is created on unix would have the unix style)
>
> 4) Other projects haven't had an issue.  For example, CXF has just a single
> "src" assembly (no filtering) and hasn't had an issue.  It produces both zip
> and tar/gz, but the contents are exactly the same.   (CXF also only has a
> single binary distro assembly, contents exactly the same)
>
> 5) Technically, the "source" distribution should be an exact copy of the tag
> of the source that was used to build the release.   The filtering that is done
> really makes it not an exact copy.
>
>
> On my machine, a simple test shows that "mvn install" in the apache-camel
> directory drops from 2m28s down to 1m2s  with this type of change.
>
> Anyway, I'm just throwing out an idea.   I'm kind of sick of sitting and
> watching it build assemblies.   :-)
>
>

-- 
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com