Jar file ADD DIRECTORY ENTRIES Eclipse option while exporting jar

后端 未结 3 1922
名媛妹妹
名媛妹妹 2020-12-19 05:35

I don\'t whether I am asking correct question or not but want to clear my doubt.

Actually I came across the scenario of referring class files from jar file. I mean to

3条回答
  •  一个人的身影
    2020-12-19 06:21

    If you look at the jar file with 7-zip or something similar, you can see that there is a "D" attribute for the folders when "Add directory entries" is selected. These attributes do not exist when that that option does not exist. Your compare was probably comparing the contents of the files within the jar file and wasn't looking at the jar file attributes.

提交回复
热议问题