I have a jar file which has two class files per java file.
Java:
Foo.java
Bar.java
Classfile:
Foo.class
Foo.class
Bar.c
I think I found the problem. This is the jar task:
As I read in the Ant website
This task forms an implicit FileSet and supports most attributes of (dir becomes >basedir) as well as the nested , and elements.
So it would seem that either the tag or basedir is uneccessary. At least it works.fine if I comment out the fileset tag.
Thanks for your help and pointers!