struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@octo.com>
Subject RE: cvs commit: jakarta-struts/contrib/scaffold build.xml
Date Tue, 01 Jan 2002 21:37:49 GMT


> -----Original Message-----
> From: Ted Husted [mailto:husted@apache.org]
> Sent: 01 January 2002 21:26
> To: Struts Developers List
> Subject: Re: cvs commit: jakarta-struts/contrib/scaffold build.xml
> 
> I just ran it, and it doesn't include the CVS directories.
> 
> It does nest the scaffold-src.zip inside jakarta-scaffold.zip though,
> which is probably going to confuse people.
> 
> Vincent, how about if we go with a jakarta-scaffold.jar and
> jakarta-scaffold-src.zip in the dist folder.
> 

Where do you put the sample WAR ? In jakarta-scaffold-src.zip ? I did
not want to separate the src from the distribution as I thought it was
not needed and could be handy for users of scaffold, especially in the
current state of scaffold which has very little documentation.

In other words, here is what I am advocating :

jakarta-scaffold.zip (the main and only distributable file)
  |_ lib
    |_ scaffold.jar
  |_ doc
    |_ api
      |_ (javadoc files)
  |_ scaffold-sample.war
  |_ scaffold-src.zip

If I understand correctly, you would prefer to have just the jar
standalone for persons who don't need sample nor documentation nor
source and a zip containing the rest, as in :

jakarta-scaffold.jar
jakarta-scaffold-src.zip
  |_ scaffold-src.zip
  |_ scaffold-sample.war

I'm not sure what you intend to have in Jakarta-scaffold-src.zip ? The
expanded directories ? Then, where do you put the sample WAR ? In a dist
subdirectory ? Somewhere else ?

-Vincent

> For Artimus, which is an application rather than a development
package,
> can we keep the src folders where they are, and just ZIP up the WAR.
> There's probably not much use for a binary distribution of Artimus.
> 
> -Ted.
> 
> Martin Cooper wrote:
> >
> > I haven't actually tried this, but it looks like the source zip
would
> also
> > include all the 'CVS' directories in the tree, along with their
> contents. If
> > that's the case, you might want to add an 'exclude' in the fileset,
> since we
> > wouldn't want those files in the distribution.
> >
> > --
> > Martin Cooper
> >
> > ----- Original Message -----
> > From: <vmassol@apache.org>
> > To: <jakarta-struts-cvs@apache.org>
> > Sent: Tuesday, January 01, 2002 1:03 PM
> > Subject: cvs commit: jakarta-struts/contrib/scaffold build.xml
> >
> > > vmassol     02/01/01 13:03:51
> > >
> > >   Modified:    contrib/scaffold build.xml
> > >   Log:
> > >   added source zip to distribution file
> > >
> > >   Revision  Changes    Path
> > >   1.3       +23 -2     jakarta-struts/contrib/scaffold/build.xml
> > >
> > >   Index: build.xml
> > >
===================================================================
> > >   RCS file: /home/cvs/jakarta-struts/contrib/scaffold/build.xml,v
> > >   retrieving revision 1.2
> > >   retrieving revision 1.3
> > >   diff -u -r1.2 -r1.3
> > >   --- build.xml 28 Dec 2001 13:34:56 -0000 1.2
> > >   +++ build.xml 1 Jan 2002 21:03:50 -0000 1.3
> > >   @@ -57,7 +57,7 @@
> > >
> > >        @author <a href="mailto:ted@husted.com">Ted Husted</a>
> > >        @author <a href="mailto:vmassol@apache.org">Vincent
Massol</a>
> > >   -    @version $Id: build.xml,v 1.2 2001/12/28 13:34:56 vmassol
Exp $
> > >   +    @version $Id: build.xml,v 1.3 2002/01/01 21:03:50 vmassol
Exp $
> > >
> >
>
========================================================================
==
> ==
> > =
> > >    -->
> > >    <project name="Scaffold" default="dist" basedir=".">
> > >   @@ -135,6 +135,10 @@
> > >        <property name="target.sample.name"
> > value="${project.name.file}-sample"/>
> > >        <property name="target.sample.dir" value="${target.dir}"/>
> > >
> > >   +    <!-- Name of the source zip that is included in the main
> scaffold
> > zip -->
> > >   +    <property name="target.source.name"
> > value="${project.name.file}-src"/>
> > >   +    <property name="target.source.dir" value="${target.dir}"/>
> > >   +
> > >        <!--
> > >
> >
========================================================================
> > >            Names of deliverables
> > >   @@ -395,7 +399,21 @@
> > >             Generate distributables
> > >
> >
========================================================================
> > >        -->
> > >   -    <target name="dist" depends="jar,javadoc,sample">
> > >   +    <target name="dist" depends="jar,javadoc,sample"
> > >   +     description="Generates all distributables (binary, source,
> > sample)">
> > >   +
> > >   +        <!-- Copy the source to the distribution area so that
they
> are
> > included
> > >   +             in the release -->
> > >   +        <mkdir dir="${target.source.dir}"/>
> > >   +
> > >   +        <zip
> zipfile="${target.source.dir}/${target.source.name}.zip">
> > >   +            <fileset dir=".">
> > >   +                <include name="conf/**"/>
> > >   +                <include name="src/**"/>
> > >   +                <include name="*"/>
> > >   +                <exclude name="build.properties"/>
> > >   +            </fileset>
> > >   +        </zip>
> > >
> > >            <mkdir dir="${dist.main.dir}"/>
> > >
> > >   @@ -410,6 +428,9 @@
> > >                <zipfileset dir="." prefix="doc">
> > >                    <include name="LICENSE"/>
> > >                </zipfileset>
> > >   +            <fileset dir="${target.source.dir}">
> > >   +                <include name="${target.source.name}.zip"/>
> > >   +            </fileset>
> > >            </zip>
> > >
> > >        </target>
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > <mailto:struts-dev-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail:
> > <mailto:struts-dev-help@jakarta.apache.org>
> > >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:struts-dev-
> unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail: <mailto:struts-dev-
> help@jakarta.apache.org>
> 
> -- Ted Husted, Husted dot Com, Fairport NY USA.
> -- Building Java web applications with Struts.
> -- Tel +1 585 737-3463.
> -- Web http://www.husted.com/struts/
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-dev-
> unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-dev-
> help@jakarta.apache.org>
> 




--
To unsubscribe, e-mail:   <mailto:struts-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-dev-help@jakarta.apache.org>


Mime
View raw message