chrisrueger opened a new pull request, #103:
URL: https://github.com/apache/freemarker/pull/103

   - e.g. all files now have fixed timestamp of '02-01-1980 00:00'  and fixed 
permissions
   - furthermore OSGi MANIFEST.MF has no timestamped attributes
   
   **Before this change:**
   
   ```
   unzip -l freemarker-gae-2.3.33-SNAPSHOT.jar 
   Archive:  freemarker-gae-2.3.33-SNAPSHOT.jar
     Length      Date    Time    Name
   ---------  ---------- -----   ----
           0  12-22-2023 19:25   META-INF/
        5935  12-22-2023 19:25   META-INF/MANIFEST.MF
       11358  10-08-2022 22:17   META-INF/LICENSE
           0  12-22-2023 19:25   freemarker/
           0  12-22-2023 19:25   freemarker/cache/
        1025  12-22-2023 19:25   freemarker/cache/AndMatcher.class
   
   ```
   
   **After this change:**
   
   ```
   unzip -l freemarker-gae-2.3.33-SNAPSHOT.jar
   Archive:  freemarker-gae-2.3.33-SNAPSHOT.jar
     Length      Date    Time    Name
   ---------  ---------- -----   ----
           0  02-01-1980 00:00   META-INF/
        5833  02-01-1980 00:00   META-INF/MANIFEST.MF
       11358  02-01-1980 00:00   META-INF/LICENSE
           0  02-01-1980 00:00   freemarker/
           0  02-01-1980 00:00   freemarker/cache/
        1025  02-01-1980 00:00   freemarker/cache/AndMatcher.class
   ```
   
   Also there are differences in the MANIFEST.MF
   
   <img width="1570" alt="image" 
src="https://github.com/apache/freemarker/assets/188422/bb239e1a-bc98-424f-9ef7-d8ac3cba2c23";>
   
   
   
   Attached 2 files before.txt and after.txt to compare the outputs.
   MANIFEST.MF is the [printable output from the jarviewer of 
bndtools](https://bndtools.org/manual/jareditor.html#print) which produces a 
nice readable output.
   
   
[after.txt](https://github.com/chrisrueger/freemarker/files/13759960/after.txt)
   
[before.txt](https://github.com/chrisrueger/freemarker/files/13759961/before.txt)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to