You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by db...@apache.org on 2005/07/11 06:51:31 UTC
svn commit: r210068 - /geronimo/scripts/publish_build.sh
Author: dblevins
Date: Sun Jul 10 21:51:30 2005
New Revision: 210068
URL: http://svn.apache.org/viewcvs?rev=210068&view=rev
Log:
Build tranql as well. Include source for openejb and tranql.
Modified:
geronimo/scripts/publish_build.sh
Modified: geronimo/scripts/publish_build.sh
URL: http://svn.apache.org/viewcvs/geronimo/scripts/publish_build.sh?rev=210068&r1=210067&r2=210068&view=diff
==============================================================================
--- geronimo/scripts/publish_build.sh (original)
+++ geronimo/scripts/publish_build.sh Sun Jul 10 21:51:30 2005
@@ -83,6 +83,12 @@
#
# The directory will be named geronimo-1.0-SVN_REVISION_NUMBER
svn checkout --revision $SVN_VERSION $SVN_URL/trunk $RELEASE_ID
+
+ # We have some pretty tight snapshot dependencies. You just can't
+ # build geronimo without them. So let's include them too.
+ cp -r openejb $RELEASE_ID/modules/
+ cp -r tranql $RELEASE_ID/modules/
+ cp -r tranql-connector $RELEASE_ID/modules/
# The .svn directories contain a copy of all the files, so we should
# delete them our or source zip and tar files will be twice as big
@@ -175,6 +181,8 @@
function setup {
svn co http://svn.apache.org/repos/asf/geronimo/trunk geronimo
cvs -d:pserver:anon@cvs.openejb.org:/scm/openejb co openejb
+ cvs -d:pserver:anon@cvs.tranql.codehaus.org:/scm/tranql co tranql
+ cvs -d:pserver:anon@cvs.tranql.codehaus.org:/scm/tranql co -d tranql-connector connector
}
[ ! -d geronimo ] || [ ! -d openejb ] && setup
@@ -184,9 +192,15 @@
## that this function will get deleted when running the build via a
## plain 'maven' command is possible without running other builds first.
function build {
- MODULES=$(ls geronimo/{specs,plugins,modules}/*/project.xml openejb/modules/*/project.xml | tr '\n' ',')
- (cd geronimo && svn update) && (cd openejb && cvs -q up -dP) &&
+ MODULES=$(ls geronimo/{specs,plugins,modules}/*/project.xml openejb/modules/*/project.xml tranql{,-connector}/project.xml | tr '\n' ',')
+ (cd geronimo && svn update) &&
+ (cd openejb && cvs -q up -dP) &&
+ (cd tranql && cvs -q up -dP) &&
+ (cd tranql-connector && cvs -q up -dP) &&
maven -Dmaven.{test,itest}.skip=true -Dmaven.multiproject.includes=$MODULES -Dgoal=default multiproject:goal
+ (cd openejb && maven -o clean)
+ (cd tranql && maven -o clean)
+ (cd tranql-connector && maven -o clean)
}
build && publish_build_archives