{style} .panel {-moz-border-radius: 7px; border-radius: 7px;} .panelMacro table {-moz-border-radius: 15px; border-radius: 15px;} {style} |
These instructions describe how to build Weasis directly from the Git repository on any platform. For building Weasis from an IDE, see Plug-in Development Guidelines. |
Prerequisites
If your computer is behind a proxy server, configure maven. |
To clone the repository, first install GIT and either clone using a graphical GIT client (such as Tortoise Git) or directly from the command line using the command:
git clone git://github.com/nroduit/Weasis.git |
This command will copy the current development code (the "master" branch) into a local directory named Weasis.
Note: Sources can also be browsed online or download as a zip file.
Check out a tag version to build a stable version, see tag list.
|
mvn clean install |
cd weasis-distributions mvn clean package |
From 1.1.2 it is possible to use the compression pack200 that reduces jar size considerably. Note: it is recommended to use the Oracle jdk with this option (openjdk can throw packging errors).
|
For using Weasis through Java Webstart, it is required to sign jar files with your own certificate (replace values in the command below by your own values). You can generate one with keytool.
Note: On Mac OS X 10.8 and from JRE 1.7.0_51, a trust-worthy certificate from a certificate authority is now required to run Java Web Start applications without changing the security level of the system. |
mvn clean package -Dportable=true |
To disable single instance in portable version, set windowsName property empty. By default, Windows executable is a single instance application.
|
On 64-bit system, it requires to install the 32-bit compatibility libraries to build the windows executable. On Linux you need to install ia32-libs package. |