webui

A web-based user interface for the DAISY Pipeline 2.

License

License

GroupId

GroupId

org.daisy.pipeline
ArtifactId

ArtifactId

webui
Last Version

Last Version

2.7.0
Release Date

Release Date

Type

Type

play2
Description

Description

webui
A web-based user interface for the DAISY Pipeline 2.
Project URL

Project URL

https://github.com/daisy/pipeline-webui
Project Organization

Project Organization

The DAISY Consortium
Source Code Management

Source Code Management

https://github.com/daisy/pipeline-webui

Download webui

Dependencies

compile (20)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.6
com.typesafe.play : play-enhancer jar 1.1.0
com.typesafe.play : twirl-api_2.11 jar 1.1.1
com.typesafe.play : play-ebean_2.11 jar 1.0.0
com.typesafe.play : play-server_2.11 jar 2.4.1
com.typesafe.play : play-java_2.11 jar 2.4.1
com.typesafe.play : play-netty-server_2.11 jar 2.4.1
com.typesafe.play : play-java-jdbc_2.11 jar 2.4.1
com.typesafe.play : play-cache_2.11 jar 2.4.1
com.typesafe.play : play-java-ws_2.11 jar 2.4.1
org.hibernate : hibernate-entitymanager jar 4.3.10.Final
org.avaje.ebeanorm : avaje-ebeanorm-api jar 3.1.1
org.apache.derby : derby jar 10.11.1.1
mysql : mysql-connector-java jar 8.0.15
org.daisy.pipeline : clientlib-java jar 5.0.0
org.daisy.pipeline : clientlib-java-httpclient jar 2.1.1
org.apache.commons : commons-compress jar 1.9
org.apache.commons : commons-email jar 1.4
log4j : log4j jar 1.2.17
log4j : apache-log4j-extras jar 1.2.17

test (1)

Group / Artifact Type Version
com.typesafe.play : play-test_2.11 jar 2.4.1

Project Modules

There are no modules declared in this project.

Pipeline 2 Web UI

This project provides a Web User Interface for the DAISY Pipeline 2, developed with the Play! framework.

Publishing builds

NOTE: To build RPM packages in Ubuntu, you first need to install the rpm package using sudo apt-get install rpm.

1. Prepare the release

In build.sbt, update the version := "...". The versioning should follow semantic versioning rules. Snapshots should have a -SNAPSHOT version suffix.

2. Perform the release

Snapshot version

If you just want to publish a snapshot version of a debian package, simply run:

./activator clean universal:publish debian:publish

That will upload snapshot versions to sonatype.

Release version

If you want to publish a release version, you need to sign the files. The following are instructions on how to do this manually.

(We could possibly find out how to configure sbt so that it automatically signs the files for us, but for now this is fine.)

To build the Windows MSI installer, you need to have WiX Toolset installed, and run the following command from Windows:

.\activator clean windows:packageBin

If you do this on a separate computer / OS; copy the resulting MSI-file from target\windows back to the target folder (i.e. in Linux) with the rest of the packaged files before continuing. Make sure you're on the same git commit and tag in both git folders.

To build the DEB and RPM packages, and then sign everything (including the MSI assuming it's default location of target/windows) run the following:

./activator clean debian:debianSign rpm:packageBin
gpg -ab target/*.pom
gpg -ab target/*.deb
gpg -ab target/rpm/RPMS/noarch/*.rpm
gpg -ab target/windows/*.msi

Then:

  • Log into the Sonatype Nexus Repository Manager web interface.
  • Click "Staging Upload"
  • Select the upload mode "Artifact(s) with a POM"
  • Using the "Select POM to Upload..." button, upload the target/*pom file
  • One by one, using the "Select Artifact(s) to Upload..." button
    • Upload the target/*.pom.asc file, then click "Add Artifact"
    • Upload the target/*.deb file, then click "Add Artifact"
    • Upload the target/*.deb.asc file, then click "Add Artifact"
    • Upload the target/rpm/RPMS/noarch/*.rpm file, then click "Add Artifact"
    • Upload the target/rpm/RPMS/noarch/*.rpm.asc file, then click "Add Artifact"
    • Upload the target/windows/*.msi file, then click "Add Artifact"
    • Upload the target/windows/*.msi.asc file, then click "Add Artifact"
  • In the "Description" field, enter "A web-based user interface for the DAISY Pipeline 2."
  • Click "Upload Artifact(s)"
  • Click "Staging Repositories"
  • Scroll to the bottom and click the "orgdaisy" repository that was created
  • Wait for the repository to be ready; click "Refresh" until the repository can be released (Release button not disabled)
  • Click the "Release" button, and "Confirm"

The Web UI is now published.

...if you need permissions

You will need to have publish rights to the DAISY group on Sonatype. Ask the developers mailinglist if you don't have permissions. Once you have permissions you need to create the file ~/.sbt/0.13/sonatype.sbt with the following contents, replacing with your username and password:

credentials += Credentials("Sonatype Nexus Repository Manager",
                           "oss.sonatype.org",
                           "<username>",
                           "<password>")

3. Prepare for the next development iteration

Merge with the master branch if necessary.

Add a -SNAPSHOT suffix to the version in build.sbt.

org.daisy.pipeline

DAISY Consortium

Versions

Version
2.7.0
2.6.2
2.6.0
2.5.1
2.5.0
2.4.0
2.3.0
2.2.0
2.1.5
2.1.4
2.1.3
2.1.2
2.1.0
2.0.0
1.8.1
1.8
1.7