Ant Zip - Exclude all files but not two specific files -


i have directory (c:\source) contains (demo1, demo2, demo3) directories , files (xyz.bat, abc.bat, 123.bat, save.exe, save.jar, copy.exe, copy.jar).

i want have following in zip.

demo1 demo3 xyz.bat save.exe save.jar

i want exclude *.jar, *.exe, *.jar need add above mentioned files.

please help.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -