If I am updating the jar file with this command in my ant file: jar -uf system-ejb.jar -C meta-inf . Then the files in the meta-inf directory are copied and updated to the jar file. But the updated files loose the path info. The path does not have the meta-inf folder in it. How do I update the jar file while having the full path maintained. Currenty it gets copied to the base blank location.