Moved MailMessage from com.oreilly.servlet to org.apache.tools.mail(imitating org.apache.tools.tar). Also made it pure copyright ASF.For those interested in legalities, my understanding is I'm grantingthe ASF copyright on this code but have my own copyright on the codeas it existed before the grant. That means I can include my own codein my book without following the Apache license, but I can't useimprovements to the ASF code without following the Apache license(as is perfectly appropriate).Changed build.xml to no longer build com/**.-jh-PR:Obtained from:Submitted by:Reviewed by:
Added MailMessage. Hope people don't mind that I left it incom.oreilly.servlet. I did that since it's going to be a mirrorof what's in the larger com.oreilly.servlet package. I putit under the Apache license of course, and added the ASF as anadditional copyright holder. Code can have two copyright holders,meaning either party can do as they wish with the code. This letsthe ASF upgrade to Apache License 1.2 sometime in the future, andlets me be able to use the code without thanking the ASF for codeI wrote. :-) Updated build.xml to handle the new package.
Stopped the script from blowing away the JAVA_HOME/JAVA/JAVAC/CLASSPATH values.Without this fix it didn't work on my NT JDK 1.3b system. I've tested thecurrent script on JDK 1.3b and JDK 1.2 and it now respects JAVA_HOME.