If a file is less than two seconds newer than theĮntry in the archive, Ant will not consider it newer. Note that ZIP files store file modification times with a granularity When set to no (theĭefault) the JAR file is overwritten. The update parameter controls what happens if the JARįile already exists. If the manifest is omitted, a simple one will be supplied by Apache Ant. See the Zip task for more details and examples. The extended fileset and groupfileset child elements from the zip task are Multiple ones to merge together different trees of files into one JAR. ![]() You can also use nested file sets for more flexibility, and specify ![]() ( dir becomes basedir) as well as the nested Inclusion/exclusion of files works, and how to write patterns. See the section on directory based tasks, on how the Andįinally with the defaultexcludes attribute, you can specify whether you The exclude or excludesfile attribute is used to specify With the includes or includesfile attribute you specify the files you want to ![]() This can beĭone with the includes, includesfile, excludes, excludesfile and defaultexcludesĪttributes. It is possible to refine the set of files that are being jarred. Note that file permissions will not be stored in the resulting jarfile. The basedir attribute is the reference directory from where to jar.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |