Hi David,
I am enclosing some code that will have to be
incorporated in the maven.xml (in basedir). Most of
the work will be done by the plugin called gdist.
If it sounds OK, I can submit rest of the code.
Thanks
Anita
--- anita kulshreshtha <[EMAIL PROTECTED]> wrote:
>
> --- David Blevins <[EMAIL PROTECTED]> wrote:
>
> > Hi Anita,
> >
> > Let me try and get you some quick answers before
> my
> > wife pulls me away from the computer.
> >
> > Using ant:checksum is cool. Any MD5 or SHA hash
> is
> > good.
> It generates both.
> > We don't realy need PGP signatures to be part of
> the
> > nightly build. For an official release, that part
> > can just be done by hand.
> > The svn:mkdir isn't what we want. There is a java
> > version of ssh somewhere that i know Maven is
> using.
> > Might look into that.
>
> Ant has sshexec.
>
> > Don't add it to the exising maven.xml, use one of
> > our plugins for a template.
> >
> > I've attached a shell script version of a nigtly
> > build you can model after.
>
> ok.
>
> Thanks
> Anita
> >
> > -David
> >
> > On Sun, Apr 10, 2005 at 03:24:17AM -0700, anita
> > kulshreshtha wrote:
> > > Since there was no response, I will use the
> > existing
> > > directory structure at
> > cvs.apache.org/dist/geronimo,
> > > i.e. all zips, tars with the name
> > > geronimo-x.0-yyyyMMdd-revision.* will go
> under
> > a
> > > directory .../nightly/yyyy-MM-dd for the nightly
> > > releases. For a milestone release they will go
> to
> > > .../vx.0-Mx directory. The individual jars will
> go
> > > cvs.apache.org/repository/geronimo/jars
> (external
> > jars
> > > also ???). How often are SNAPSHOTS updated?
> > > any comments?
> > > Thanks
> > > Anita
> > >
> > >
> > > --- anita kulshreshtha <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > > Hi,
> > > > I am attaching a very-very rough draft for
> > > > nightly
> > > > release. It works on a simple Helloworld!
> > project.
> > > > Lots more to come. I need some feedback about
> -
> > > > 1. Using openssl vs. ant:checksum?
> > > > 2. How is the PGP signature being generated
> > > > currently?
> > > > 3. Using svn:mkdir and svn:copy instead of ssh
> > and
> > > > scp? This would make release dirs version
> > controlled
> > > > as a side effect.
> > > > 4. Adding it to existing maven.xml vs. making
> it
> > a
> > > > plugin?
> > > > Lots of suggestions welcome!
> > > > Thanks
> > > > Anita
> > > > --- David Blevins <[EMAIL PROTECTED]>
> > wrote:
> > > > > On Tue, Mar 29, 2005 at 12:13:37PM -0700,
> > Bruce
> > > > > Snyder wrote:
> > > > > > On Tue, 29 Mar 2005 11:03:30 -0800, Dain
> > > > Sundstrom
> > > > > > <[EMAIL PROTECTED]> wrote:
> > > > > > > +10000000000000000000000000000000
> > > > > > >
> > > > > > > Anyone that has time, please help with
> > this
> > > > one.
> > > > > This would be a huge
> > > > > > > help to the whole community.
> > > > > > >
> > > > > > > -dain
> > > > > > >
> > > > > > > On Mar 29, 2005, at 10:39 AM, David
> > Blevins
> > > > > wrote:
> > > > > > >
> > > > > > > > If there are some people with extra
> > time,
> > > > > committer or not, we could
> > > > > > > > *really* use nightly releases. Strike
> > that,
> > > > > developers build Geronimo
> > > > > > > > several times daily, it's the
> community
> > that
> > > > > needs nightly releases.
> > > > > > > >
> > > > > > > > We need a bash, jelly, or even java
> > program
> > > > > that can:
> > > > > > > >
> > > > > > > > NIGHTLY-RELEASE (run if build/test
> > passed)
> > > > > > > > checkout current date (cvs) or
> > current
> > > > > rev (svn)
> > > > > > > > (using 48765 as example svn rev
> for
> > > > > explanation)
> > > > > > > > update the geronimo_version in
> > > > > etc/project.properties to 1.0-48765
> > > > > > > > zip geronimo-1.0-48765 dir into
> > > > > geronimo-1.0-48765-src.zip
> > > > > > > > again for tar
> > > > > > > > build with no tests--testing
> should
> > > > have
> > > > > already been done.
> > > > > > > > zip
> > > > > modules/assembly/target/geronimo-1.0-48765
> dir
> > > > into
> > > > > > > > geronimo-1.0-48765.zip
> > > > > > > > again for tar
> > > > > > > > create MD5 files for src/bin tars
> > and
> > > > > zips with openssl
> > > > > > > > again but with SHA instead of MD5
> > > > > > > > create 1.0-48765 dir on nightly
> > release
> > > > > server using ssh
> > > > > > > > copy tar.gz, zip, md5, and sha
> > files
> > > > into
> > > > > 1.0-48765 using scp
> > > > > > > > publish jars to remote maven repo
> > > > > > > > delete any previous nightly
> > releases
> > > > over
> > > > > a week old.
> > > > > > > >
> > > > > > > > As an added bonus, I actaully had
> > something
> > > > > close once and here it is:
> > > > > > > >
> > > > >
> > http://people.apache.org/~dblevins/svn-release.sh
> > > > > > > >
> > > > > > > > Ugly as heck. Someting in java or
> jelly
> > > > would
> > > > > be the best option as
> > > > > > > > everyone could maintain it.
> > > > > > > >
> > > > > > > > Maybe we can formally thank the person
> > who
> > > > > get's this done by putting
> > > > > > > > their name in a THANK_YOU file in
> every
> > > > > nightly release for a month or
> > > > > > > > on the website for a while.
> > > > > >
> > > > > > Is there no infrastructure at the ASF for
> > > > > performing nightly builds?
> > > > >
> > > > > I assume we can use the gump box for our
> > builds as
> > > > > well.
> > > > >
> > > > > > If not, I'll just continue w/ David's
> script
> > to
> > > > > get something going
> > > > > > somewhat quickly via cron from my user
> > space.
> > > > > After this is working, I
> > > > > > can work to migrate it to Maven/Jelly.
> > > > >
> > > > > Great!
>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
<project default="default"
xmlns:ant="jelly:ant"
xmlns:j="jelly:core"
xmlns:u="jelly:util"
>
<!-- RUN THIS AFTER A FRESH-CHECKOUT AND A SUCCESSFUL BUILD WITHOUT ANY
TEST FAILURES -->
<goal name="nightly-release">
<!-- WARNING ! this modifies etc/project.properties -->
<attainGoal name="gdist:release"/>
</goal>
<!-- build with the new version no -->
<preGoal name="gdist:build-bin">
<u:properties file="project.properties"/>
<echo>${geronimo_version}</echo>
<j:set var="maven.test.skip" value="true"/>
<j:set var="maven.final.name"
value="${pom.groupId}-${geronimo_version}"/>
<attainGoal name="jar:jar"/> <!-- put m:rebuild here -->
</preGoal>