Last change
on this file since 350 was 350, checked in by bjn8, 16 years ago |
Created some helpful manifest creation scripts
|
-
Property svn:executable
set to
*
|
File size:
551 bytes
|
Line | |
---|
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
|
---|
13 | echo "Manifest-Version: DEV2008" > $1
|
---|
14 | echo "Created-By: Brook Novak" >> $1
|
---|
15 | echo "Main-Class: org.apollo.ApolloSystem" >> $1
|
---|
16 |
|
---|
17 | # Create classpath
|
---|
18 | CLPATH=" ";
|
---|
19 | for j in `ls -1 ../jars | grep "\.jar"`;
|
---|
20 | do
|
---|
21 | CLPATH="$CLPATH jars/$j";
|
---|
22 | done;
|
---|
23 |
|
---|
24 | for j in `ls -1 ../jars_apollo | grep "\.jar"`;
|
---|
25 | do
|
---|
26 | CLPATH="$CLPATH jars_apollo/$j";
|
---|
27 | done;
|
---|
28 |
|
---|
29 | echo "Class-Path:$CLPATH" >> $1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.