update script can be executed in respective server directory to update plugins from maven-repositories

This commit is contained in:
trac authored and Axel Uhl committed 2011-06-12 12:40:41 +02:00
1 parent 933319b155
commit ea23a24cfc
1 file changed
+8
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
branch=`basename \`pwd\` | sed -e 's/[12]$//'`
echo Branch: $branch
branchMavenRepository=~/maven-repositories/$branch
echo Maven repository for branch: $branchMavenRepository
echo Copying all JAR files from Maven repository to branch server\s plugin directory...
find $branchMavenRepository -name '*.jar' -exec cp -v "{}" ./plugins \;
echo Done.