David Warnock wrote:
>
> Paul Reavis wrote:
>
> > All of which is more complicated than my favorite method, which is to
> > specify a separate .class file directory with the "-d" option (javac or
> > jikes); then it's just
> >
> > rm -r classes\*
>
> Ok, this is neat. Do I get a complete duplicate of my source directories
> for the classes ie classes/uk/co/sundayta ... ?
Yes, automagically created by javac/jikes/etc. And when you're through
compiling, you just
cd classes
jar c0f ../lib/myjar.jar *
and you have just the classes in jarfile format for distribution.
If you put the source directory tree first in your classpath, i.e.,
CLASSPATH=~/java/source:~/java/classes:/usr/local/jdk/lib/classes.zip
then javac/jikes will automagically prefer newer source files to class
files (it may do this anyway, whatever) and can find the source to
compile when it needs it.
--
Paul Reavis [EMAIL PROTECTED]
Design Lead
Partner Software, Inc. http://www.partnersoft.com