public static void storeProperties ( ZipOutputStream outZip , ZipEntry cadmiumPropertiesEntry , Properties cadmiumProps , List < String > newWarNames ) throws IOException { ZipEntry newCadmiumEntry = new ZipEntry ( cadmiumPropertiesEntry . getName ( ) ) ; outZip . putNextEntry ( newCadmiumEntry ) ; cadmiumProps . store ( outZip , "Initial git properties for " + newWarNames . get ( 0 ) ) ; outZip . closeEntry ( ) ; }
Adds a properties file to a war .