X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2Fbuilding.html;fp=doc%2Fbuilding.html;h=28206a6ae56639a0a719c241df54b5cadf96f7a2;hb=f3dcb2f8f602117ac390799b1f310dcaa9918592;hp=c128e2df0dae1dc6043a44017fe9fd62cd93c8df;hpb=d465aa924dae06b94ecaa229c74dc7ee6404df45;p=jalview.git diff --git a/doc/building.html b/doc/building.html index c128e2d..28206a6 100644 --- a/doc/building.html +++ b/doc/building.html @@ -775,7 +775,7 @@ git clone http://source.jalview.org/git/jalview.git cd jalview gradle shadowJar # run -java -jar build/libs/jalview-all-11.jar +java -jar build/libs/jalview-all-*-j11.jar # and/or create launcher gradle getdown @@ -964,11 +964,12 @@ brew cask install adoptopenjdk11
The shadow jar file is a single .jar
that contains all required classes and resources from jalview.jar
and all of the supporting libraries in j11lib/*.jar
merged into one .jar
archive file. A default launching class (MAIN-CLASS: jalview.bin.Launcher
) is specified in the .jar
manifest file (META/MANIFEST.MF
) so a start class doesnât need to be specified.
Build the shadow jar file in build/lib/jalview-all-11.jar
with
Build the shadow jar file in build/libs/jalview-all-VERSION-j11.jar
with
and run it with
- -Because no arguments are required, most OSes will associate a .jar
file with the java
application (if this has been installed through the OS and not just a local unzip) as a -jar
argument so you may find you can launch jalview-all-11.jar
just by double-clicking on it)!
NB VERSION
will be replaced with a version number or âDEVELOPMENT
â depending on how the branch is set up.
Run it with
+ +Because no arguments are required, most OSes will associate a .jar
file with the java
application (if this has been installed through the OS and not just a local unzip) as a -jar
argument so you may find you can launch jalview-all-VERSION-j11.jar
just by double-clicking on it)!
The
shadowJar
task is not a requirement for any other task, so to build the shadow jar file you must specify theshadowJar
task.