twogee commented on a change in pull request #89: Added version and mainClass attributes to <jar> task. URL: https://github.com/apache/ant/pull/89#discussion_r268423028
########## File path: manual/Tasks/jar.html ########## @@ -385,6 +402,40 @@ <h4 id="service">service</h4> a JAR file has more that one implementation of the service, a number of nested <code><provider></code> elements may be used.</p> +<h4 id="version">version</h4> + +<p><em>Since Ant 1.10.6</em></p> + +<p>Specifies a <a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/module/ModuleDescriptor.Version.html">module version</a> +as individual components. Either this or the <code>version</code> attribute may be specified, +but not both.</p> + +<table class="attr"> + <caption>Attributes:</caption> + <tr> + <th scope="col">Attribute</th> + <th scope="col">Description</th> + <th scope="col">Required</th> + </tr> + <tr> + <td>number</td> + <td>Primary version number. Can contain any characters except + "<code>-</code>" (ASCII hyphen) and "<code>+</code>" (ASCII plus).</td> + <td>Yes</td> + </tr> + <tr> + <td>preRelease</td> + <td>Optional release status, such as <code>ea</code> (early access), <code>internal</code>, + <code>beta</code>, etc. Can contain any characters except "<code>+</code>" (ASCII plus).</td> + <td>No</td> + </tr> + <tr> + <td>build</td> + <td>Optional build number. Can contain any text. Review comment: Missing `</td>` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org