Difference between revisions of "Tomcat JSS Development"

From Dogtag
Jump to: navigation, search
m (Getting Source Code)
m
Line 3: Line 3:
 
See also [[TomcatJSS Design]].
 
See also [[TomcatJSS Design]].
  
= Prerequisites =
+
= Upstream Development =
  
<pre>
+
* [[TomcatJSS 7.3 Development]]
$ dnf install ant apache-commons-lang java-devel jss
+
* [[TomcatJSS 7.2 Development]]
</pre>
 
  
= Getting Source Code =
+
= Downstream Developmetn =
  
To clone upstream TomcatJSS source repository:
+
* [[TomcatJSS Fedora Development]]
 
 
<pre>
 
$ git clone git@github.com:dogtagpki/tomcatjss.git
 
</pre>
 
 
 
The above command will create a new 'tomcatjss' folder.
 
 
 
= Building TomcatJSS =
 
 
 
To do a normal build of TomcatJSS (instead of generating RPM package):
 
 
 
<pre>
 
$ ant
 
</pre>
 
 
 
The above command will generate tomcatjss.jar.
 
 
 
To build and install TomcatJSS:
 
 
 
<pre>
 
$ ant install
 
</pre>
 
 
 
The above command will generate tomcatjss.jar and install it in /usr/share/java/tomcatjss-<version>.jar, then it will create link at /usr/share/java/tomcatjss.jar to the versioned file.
 
 
 
== Build Properties ==
 
 
 
By default the build.xml defines the build properties for Fedora. To customize the build properties for other platforms create a separate property file and specify the new property values.
 
 
 
For example, for RHEL there's only one property to change:
 
 
 
<pre>
 
rhel=1
 
</pre>
 
 
 
Then the build can be done as follows:
 
 
 
<pre>
 
$ ant -propertyfile <property file> [TARGETS...]
 
</pre>
 
 
 
= Building Fedora Packages =
 
 
 
See [[TomcatJSS Fedora Development]].
 
  
 
= References =
 
= References =

Revision as of 17:50, 29 June 2018

Overview

See also TomcatJSS Design.

Upstream Development

Downstream Developmetn

References