Building Weasis

Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

These instructions describe how to build Weasis directly from the Subversion source repository on any platform. For building Weasis with an IDE, see Plug-in Development Guidelines.

Prerequisites

  1. Subversion (SVN), one of the following client:
    • Subversion - The core system (server, cli client, libs)
    • Subversive - SVN Team Client (Eclipse plugin)
    • TortoiseSVN - Handy SVN client for Windows systems
  2. JDK 6 or higher (Sun or OpenJDK)
  3. Maven 2.2 or higher for building and deploying bundles (http://maven.apache.org/guides/index.html)

Building Weasis from released plug-ins

Not yet available
This method will available after the 1.0.6 release.

Check out the last tag version (below it is 1.0.6). "weasis-framework-builder" builds a web distribution (weasis.war and weasis.zip, to be placed on a web server).

svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/weasis/weasis_framework/tags/weasis-framework-1.0.6/weasis-builder/weasis-framework-builder
  • For using Weasis through Java Webstart, it is required to sign jar files with your own certificate. You can generate one with keytool.
cd weasis-framework-builder
mvn clean package -Djarsigner.alias="your_alias" -Djarsigner.storepass="your_pwd" -Djarsigner.keystore="/etc/keystore"
  • The distribution files are located in the target/dist folder.

Building Weasis from source

Getting the Source

To check out the code, first install Subversion and either checkout the trunk branch using a graphical Subversion client (such as TortoiseSVN) or directly from the command line using the command:

svn co https://dcm4che.svn.sourceforge.net/svnroot/dcm4che/weasis/weasis_framework/trunk weasis-framework

This command will copy the current development code (the "trunk") into a local directory named weasis-framework.

Note: Sources can also be browsed online

Building all Plug-ins

  • Go in the weasis-framework directory
cd weasis-framework
  • Compile and install all the plug-ins in the local Maven repository
mvn clean install

Building Weasis Distributions

  • Requires to install all the plug-ins in the local Maven repository (see above).
  • For using Weasis through Java Webstart, it is required to sign jar files with your own certificate. You can generate one with keytool.
cd weasis-framework-builder
mvn clean package -Djarsigner.alias="your_alias" -Djarsigner.storepass="your_pwd" -Djarsigner.keystore="/etc/keystore"
  • The distribution files are located in the target/dist folder.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.