<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 03/23/12 12:53, Endi Sukma Dewata wrote:
<blockquote cite="mid:4F6CD4B5.5040402@redhat.com" type="cite">The
build scripts have been modified to provide an option to build
<br>
without Javadoc to speed up development builds. The option can be
<br>
used as follows:
<br>
<br>
compose_pki_core_packages --without-javadoc hybrid_rpms
<br>
<br>
Ticket #111
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Pki-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pki-devel@redhat.com">Pki-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/pki-devel">https://www.redhat.com/mailman/listinfo/pki-devel</a>
</pre>
</blockquote>
CONDITIONAL ACK with CAVEATS:<br>
<br>
The following invocations succeeded building the RPMS without
building the javadoc RPMS (it should have failed with a Usage
message):<br>
<ul>
<li>pki/scripts/compose_pki_core_packages <b>--w</b> hybrid_rpms
<br>
</li>
<li>pki/scripts/compose_pki_core_packages <b>--without</b>
hybrid_rpms (note that '<b>--without</b>' was used instead of '<b>--without-javadoc</b>')<br>
</li>
</ul>
while the following invocations failed as expected and issued a
Usage message:<br>
<ul>
<li>pki/scripts/compose_pki_core_packages <b>--foo</b>
hybrid_rpms</li>
<li>pki/scripts/compose_pki_core_packages <b>--without-foo</b>
hybrid_rpms</li>
<li>pki/scripts/compose_pki_core_packages <b>--without-javadocs</b>
hybrid_rpms (note that '<b>--without-javadocs</b>' (plural) was
used instead of '<b>--without-javadoc</b>')</li>
</ul>
<b>Please feel free to check-in this patch once this issue has been
corrected.</b><br>
<br>
Although I think that it is un-necessary to change code nor
necessarily document this, the '<b>--without-javadoc</b>' option is
<i><b>ONLY</b></i> useful for building the '<b>pki-core</b>'
component (no other '<b>compose</b>' scripts generate any 'javadoc'
packages, and certain packages such as 'pki-tps' will NEVER generate
javadocs as this is a non-java component).<br>
<br>
Additionally, this option would only be utilized when building
'RPMS' (e. g. - 'rpms', 'hybrid_rpms', and/or 'patched_rpms'; it is
completely ignored when building 'srpm', 'hybrid_srpm', and/or
'patched_srpm') regardless of component. However, I don't think
that invocation necessarily needs to fail which building SRPMS.<br>
<br>
<br>
</body>
</html>