I want to take a set of files (or a jar) and add them to an existing war. That may be fairly straight forward but I would also like to: 1) Write an audit log into the war with a list of the files I added or updated. 2) Read the audit log from the war at a later date so that I can uninstall those changes.
I’ve decided to extract both the source zip and destination war to working directories. Essentially, I want to do a “diff” between the 2 directories. If a source file is new then its an “addition”, if it exists then I’ll “update” it. I see Gradle has a “sync” task but I’m guessing no “diff”.