> -----Original Message-----
> From: Ted Husted [mailto:[EMAIL PROTECTED]]
> 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: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > 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:[EMAIL PROTECTED]";>Ted Husted</a>
> > >        @author <a href="mailto:[EMAIL PROTECTED]";>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:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:struts-dev-
> [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:struts-dev-
> [EMAIL PROTECTED]>
> 
> -- 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-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:struts-dev-
> [EMAIL PROTECTED]>
> 




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to