hboutemy commented on PR #1726:
URL: https://github.com/apache/maven/pull/1726#issuecomment-2372441140

   > The jar command-line does not create time-stamp entry
   
   that's not the result I get:
   
   ```
   ❯ export LC_ALL=C
   ❯ touch f.txt
   ❯ jar --create --file f.jar f.txt
   ❯ zipdetails f.jar
   
   0000 LOCAL HEADER #1       04034B50
   0004 Extract Zip Spec      14 '2.0'
   0005 Extract OS            00 'MS-DOS'
   0006 General Purpose Flag  0808
        [Bits 1-2]            0 'Normal Compression'
        [Bit  3]              1 'Streamed'
        [Bit 11]              1 'Language Encoding'
   0008 Compression Method    0008 'Deflated'
   000A Last Mod Time         5938BD1B 'Wed Sep 25 01:40:54 2024'
   000E CRC                   00000000
   0012 Compressed Length     00000000
   0016 Uncompressed Length   00000000
   001A Filename Length       0009
   001C Extra Length          0004
   001E Filename              'META-INF/'
   0027 Extra ID #0001        CAFE 'Java Executable'
   0029   Length              0000
   002B PAYLOAD               ..
   
   ...
   ```


-- 
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: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to