X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2Fbuilding.html;h=8307ee31ba646a7749c6089204242dae991a4937;hb=c67b28d36c11c8d5a7a25921c57f9c30f1855589;hp=2ca2641cf8ed0056f77698cabe7a020a71e524b5;hpb=91cf2210f6440d85c8a488c1bd18b0d3feb93f19;p=jalview.git diff --git a/doc/building.html b/doc/building.html index 2ca2641..8307ee3 100644 --- a/doc/building.html +++ b/doc/building.html @@ -712,7 +712,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 @@ -727,7 +727,7 @@ java -jar getdown-launcher.jar . jalview
The method here is described in terms of using a command line. You can easily do this on linux or in a Terminal window in macOS. You can do it in Windows.
@@ -883,15 +883,16 @@ using and all of the supporting libraries inj11lib/*.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
withBuild the shadow jar file in
build/libs/jalview-all-VERSION-j11.jar
with-gradle shadowJar
and run it with
-java -jar build/lib/jalview-all-11.jar +
NB
+VERSION
will be replaced with a version number or "DEVELOPMENT
" or "TEST
" depending on how the branch is set up.Run it with
+java -jar build/libs/jalview-all-VERSION-j11.jar
Because no arguments are required, most OSes will associate a
.jar
file with thejava
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 launchjalview-all-11.jar
+unzip) as a-jar
argument so you may find you can launchjalview-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 @@ -1121,7 +1122,7 @@ list of media types (i.e. platform specific installers) install4j shoulWe develop in Eclipse, and support settings to develop and save Jalview source code in our preferred style. We also support running the Jalview application, debugging and running tests with TestNG from within Eclipse.
-To get Jalview set up as a project in Eclipse, we recommend using at least the 2019-12 +
To get Jalview set up as a project in Eclipse, we recommend using at least the 2020-03 version of Eclipse IDE for Java Developers which you can download from the Eclipse website: https://www.eclipse.org/downloads/. Since Eclipse 2020-03 you are encouraged to use the Eclipse Installer (see the Eclipse Downloads page). In the installer, when given a choice of packages for Eclipse you should choose the "Eclipse IDE for Enterprise Java Developers" package.
@@ -1142,7 +1143,7 @@ In the installer, when given a choice of packages for Eclipse you should chooseAt time of writing, TestNG for Eclipse does not show up in the Eclipse Marketplace -as the latest released version does not install in Eclipse 2019-03. +as the latest released version does not install in Eclipse 2020-03. However, you can install a working release of TestNG for Eclipse by going to
Help->Install New Software...
and entering
@@ -1165,6 +1166,10 @@ as the default JRE and click on Apply and Close.Importing Jalview as an Eclipse project
Importing an already downloaded git repo
If you have already downloaded Jalview using
+git clone
then you can import this folder into Eclipse directly.Before importing the cloned git repo you must create the Eclipse project files. You can do this by either running
++
gradle eclipse
or
+Unzipping the file
utils/eclipse/eclipse_startup_files.zip
in the base repo directory (jalview
)It is important to import Jalview as a Gradle project (not as a Java project), so go to
File->Import...