#!/bin/bash # # listInlcudedClasses # # To generate a list of the needed class files. First generate -verbose output for a # complete build (i.e., ensure that you clean out ALL .class files first to avoid javac # skipping some compiles and therefore not listing them) of the java applet using: # # javac -verbose -d bin >& bin/out.txt # # for the SoundApplet.jar, I use sound/applet/src/ca/carleton/gcrc/atlas/*.java as the # base set of java files. Then run this script on the generated out.txt file: # # listIncludedClasses bin out.txt # # Author: Glenn Brauen / June 24, 2005 / creation. # # generate the script to find the required class set by processing # the output from the "javac -verbose" command. echo "ca/carleton/gcrc/atlas/*.class" echo "com/jcraft/jogg/*.class" echo "com/jcraft/jorbis/*.class" ./genClassesList.pl -c $1 -f $2