Skip to content

Commit

Permalink
Fixed to work.
Browse files Browse the repository at this point in the history
git-svn-id: http://codeswarm.googlecode.com/svn/trunk@239 eda9c206-d64f-0410-a2f2-67f3fa0499ed
  • Loading branch information
nawglan committed Aug 10, 2008
1 parent 71d88d9 commit ff2c113
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions runrepositoryfetch.sh
Expand Up @@ -19,7 +19,7 @@ if [ $# = 0 ]; then
else else
if [ $1 == "-h" ] || [ $1 == "--help" ]; then if [ $1 == "-h" ] || [ $1 == "--help" ]; then
# if help needed, print it and exit # if help needed, print it and exit
echo "usage: run.sh <configfile>" echo "usage: $0 <configfile>"
echo "" echo ""
echo " data/sample.config is the default config file" echo " data/sample.config is the default config file"
echo "" echo ""
Expand All @@ -35,9 +35,8 @@ if [ ! -f $code_swarm_jar ]; then
echo "needing to build it with 'ant' and 'javac' (java-sdk)" echo "needing to build it with 'ant' and 'javac' (java-sdk)"
echo "" echo ""
echo "auto-trying the ant command..." echo "auto-trying the ant command..."
if ant; then ant
echo "" if [[ $? -ne 0 ]]; then
else
echo "" echo ""
echo "ERROR, please verify 'ant' and 'java-sdk' installation" echo "ERROR, please verify 'ant' and 'java-sdk' installation"
echo -n "press a key to exit" echo -n "press a key to exit"
Expand All @@ -48,7 +47,8 @@ if [ ! -f $code_swarm_jar ]; then
fi fi


# running # running
if java -Xmx1000m -classpath dist/code_swarm.jar;lib/core.jar;lib/xml.jar;lib/vecmath.jar;lib/svnkit.jar;lib/swing-layout-1.0.3.jar;. MainView $params then java -Xmx1000m -classpath dist/code_swarm.jar:lib/core.jar:lib/xml.jar:lib/vecmath.jar:lib/swing-layout-1.0.3.jar:lib/svnkit.jar:. MainView $params
if [[ $? -ne 0 ]]; then
# always on error due to no "exit buton" on rendering window # always on error due to no "exit buton" on rendering window
echo "bye" echo "bye"
# echo -n "error, press a key to exit" # echo -n "error, press a key to exit"
Expand Down

0 comments on commit ff2c113

Please sign in to comment.