Too long line in manifest file while trying to create jar

后端 未结 5 864
北荒
北荒 2021-01-04 02:22

I am getting a too long line error while trying to build a jar. the long line in the manifest file is the Class-Path line as the application uses a lot of third-party libra

5条回答
  •  自闭症患者
    2021-01-04 02:36

    The multi-space solutions up there didn't work for me for some reason. So I looked at how Eclipse's export-runnable-jar dialog does it. It adds an Ascii "LF" and then a space as a linebreak. In Java: char LF = (char) 0x0A;

提交回复
热议问题