![]() You could add, preserve, or fail the duplicate files.Īdvises Ant to not include these comma separated list of files in the package. ![]() While the compress attribute is applicable to the individual files, the keepcompression attribute does the same thing, but it applies to the entire archive.Īdvises Ant on what to do when duplicate files are found. By default, this is set to the base directory of the project.Īdvises Ant to compress the file as it creates the JAR file. The base directory for the output JAR file. The commonly used attributes of the jar task are as follows − Sr.No Creating JAR files with Ant is quite easy with the jar task. The next logical step after compiling your java source files, is to build the java archive, i.e., the Java Archive (JAR) file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |