Ok, I've added Action 1, Action 2, and Shale to Continuum. We need to decide on a schedule for regular builds.

@Sean or anyone who knows,
Can we do nightlies with Continuum? I didn't think that was possible, but I seem to remember some discussion about it somewhere.


--
James Mitchell




On Jun 20, 2006, at 12:54 AM, Craig McClanahan wrote:

On 6/19/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

On 6/14/06, James Mitchell <[EMAIL PROTECTED]> wrote:

> Yes.  There is a wiki page for this as well.
> http://wiki.apache.org/struts/StrutsContinuum
>
> It's a work in progress, and I'm about to head out, but I'd like to
> ask Wendy a few questions wrt pom, parent-pom, snapshot vs. released,
> etc, etc.
>
> Back in a bit.

That was a few days ago. :)

Craig, are you ready to get Shale set up on Continuum?


I am. Shale's trunk is now the Maven2 build, as you are well aware :-), so
it should be ready to go.

 I assume you'd
like to get out of the nightly builds business, and have them run from
the zone.


That would be great. I've also cut-n-pasted below the shell script I'm currently experimenting with ... it updates the snapshot repository as well
as posting all the nightly build artifacts (the output is piped to a
date-stamped HTML page):


#!/bin/sh
#
====================================================================== ========
# buildShaleNightlyMaven -- Shale Nightly Builds (with Maven)
#
====================================================================== ========

#
====================================================================== ========
# Setup
#
====================================================================== ========

export BUILD_HOME=/home/craigmcc/Build
export CLASSPATH=.
export TSTAMP=`date +%Y%m%d`

echo \<html\>
echo \<head\>
echo \<title\>Shale Nightly Build \(with Maven\) For $TSTAMP\</title\>
echo \</head\>
echo \<body\>
echo \<h1\>Shale Nightly Build \(with Maven\) For $TSTAMP\</h1\>

#
====================================================================== ========
# Update From Subversion Repository
#
====================================================================== ========

echo \<h2\>Update From Subversion Repository\</h2\>
cd $BUILD_HOME/struts/current/shale
echo \<pre\>
svn update
echo \</pre\>

#
====================================================================== ========
# Build and Deploy Framework Artifaces
#
====================================================================== ========

echo \<h2\>Build and Deploy Framework Artifacts\</h2\>
cd $BUILD_HOME/struts/current/shale
echo \<pre\>
mvn clean site install deploy

cd shale-apps
mvn deploy -N
cd ..

cd shale-dist
mvn assembly:assembly
scp target/assembly/out/shale-framework-*.tar.gz \
[EMAIL PROTECTED]
:/www/cvs.apache.org/builds/struts/maven2/shale/shale-framework- $TSTAMP.tar.gz
scp target/assembly/out/shale-framework-*.zip \
[EMAIL PROTECTED]
:/www/cvs.apache.org/builds/struts/maven2/shale/shale-framework- $TSTAMP.zip
cd ..

echo \</pre\>

#
====================================================================== ========
# Build and Deploy Sample Application Artifacts
#
====================================================================== ========

echo \<h2\>Build and Deploy Sample Application Artifacts\</h2\>
cd $BUILD_HOME/struts/current/shale/shale-apps

export APPS="shale-blank shale-clay-usecases shale-mailreader"
export APPS="$APPS shale-sql-browser shale-usecases"

for APP in $APPS; do

 cd $APP
 echo \<h3\>Processing sample application $APP\</h3\>
 echo \<pre\>

 mvn clean install deploy assembly:assembly
 scp target/$APP-*.tar.gz \
   [EMAIL PROTECTED]
:/www/cvs.apache.org/builds/struts/maven2/shale/$APP-$TSTAMP.tar.gz
 scp target/$APP-*.zip \
   [EMAIL PROTECTED]
:/www/cvs.apache.org/builds/struts/maven2/shale/$APP-$TSTAMP.zip

 echo \</pre\>
 cd ..

done

#
====================================================================== ========
# Finish Up
#
====================================================================== ========

echo \<h2\>Job Completed\</h2\>
echo \</body\>
echo \</html\>


In another thread, I think Sean mentioned it's ready to start adding things.


Cool ... if you guys want to set me up as a user no the zone machine as well
(preferably with user id "craigmcc") I can help out directly as well.

I started to update the Shale site yesterday, but I need to know where
the nightly builds/snapshots are going to be so I can link to them.


As you can see from the script above, I started putting them in
"/www/cvs.apache.org/builds/struts/maven2/shale", figuring we could do
parallel updates for "action" into
"/www/cvs.apache.org/builds/struts/maven2/action" and so on.

Thanks,
--
Wendy


Craig


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

Reply via email to