monir cleanup of tests, still broken though

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Refactored PathSet into FileSet

Changed BuildContext to consistently use File instances instead
of mixed File and String pathnames.

Introduced FileSet interface that defines sets of files and
renamed PathSet class to DefaultFileSet.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
made DefaultFileSet immutable, introduced FileSetBuilder

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Removed DefaultBuildContextManager context cache

This exposed apparent bug in tracking referenced inputs across
rebuild when corresponding inputs do not change. One of unit
tests is failing.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
got rid of annoying eclipse compiler warnings

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
Fixed referenced inputs lost during no-change rebuild

Consider the following small c/c++ example (the same applies to any
source language that supports notion of "include other source")

   source.c
      -> #include referenced.h
      -> output source.o

BuildState did not correctly track source.c <-> referenced.h
association and referenced.h information was lost during a build
that did not produce source.o output due to build avoidance.

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
minor javadoc cleanup

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>
hid implementation classes

Signed-off-by: Igor Fedorenko <igor@ifedorenko.com>