Well, this is one of those times when I have to stand in awe at just how
phenomenally stupid I am. Ant wasn't collapsing or flattening anything. The
directories were collapsed/flattened to begin with in source.
As often happens with matters of this sort, I'm happy to share a little bit
of the blam
Here's a little experiment that reduces the problem to its simplest case.
Suppose for argument's sake I'm not jarring any class files. Here's a
passage that works:
But suppose I change just one small thing. From this:
includes="**/*.java"
To *this*:
includes="**/*.xml
I'm using a fileset as a nested element of the jar Ant task. When the
fileset consists of .class files or .java files, the archiving takes place
correctly:
* com
* mycompany
* myproject
* SomeClass.class
But when the fileset consists of some other kind of file, like XML fil