Bert, I have a problem here. Your java program copies the pdf file & created image to a new subfolder, but no manifest.xml is written.

:
system: Windows XP SP2, JRE 1.5
[Edit I] Same problem with dirs. Files are copied to "dir_content" sub dir, no manifest.xml was written.
[Edit II] I removed all maybe special characters in filenames & text for manifest.xml -> no other result; ok, this was not the crux.