Difference between revisions of "JSS Development"

From Dogtag
Jump to: navigation, search
m (Overview)
(Prerequisites)
Line 10: Line 10:
  
 
<pre>
 
<pre>
$ dnf install mercurial git-remote-hg
 
 
$ dnf install fedpkg
 
$ dnf install fedpkg
 
</pre>
 
</pre>

Revision as of 02:10, 7 April 2018

Overview

This page describes JSS development process.

Note that the text in red may need to be adjusted according to the local environment.

See JSS tickets on Mozilla Bugzilla.

Prerequisites

$ dnf install fedpkg

Getting Source Code

The JSS source repository contains JSS source code. This is where the JSS development should be done.

There are two ways to get JSS source code, either using Mercurial or Git. Only one of them is needed.

To get JSS source repository using Mercurial:

$ hg clone https://hg.mozilla.org/projects/jss jss

If the source repository is already available, it can be updated with the following commands:

$ hg pull
$ hg update

To get JSS source repository using Git:

$ git clone hg::https://hg.mozilla.org/projects/jss jss

If the source repository is already available, it can be updated with the following command:

$ git pull

The above command will create a new jss folder.

Applying a Patch

$ hg import <patch>
$ hg push ssh://hg.mozilla.org/projects/jss

Building Upstream Binaries

To build upstream JSS binaries (without RPM package), first build NSS in sandbox folder, then go to the jss folder and execute the following:

$ export JAVA_HOME=/etc/alternatives/java_sdk_1.8.0_openjdk
$ export USE_64=1
$ make clean all

See README.

Building Platform-specific Packages

See JSS Fedora Package.

References