Author: chris.laprun(a)jboss.com
Date: 2009-01-12 18:34:03 -0500 (Mon, 12 Jan 2009)
New Revision: 12472
Added:
modules/test/trunk/releaseLibs.sh
Log:
Added script to help releasing new versions of module. Still needs work.
Added: modules/test/trunk/releaseLibs.sh
===================================================================
--- modules/test/trunk/releaseLibs.sh (rev 0)
+++ modules/test/trunk/releaseLibs.sh 2009-01-12 23:34:03 UTC (rev 12472)
@@ -0,0 +1,43 @@
+repos=$HOME/Dev/portal-modules-repos/test/trunk-SNAPSHOT/lib
+thirdparty=$HOME/Dev/jboss-portal-2.7/thirdparty/jboss-portal/modules/test/lib/
+
+echo "Copies current version of test 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
+
+
+echo "Old test framework"
+cp test/jboss/target/portal-test-jboss-*-SNAPSHOT.jar $loc/portal-test-jboss-lib.jar
+cp test/agent/target/portal-test-agent-*-SNAPSHOT.sar $loc/portal-test-agent.sar
+cp test/core/target/portal-test-*-SNAPSHOT.jar $loc/portal-test-lib.jar
+cp test/generic/target/portal-test-generic-*-SNAPSHOT.jar
$loc/portal-test-generic-lib.jar
+cp test/jboss/target/portal-test-jboss-*-SNAPSHOT.jar $loc/portal-test-jboss-lib.jar
+
+echo "Missing opends???"
+
+echo "JBoss Unit: old tooling is replaced by tooling-ant, tooling-core and
tooling-maven2"
+cp unit/target/jboss-unit-*-SNAPSHOT.jar $loc/jboss-unit-lib.jar
+cp mc/target/jboss-unit-mc-*-SNAPSHOT.jar $loc/jboss-unit-mc-lib.jar
+cp remote/target/jboss-unit-remote-*-SNAPSHOT.jar $loc/jboss-unit-remote-lib.jar
+cp tooling/ant/target/jboss-unit-tooling-ant-*-SNAPSHOT.jar
$loc/jboss-unit-tooling-ant-lib.jar
+cp tooling/core/target/jboss-unit-tooling-core-*-SNAPSHOT.jar
$loc/jboss-unit-tooling-core-lib.jar
+cp tooling/maven2/target/jboss-unit-tooling-maven2-*-SNAPSHOT.jar
$loc/jboss-unit-tooling-maven2-lib.jar
+
+echo "Resources"
+cp test/core/resources/config/*.xml $loc/../resources/
Property changes on: modules/test/trunk/releaseLibs.sh
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:eol-style
+ native
Show replies by date