Friday, October 25, 2002 02:01 AM
Hello, I'm wondering if there is any way to extract only specified files (using patterns) from a jar file with ant, in a OS-independent way (avoid using exec -task to call "bin/jar, jar.exe etc.")
unjar/unzip etc. extracts _all_ files, which is not what I need. unjar should really have accepted filepatterns on which files to extract IMHO.
Is there any posibility to call sun.tools.jar.Main with arguments via a java-task to do this? How?