The Android Open Source Project | 52d4c30 | 2009-03-03 19:29:09 -0800 | [diff] [blame] | 1 | #!/bin/bash |
2 | |||||
3 | if [ ! -d development ]; then | ||||
4 | echo "Error: Run from the root of the tree." | ||||
5 | exit 1 | ||||
6 | fi | ||||
7 | |||||
8 | idegenjar=`find out -name idegen.jar -follow | grep -v intermediates` | ||||
9 | if [ "" = "$idegenjar" ]; then | ||||
10 | echo "Couldn't find idegen.jar. Please run make first." | ||||
11 | else | ||||
12 | java -cp $idegenjar Main | ||||
13 | fi |