Author: chris.laprun(a)jboss.com
Date: 2008-03-13 20:17:58 -0400 (Thu, 13 Mar 2008)
New Revision: 10282
Added:
modules/portlet/trunk/releaseLibs.sh
Log:
Added little script to make it easier to release a new version of module to repository or
test it in Portal
Added: modules/portlet/trunk/releaseLibs.sh
===================================================================
--- modules/portlet/trunk/releaseLibs.sh (rev 0)
+++ modules/portlet/trunk/releaseLibs.sh 2008-03-14 00:17:58 UTC (rev 10282)
@@ -0,0 +1,29 @@
+repos=$HOME/Dev/portal-modules-respo/portlet/trunk-SNAPSHOT/lib
+thirdparty=$HOME/Dev/jboss-portal-2.7/thirdparty/jboss-portal/modules/portlet/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 portlet
module of your local repository copy"
+echo "Set 'repos' variable to the lib directory for the portlet 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 bridge/target/portlet-bridge-2.0.0-SNAPSHOT.jar $loc/portal-portlet-bridge-lib.jar
+cp controller/target/portlet-controller-2.0.0-SNAPSHOT.jar
$loc/portal-portlet-controller-lib.jar
+cp federation/target/portlet-federation-2.0.0-SNAPSHOT.jar
$loc/portal-portlet-federation-lib.jar
+cp jsr168api/target/portlet-jsr168api-2.0.0-SNAPSHOT.jar
$loc/portal-portlet-jsr168api-lib.jar
+cp management/target/portlet-management-2.0.0-SNAPSHOT.jar
$loc/portal-portlet-management-lib.jar
+cp portlet/target/portlet-portlet-2.0.0-SNAPSHOT.jar $loc/portal-portlet-lib.jar
\ No newline at end of file
Property changes on: modules/portlet/trunk/releaseLibs.sh
___________________________________________________________________
Name: svn:executable
+ *