I would like to show other people how to create banks from their code so that they can share them with others. In the meantime, I would like to make it as easy as possible for them.
What would be the easiest way to do this?
I get the impression that banks are just .zip files. Thus, you just need to put your classes and manifest in the right folders and use a utility like zip to pin them in the final .jar file.
jar? . , , :
jar
jar cf archive.jar *.class
:
jar cmf ManifestFile archive.jar *.class
, man- .
, , IDE (, Eclipse) JAR-. . , .
jar cvf myapp.jar *
jar ( ). (ant, apb ..)
, . , javac -d <directory> <source classes>
javac -d <directory> <source classes>
, :
javac -d ./classes ./src/mypkg/*.java
classes .
classes
jar jarfile:
jar cvf my-jar.jar ./classes
cvf " ", , jar. , jar , , jar ( my-jar.jar).
cvf
my-jar.jar
jar ( , Java) Java
Mavenize , :
$ mvn package
, deploy (, Nexus). .
Eclipse 3.5, , Export → Java → Runnable jar.
jar, , , java -jar...., MANIFEST.MF .
Source: https://habr.com/ru/post/1721552/More articles:Web project development when working with team members who do not use Visual Studio - visual-studio-2008Могу ли я использовать динамические типы массивов без изменений в качестве параметров Var - delphiSQL: deleting records with invalid foreign keys - sqlIs there a better way to serialize plist-y objects in Objective-C? - objective-cProblem with Golf SQL - sqlПоказывая, что ваше приложение установлено в браузер Android - androidChange screen resolution in Snow Leopard - core-graphicsJQuery hover fadeIn / fadeOut problem - jqueryHow do you write these loops better in Java? - javahttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1721557/is-it-possible-to-add-controls-to-the-existing-reading-pane-in-the-outlook&usg=ALkJrhjUagzR_aUMlGO3DEcv98P7_0mGyQAll Articles