Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Wiki Markup
{style}
.panel {-moz-border-radius: 7px;
border-radius: 7px;}
.panelMacro table {-moz-border-radius: 15px;
border-radius: 15px;}
{style}


Panel
borderColor2

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

  1. JDK 6 8 or higher (Sun or OpenJDK)
  2. Maven 2.2 3 or higher (http://maven.apache.org/guides/index.html)

    Note

    If your computer is behind a proxy server, configure maven.


  3. Git (or directly download source from gitub), one of the following client:
    • CLI on Linux or Mac OS X -  Install git-core package
    • Windows - Tortoise Git - (When installing msysgit be sure to choose Unix style line endings)
    • Eclipse - Install egit
    github)

Getting the Source

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:

Code Block
none
none
git clone githttps://github.com/nroduit/Weasis.git

...

  • Requires to install all the plug-ins in the local Maven repository (see above Building all Plug-ins).

    Code Block
    none
    none
    cd weasis-distributions
    mvn clean package
    


    Tip
    titlepack200 compression

    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).

    Code Block
    none
    none
    mvn clean package -P pack200
    



    Warning
    titleFor the WEB distribution

    For using Weasis through Java Webstart, it is required to sign jar files with your own certificate (by replacing values in the command below by your own values). A trust-worthy certificate from a certificate authority is now r equired required to run Java Web Start applications. A self signed certificate generate by keytool will always display a security warning message.
    The parameters must be placed in the maven user setting or has to be the options in the Maven command:

    Code Block
    none
    none
    mvn clean package -Djarsigner.alias="your_alias" -Djarsigner.storepass="your_pwd" -Djarsigner.keystore="your_path/keystore"
    



...