source: trunk/makeFiles/CreateApolloManifest.sh

Last change on this file 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
Line 
1#
2# Auto creates Apollos manifest ... keeps classpath up to date
3# By Brook Novak
4#
5
6argc=$#
7if [ $argc != "1" ] ; then
8 echo "Usage: $0 <manifest-filename>"
9 exit -1
10fi
11
12# Write header
13echo "Manifest-Version: Dev-2013" > $1
14echo "Created-By: Brook Novak and David Bainbridge" >> $1
15echo "Main-Class: org.apollo.ApolloSystem" >> $1
16echo "Permissions: all-permissions" >> $1
17echo "Application-Name: Expeditee" >> $1
18
19# Create classpath
20CLPATH=" ";
21for j in `ls -1 ../releases/jars | grep "\.jar"`;
22 do
23 CLPATH="$CLPATH jars/$j";
24 done;
25
26for j in `ls -1 ../jars_apollo | grep "\.jar"`;
27 do
28 CLPATH="$CLPATH jars_apollo/$j";
29 done;
30
31echo "Class-Path:$CLPATH" >> $1
Note: See TracBrowser for help on using the repository browser.