通过'JAR'和'Archive File'方法导出文件之间的区别 - Eclipse

时间:2022-12-15 19:29:12

Is there any difference between exporting a jar file through JAR and Archive File options in eclipse?

在eclipse中通过JAR和Archive File选项导出jar文件有什么区别吗?

I am maintaining proper folder structure for a jar file (package structures) during export through Archive file option and I do not need any manifest file.

我在导出期间通过存档文件选项维护jar文件(包结构)的正确文件夹结构,我不需要任何清单文件。

1 个解决方案

#1


0  

With jar eclipse will flatten your project so if you have several source folders, all of them will appear in the top directory of the jar. Archive will maintain the structure of your project as it is.

使用jar eclipse将展平你的项目,所以如果你有几个源文件夹,它们都将出现在jar的顶层目录中。存档将保持项目的结构不变。

#1


0  

With jar eclipse will flatten your project so if you have several source folders, all of them will appear in the top directory of the jar. Archive will maintain the structure of your project as it is.

使用jar eclipse将展平你的项目,所以如果你有几个源文件夹,它们都将出现在jar的顶层目录中。存档将保持项目的结构不变。