Last change
on this file since 8172 was 8172, checked in by davidb, 20 years ago |
top level scripts to help build GLI applet (both unsigned and signed).
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
956 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ ! -d classes/org ] ; then
|
---|
4 | echo "Compiled version of Java code missing: classes/org does not exist"
|
---|
5 | exit 1;
|
---|
6 | else
|
---|
7 | echo "Assuming that Java code is freshly compiled ..."
|
---|
8 | fi
|
---|
9 |
|
---|
10 | if [ ! -d libexpand ] ; then
|
---|
11 | mkdir libexpand
|
---|
12 | cd lib
|
---|
13 | jar xvf activation.jar com javax
|
---|
14 | jar xvf apache.jar com org
|
---|
15 | jar xvf jp.jar jp
|
---|
16 | jar xvf mail.jar com javax
|
---|
17 | # jar xvf parser.jar
|
---|
18 | jar xvf polloxml.jar org
|
---|
19 | jar xvf qfslib.jar de
|
---|
20 |
|
---|
21 | /bin/mv com de javax jp org ../libexpand/.
|
---|
22 | cd ..
|
---|
23 | fi
|
---|
24 |
|
---|
25 | if [ ! -d orgmerge ] ; then
|
---|
26 | mkdir orgmerge
|
---|
27 | else
|
---|
28 | /bin/rm -rf orgmerge/org
|
---|
29 | fi
|
---|
30 |
|
---|
31 | # Can't have two different org directories in jared-up sequence
|
---|
32 | # => merge them on the file system
|
---|
33 |
|
---|
34 | /bin/mv classes/org orgmerge/.
|
---|
35 | /bin/cp -r libexpand/org orgmerge/.
|
---|
36 |
|
---|
37 | jar cvf GLI.jar .java.policy metadata.zip collect.zip \
|
---|
38 | plugins.dat classifiers.dat help \
|
---|
39 | -C classes . \
|
---|
40 | -C libexpand com -C libexpand de -C libexpand javax -C libexpand jp \
|
---|
41 | -C orgmerge org
|
---|
42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.