I have several JAR files that I have to add to the classpath in Eclipse.
Is it possible to combine 30 files into one file and include this file?
You might want to watch jarjar .
If you use the ant task, you can also go to zipgroupfileset:
zipgroupfileset
<zip destfile="jarlibrary.jar"> <zipgroupfileset dir="lib" includes="*.jar"/> </zip>
You can, but I don’t think it would be nice to do it. Three possible causes, and undoubtedly more of them:
, jar .
:
. ,
jarjar - , .
, , , Ant, jarjar eclipse.
-, . JAR - ZIP . , zip ( WinZip ), *.jar( ) .
, , , , , jar ( ). manfest.mf . , , , .
, . JarJar.
: ? maven, lib . eclipse, 2-3 . .
maven, pom.xml, , mvn eclipse:eclipse. .classspath .project. .
mvn eclipse:eclipse
Jar files are just ZIP files, so you can try to unzip all the jars, put all the files together, and then ZIP files again.
Source: https://habr.com/ru/post/1794087/More articles:Silverlight Shared Data Binding Accordion - data-bindingJPA: applicationManaged EntityManager for Java SE for programmatic transaction lifecycle management - hibernateStrange code execution: execution begins in the middle of a while! - delphiПочему директива кодирования JSP-страницы должна быть первой строкой в JSP? - javaiPhone: how to show only a specific folder inside my application iTunes document catalog - cocoa-touchDatabase Schema Ambiguous pointer to tooltip - sql-server-2008install NSWindow focus - objective-crewriting a URL without a page name - c #displaying a dialog by pressing a button in android - androidjavascript command 'mailto' - javascriptAll Articles