You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by je...@apache.org on 2002/04/14 13:11:29 UTC

cvs commit: jakarta-avalon-excalibur/io build.xml default.properties

jefft       02/04/14 04:11:29

  Modified:    io       build.xml default.properties
  Log:
  Make src-dist more like dist
  
  Revision  Changes    Path
  1.41      +9 -1      jakarta-avalon-excalibur/io/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/io/build.xml,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- build.xml	14 Apr 2002 10:19:39 -0000	1.40
  +++ build.xml	14 Apr 2002 11:11:29 -0000	1.41
  @@ -243,7 +243,8 @@
       </target>
   
       <!-- Create the source distribution -->
  -    <target name="src-dist" depends="dist-jar, javadocs">
  +    <target name="src-dist" depends="dist-jar, test-reports, checkstyle-report, javadocs"
  +        description="Generates a source distribution (jar + src + javadocs + unittest and checkstyle reports">
   
           <mkdir dir="${src.dist.dir}" />
   
  @@ -270,6 +271,7 @@
           <copy todir="${src.dist.dir}">
               <fileset dir="..">
                   <include name="depchecker.xml"/>
  +                <include name="KEYS"/>
               </fileset>
           </copy>
           <copy todir="${src.dist.dir}">
  @@ -286,6 +288,12 @@
           <fixcrlf srcdir="${src.dist.src}/java" includes="**/*.java" eol="lf"/>
   
           <chmod dir="${src.dist.dir}" perm="go-rwx" />
  +
  +        <mkdir dir="${dist.base}"/>
  +
  +        <zip zipfile="${dist.base}/${dist.name}-src.zip" compress="true">
  +            <zipfileset dir="${src.dist.dir}" prefix="${dist.name}-src"/>
  +        </zip>
   
       </target>
   
  
  
  
  1.6       +1 -1      jakarta-avalon-excalibur/io/default.properties
  
  Index: default.properties
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/io/default.properties,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- default.properties	14 Apr 2002 10:19:39 -0000	1.5
  +++ default.properties	14 Apr 2002 11:11:29 -0000	1.6
  @@ -46,7 +46,7 @@
   #  Set the properties for distribution directories
   dist.dir = dist
   dist.javadocs = ${dist.dir}/docs/api
  -src.dist.dir= dist-src
  +src.dist.dir= src-dist
   src.dist.src= ${src.dist.dir}/src
   src.dist.lib= ${src.dist.dir}/lib
   src.dist.docs= ${src.dist.dir}/docs
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Source distributions (Re: cvs commit: ...)

Posted by Jeff Turner <je...@socialchange.net.au>.
On Sun, Apr 14, 2002 at 10:26:29PM +1000, Peter Donald wrote:
> On Sun, 14 Apr 2002 22:11, Jeff Turner wrote:
> > On Sun, Apr 14, 2002 at 09:11:48PM +1000, Peter Donald wrote:
> > > About this. What does everyone think of not having both a binary and
> > > source distribution for all the excalibur packages. They are the type of
> > > things where you want both source and binaries for when integrating into
> > > your own apps. I would prefer one combined distribution that had both
> > > source and binaries.
> >
> > How about we just bundle the jar in the source distribution? That's what
> > this src-dist prototype does.
> >
> > The jar is typically much smaller than the source, so including the jar
> > has relatively little impact. Eg, io has a 20k jar (compressed), and
> > 332k of source code. This ratio also makes the binary-only distribution
> > significantly smaller than the source distribution. For io, the source
> > distro is 155k (with jar), binary is 89k. For this reason, I wouldn't
> > like to give up the binary distribution.
> 
> Thats definetly possible. Personally I am not sure I see a use for it. These 
> libraries are small enough that it wouldn't really matter either way IMHO. 
> 56K is not something that is significant nowadays.

Guess not, though it's the ratio which is more important. The difference
for Altrmi is 360k. Choice can't hurt..

> But if you want to keep it then I guess we can. However how about we
> name the combined dist "foo.zip" and the binary dist "foo-bin.zip" (ie
> drop the "-src" specifier).

+1

--Jeff


> -- 
> Cheers,
> 
> Peter Donald
> 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Source distributions (Re: cvs commit: ...)

Posted by Peter Donald <pe...@apache.org>.
On Sun, 14 Apr 2002 22:11, Jeff Turner wrote:
> On Sun, Apr 14, 2002 at 09:11:48PM +1000, Peter Donald wrote:
> > About this. What does everyone think of not having both a binary and
> > source distribution for all the excalibur packages. They are the type of
> > things where you want both source and binaries for when integrating into
> > your own apps. I would prefer one combined distribution that had both
> > source and binaries.
>
> How about we just bundle the jar in the source distribution? That's what
> this src-dist prototype does.
>
> The jar is typically much smaller than the source, so including the jar
> has relatively little impact. Eg, io has a 20k jar (compressed), and
> 332k of source code. This ratio also makes the binary-only distribution
> significantly smaller than the source distribution. For io, the source
> distro is 155k (with jar), binary is 89k. For this reason, I wouldn't
> like to give up the binary distribution.

Thats definetly possible. Personally I am not sure I see a use for it. These 
libraries are small enough that it wouldn't really matter either way IMHO. 
56K is not something that is significant nowadays. But if you want to keep it 
then I guess we can. However how about we name the combined dist "foo.zip" 
and the binary dist "foo-bin.zip" (ie drop the "-src" specifier).



-- 
Cheers,

Peter Donald


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Source distributions (Re: cvs commit: ...)

Posted by Jeff Turner <je...@socialchange.net.au>.
On Sun, Apr 14, 2002 at 09:11:48PM +1000, Peter Donald wrote:
> About this. What does everyone think of not having both a binary and source 
> distribution for all the excalibur packages. They are the type of things 
> where you want both source and binaries for when integrating into your own 
> apps. I would prefer one combined distribution that had both source and 
> binaries.

How about we just bundle the jar in the source distribution? That's what
this src-dist prototype does.

The jar is typically much smaller than the source, so including the jar
has relatively little impact. Eg, io has a 20k jar (compressed), and
332k of source code. This ratio also makes the binary-only distribution
significantly smaller than the source distribution. For io, the source
distro is 155k (with jar), binary is 89k. For this reason, I wouldn't
like to give up the binary distribution.


--Jeff

> 
> Thoughts?
> 
> On Sun, 14 Apr 2002 21:11, jefft@apache.org wrote:
> > jefft       02/04/14 04:11:29
> >
> >   Modified:    io       build.xml default.properties
> >   Log:
> >   Make src-dist more like dist

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: cvs commit: jakarta-avalon-excalibur/io build.xml default.properties

Posted by Leo Simons <le...@apache.org>.
As long as we don't any sources in the .jar (I hate it when that
happens!), I'm perfectly okay on this. It shouldn't really affect
people that don't want the source (downloads are relatively small)
and projects that use the dists will just include the jars
anyway.

so, +1 on having combined binary+source distribution for individual
excalibur packages.

- Leo

> -----Oorspronkelijk bericht-----
> Van: Peter Donald [mailto:peter@apache.org]
> Verzonden: Sunday, April 14, 2002 1:12 PM
> Aan: Avalon Developers List
> Onderwerp: Re: cvs commit: jakarta-avalon-excalibur/io build.xml
> default.properties
>
>
> About this. What does everyone think of not having both a binary
> and source
> distribution for all the excalibur packages. They are the type of things
> where you want both source and binaries for when integrating into
> your own
> apps. I would prefer one combined distribution that had both source and
> binaries.
>
> Thoughts?
>
> On Sun, 14 Apr 2002 21:11, jefft@apache.org wrote:
> > jefft       02/04/14 04:11:29
> >
> >   Modified:    io       build.xml default.properties
> >   Log:
> >   Make src-dist more like dist
> >
> >   Revision  Changes    Path
> >   1.41      +9 -1      jakarta-avalon-excalibur/io/build.xml
> >
> >   Index: build.xml
> >   ===================================================================
> >   RCS file: /home/cvs/jakarta-avalon-excalibur/io/build.xml,v
> >   retrieving revision 1.40
> >   retrieving revision 1.41
> >   diff -u -r1.40 -r1.41
> >   --- build.xml	14 Apr 2002 10:19:39 -0000	1.40
> >   +++ build.xml	14 Apr 2002 11:11:29 -0000	1.41
> >   @@ -243,7 +243,8 @@
> >        </target>
> >
> >        <!-- Create the source distribution -->
> >   -    <target name="src-dist" depends="dist-jar, javadocs">
> >   +    <target name="src-dist" depends="dist-jar, test-reports,
> > checkstyle-report, javadocs" +        description="Generates a source
> > distribution (jar + src + javadocs + unittest and checkstyle reports">
> >
> >            <mkdir dir="${src.dist.dir}" />
> >
> >   @@ -270,6 +271,7 @@
> >            <copy todir="${src.dist.dir}">
> >                <fileset dir="..">
> >                    <include name="depchecker.xml"/>
> >   +                <include name="KEYS"/>
> >                </fileset>
> >            </copy>
> >            <copy todir="${src.dist.dir}">
> >   @@ -286,6 +288,12 @@
> >            <fixcrlf srcdir="${src.dist.src}/java" includes="**/*.java"
> > eol="lf"/>
> >
> >            <chmod dir="${src.dist.dir}" perm="go-rwx" />
> >   +
> >   +        <mkdir dir="${dist.base}"/>
> >   +
> >   +        <zip zipfile="${dist.base}/${dist.name}-src.zip"
> > compress="true"> +            <zipfileset dir="${src.dist.dir}"
> > prefix="${dist.name}-src"/> +        </zip>
> >
> >        </target>
> >
> >
> >
> >
> >   1.6       +1 -1      jakarta-avalon-excalibur/io/default.properties
> >
> >   Index: default.properties
> >   ===================================================================
> >   RCS file: /home/cvs/jakarta-avalon-excalibur/io/default.properties,v
> >   retrieving revision 1.5
> >   retrieving revision 1.6
> >   diff -u -r1.5 -r1.6
> >   --- default.properties	14 Apr 2002 10:19:39 -0000	1.5
> >   +++ default.properties	14 Apr 2002 11:11:29 -0000	1.6
> >   @@ -46,7 +46,7 @@
> >    #  Set the properties for distribution directories
> >    dist.dir = dist
> >    dist.javadocs = ${dist.dir}/docs/api
> >   -src.dist.dir= dist-src
> >   +src.dist.dir= src-dist
> >    src.dist.src= ${src.dist.dir}/src
> >    src.dist.lib= ${src.dist.dir}/lib
> >    src.dist.docs= ${src.dist.dir}/docs
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-avalon-excalibur/io build.xml default.properties

Posted by Peter Donald <pe...@apache.org>.
About this. What does everyone think of not having both a binary and source 
distribution for all the excalibur packages. They are the type of things 
where you want both source and binaries for when integrating into your own 
apps. I would prefer one combined distribution that had both source and 
binaries.

Thoughts?

On Sun, 14 Apr 2002 21:11, jefft@apache.org wrote:
> jefft       02/04/14 04:11:29
>
>   Modified:    io       build.xml default.properties
>   Log:
>   Make src-dist more like dist
>
>   Revision  Changes    Path
>   1.41      +9 -1      jakarta-avalon-excalibur/io/build.xml
>
>   Index: build.xml
>   ===================================================================
>   RCS file: /home/cvs/jakarta-avalon-excalibur/io/build.xml,v
>   retrieving revision 1.40
>   retrieving revision 1.41
>   diff -u -r1.40 -r1.41
>   --- build.xml	14 Apr 2002 10:19:39 -0000	1.40
>   +++ build.xml	14 Apr 2002 11:11:29 -0000	1.41
>   @@ -243,7 +243,8 @@
>        </target>
>
>        <!-- Create the source distribution -->
>   -    <target name="src-dist" depends="dist-jar, javadocs">
>   +    <target name="src-dist" depends="dist-jar, test-reports,
> checkstyle-report, javadocs" +        description="Generates a source
> distribution (jar + src + javadocs + unittest and checkstyle reports">
>
>            <mkdir dir="${src.dist.dir}" />
>
>   @@ -270,6 +271,7 @@
>            <copy todir="${src.dist.dir}">
>                <fileset dir="..">
>                    <include name="depchecker.xml"/>
>   +                <include name="KEYS"/>
>                </fileset>
>            </copy>
>            <copy todir="${src.dist.dir}">
>   @@ -286,6 +288,12 @@
>            <fixcrlf srcdir="${src.dist.src}/java" includes="**/*.java"
> eol="lf"/>
>
>            <chmod dir="${src.dist.dir}" perm="go-rwx" />
>   +
>   +        <mkdir dir="${dist.base}"/>
>   +
>   +        <zip zipfile="${dist.base}/${dist.name}-src.zip"
> compress="true"> +            <zipfileset dir="${src.dist.dir}"
> prefix="${dist.name}-src"/> +        </zip>
>
>        </target>
>
>
>
>
>   1.6       +1 -1      jakarta-avalon-excalibur/io/default.properties
>
>   Index: default.properties
>   ===================================================================
>   RCS file: /home/cvs/jakarta-avalon-excalibur/io/default.properties,v
>   retrieving revision 1.5
>   retrieving revision 1.6
>   diff -u -r1.5 -r1.6
>   --- default.properties	14 Apr 2002 10:19:39 -0000	1.5
>   +++ default.properties	14 Apr 2002 11:11:29 -0000	1.6
>   @@ -46,7 +46,7 @@
>    #  Set the properties for distribution directories
>    dist.dir = dist
>    dist.javadocs = ${dist.dir}/docs/api
>   -src.dist.dir= dist-src
>   +src.dist.dir= src-dist
>    src.dist.src= ${src.dist.dir}/src
>    src.dist.lib= ${src.dist.dir}/lib
>    src.dist.docs= ${src.dist.dir}/docs


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>