changed to ignore whole doc folder

rules will be ignored for doc folder, due to having .class and some
other files that should normally being ignored
ant build file

added ant build file and its output to the doc folder