Author: thomas.heute(a)jboss.com
Date: 2008-03-19 17:48:20 -0400 (Wed, 19 Mar 2008)
New Revision: 10338
Added:
modules/common/trunk/releaseLibs.sh
Log:
Copied Chris's script for common module, very helpful :)
Added: modules/common/trunk/releaseLibs.sh
===================================================================
--- modules/common/trunk/releaseLibs.sh (rev 0)
+++ modules/common/trunk/releaseLibs.sh 2008-03-19 21:48:20 UTC (rev 10338)
@@ -0,0 +1,27 @@
+repos=/home/theute/Portal/repo/jboss-portal/modules/common/trunk-SNAPSHOT/lib
+thirdparty=/home/theute/Portal/workspace_2.7/thirdparty/jboss-portal/modules/common/lib/
+
+echo "Copies current version of portlet libraries either to local repository copy or
Portal thirdparty to test or release purpose"
+echo "Usage: '$0' to release to Portal thirdparty, '$0 repos' to
release to repository local copy"
+echo "Set 'repos' variable to the snapshot lib directory for the common
module of your local repository copy"
+echo "Set 'repos' variable to the lib directory for the common module of
your local JBoss Portal 2.7 thirparty directory"
+echo ""
+echo "repos currently set at: $repos"
+echo "thirdparty currently set at: $thirdparty"
+echo ""
+
+if [[ $1 == "repos" ]]; then
+ loc=$repos
+ echo "Releasing to repository"
+elif [[ $1 == "usage" ]]; then
+ echo "Usage shown, nothing was done"
+ exit 0
+else
+ loc=$thirdparty
+ echo "Releasing to Portal thirdparty"
+fi
+
+
+cp common/target/common-common-1.2.0-SNAPSHOT.jar $loc/portal-common-lib.jar
+cp mc/target/common-mc-1.2.0-SNAPSHOT.jar $loc/portal-common-mc-lib.jar
+cp portal/target/common-portal-1.2.0-SNAPSHOT.jar $loc/portal-common-portal-lib.jar
Property changes on: modules/common/trunk/releaseLibs.sh
___________________________________________________________________
Name: svn:executable
+ *
Show replies by date