Author: thomas.heute(a)jboss.com
Date: 2008-05-05 06:25:35 -0400 (Mon, 05 May 2008)
New Revision: 10739
Added:
modules/common/branches/JBP_COMMON_BRANCH_1_1/releaseLibs.sh
Log:
Adding script`
Added: modules/common/branches/JBP_COMMON_BRANCH_1_1/releaseLibs.sh
===================================================================
--- modules/common/branches/JBP_COMMON_BRANCH_1_1/releaseLibs.sh
(rev 0)
+++ modules/common/branches/JBP_COMMON_BRANCH_1_1/releaseLibs.sh 2008-05-05 10:25:35 UTC
(rev 10739)
@@ -0,0 +1,27 @@
+repos=$HOME/Dev/portal-modules-respo/common/trunk-SNAPSHOT/lib
+thirdparty=$HOME/Dev/jboss-portal-2.7/thirdparty/jboss-portal/modules/common/lib/
+
+echo "Copies current version of common 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 'thirdparty' 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. Don't forget to update component-info.xml with
revision number."
+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.1-SNAPSHOT.jar $loc/portal-common-lib.jar
+cp mc/target/common-mc-1.1-SNAPSHOT.jar $loc/portal-common-mc-lib.jar
+cp portal/target/common-portal-1.1-SNAPSHOT.jar $loc/portal-common-portal-lib.jar
Property changes on: modules/common/branches/JBP_COMMON_BRANCH_1_1/releaseLibs.sh
___________________________________________________________________
Name: svn:executable
+ *
Show replies by date