开发者

How to include jars in manifest file automatically

开发者 https://www.devze.com 2023-02-19 04:37 出处:网络
I am working with not web based application which uses bunch of external jars, we are few developers on this project and constantly add, remove jars each time jar is being added or removed we manually

I am working with not web based application which uses bunch of external jars, we are few developers on this project and constantly add, remove jars each time jar is being added or removed we manually update manifest.mf file. Is there any way to add jar to manifest automatically as soon as it added to a project (.classpath)? I 开发者_开发百科am using Eclipse IDE.


Well, since you seem to use maven, why don't you just let maven (the maven jar plugin) create the manifest for you?


I don't use eclipse, but with netbeans, you don't ever have to edit manifest files. If you still have to edit manifest files in an IDE like eclipse, then I am sure you are not using the IDE well. The IDE should handle dependencies for you without you knowing

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号