Last change
on this file since 1434 was 484, checked in by davidb, 11 years ago |
Minor tweak to refect where the script is run from
|
-
Property svn:executable
set to
*
|
File size:
665 bytes
|
Rev | Line | |
---|
[350] | 1 | #
|
---|
| 2 | # Auto creates Apollos manifest ... keeps classpath up to date
|
---|
| 3 | # By Brook Novak
|
---|
| 4 | #
|
---|
| 5 |
|
---|
| 6 | argc=$#
|
---|
| 7 | if [ $argc != "1" ] ; then
|
---|
| 8 | echo "Usage: $0 <manifest-filename>"
|
---|
| 9 | exit -1
|
---|
| 10 | fi
|
---|
| 11 |
|
---|
| 12 | # Write header
|
---|
[484] | 13 | echo "Manifest-Version: Dev-2013" > $1
|
---|
| 14 | echo "Created-By: Brook Novak and David Bainbridge" >> $1
|
---|
[350] | 15 | echo "Main-Class: org.apollo.ApolloSystem" >> $1
|
---|
[484] | 16 | echo "Permissions: all-permissions" >> $1
|
---|
| 17 | echo "Application-Name: Expeditee" >> $1
|
---|
[350] | 18 |
|
---|
| 19 | # Create classpath
|
---|
| 20 | CLPATH=" ";
|
---|
[484] | 21 | for j in `ls -1 ../releases/jars | grep "\.jar"`;
|
---|
[350] | 22 | do
|
---|
| 23 | CLPATH="$CLPATH jars/$j";
|
---|
| 24 | done;
|
---|
| 25 |
|
---|
| 26 | for j in `ls -1 ../jars_apollo | grep "\.jar"`;
|
---|
| 27 | do
|
---|
| 28 | CLPATH="$CLPATH jars_apollo/$j";
|
---|
| 29 | done;
|
---|
| 30 |
|
---|
| 31 | echo "Class-Path:$CLPATH" >> $1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.