Last change
on this file since 43 was
41,
checked in by waue, 16 years ago
|
give commits
|
-
Property svn:executable set to
*
|
File size:
469 bytes
|
Rev | Line | |
---|
[39] | 1 | #!/bin/bash |
---|
| 2 | # Save the script in ~/bin/ and set it the mode "755" |
---|
| 3 | # |
---|
| 4 | |
---|
[41] | 5 | # change these two parameters to yours |
---|
[39] | 6 | CODE_DIR=~/workspace/sample |
---|
| 7 | TRAC_DIR=~/workspace/trac_svn/cloud/sample/hadoop-0.16 |
---|
| 8 | |
---|
[41] | 9 | ######################################### |
---|
[39] | 10 | printf "copy $CODE_DIR to $TRAC_DIR \n" |
---|
| 11 | cp -ruf $CODE_DIR/*.java $TRAC_DIR |
---|
| 12 | |
---|
| 13 | cd $TRAC_DIR |
---|
[41] | 14 | # if you want to delete any class files |
---|
| 15 | # $> find ./ -name "*.class" |xargs rm |
---|
[39] | 16 | |
---|
| 17 | printf "Svn start ... \n " |
---|
| 18 | svn update |
---|
| 19 | svn add --force ./ |
---|
| 20 | svn ci |
---|
Note: See
TracBrowser
for help on using the repository browser.