From b9421dc80af485591a9c50cc8921f912e0def11e Mon Sep 17 00:00:00 2001 From: Ashlee Young Date: Fri, 23 Oct 2015 10:05:40 -0700 Subject: Removing sources to replace with download links instead. Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668 Signed-off-by: Ashlee Young --- .../apache-ant-1.9.6/manual/Tasks/manifest.html | 197 --------------------- 1 file changed, 197 deletions(-) delete mode 100644 framework/src/ant/apache-ant-1.9.6/manual/Tasks/manifest.html (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/manifest.html') diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/manifest.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/manifest.html deleted file mode 100644 index 7a5b98bc..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/manifest.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - - -Manifest Task - - - - -

Manifest

-

Description

-

Creates a manifest file.

- -

This task can be used to write a Manifest file, optionally -replacing or updating an existing file.

- - - -

Manifests are processed according to the -Jar -file specification.. Specifically, a manifest element consists of -a set of attributes and sections. These sections in turn may contain -attributes. Note in particular that this may result in manifest lines -greater than 72 bytes being wrapped and continued on the next -line.

- -

- The Apache Ant team regularly gets complaints that this task in generating invalid - manifests. By and large, this is not the case: we believe that we are following - the specification to the letter. The usual problem is that some third party - manifest reader is not following the same specification as well as they think - they should; we cannot generate invalid manifest files just because one - single application is broken. J2ME runtimes appear to be particularly troublesome. -

- -

- If you find that Ant generates manifests incompatible with your runtime, take - a manifest it has built, fix it up however you need and switch to using the <zip> - task to create the JAR, feeding in the hand-crafted manifest. -

- - - -

Parameters

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
filethe manifest-file to create/update.Yes
modeOne of "update" or "replace", default is "replace".No
encodingThe encoding used to read the existing manifest - when updating. The task will always use UTF-8 when writing the - manifest.No, defaults to UTF-8 encoding.
mergeClassPathAttributesWhether to merge the Class-Path attributes found - in different manifests (if updating). If false, only the - attribute of the most recent manifest will be preserved. - Since Ant 1.8.0. -
unless you also set flattenAttributes to true this may - result in manifests containing multiple Class-Path attributes - which violates the manifest specification.
No, default is false
flattenAttributesWhether to merge attributes occurring more than - once in a section (this can only happen for the Class-Path - attribute) into a single attribute. - Since Ant 1.8.0.No, default is false
- -

Nested elements

-

attribute

-

One attribute for the manifest file. Those attributes that are -not nested into a section will be added to the "Main" section.

- - - - - - - - - - - - - - - - -
AttributeDescriptionRequired
namethe name of the attribute,
- must match the regexp [A-Za-z0-9][A-Za-z0-9-_]*. -
Yes
valuethe value of the attribute.Yes
- - -

section

-

A manifest section - you can nest attribute elements into sections.

- - - - - - - - - - - - -
AttributeDescriptionRequired
namethe name of the section.No, if omitted it will be assumed - to be the main section.
- -

Examples

- -
-  <manifest file="MANIFEST.MF">
-    <attribute name="Built-By" value="${user.name}"/>
-    <section name="common">
-      <attribute name="Specification-Title" value="Example"/>
-      <attribute name="Specification-Version" value="${version}"/>
-      <attribute name="Specification-Vendor" value="Example Organization"/>
-      <attribute name="Implementation-Title" value="common"/>
-      <attribute name="Implementation-Version" value="${version} ${TODAY}"/> 
-      <attribute name="Implementation-Vendor" value="Example Corp."/>
-    </section>
-    <section name="common/class1.class">
-      <attribute name="Sealed" value="false"/>
-    </section>
-  </manifest>
-
- -

Creates or replaces the file MANIFEST.MF. Note that the Built-By -attribute will take the value of the Ant property ${user.name}. The -same is true for the ${version} and ${TODAY} properties. This example -produces a MANIFEST.MF that contains -package -version identification for the package common.

- -

The manifest produced by the above would look like this:

- -
Manifest-Version: 1.0
-Built-By: bodewig
-Created-By: Apache Ant 1.9
-
-Name: common
-Specification-Title: Example
-Specification-Vendor: Example Organization
-Implementation-Vendor: Example Corp.
-Specification-Version: 1.2
-Implementation-Version: 1.2 September 10, 2013
-Implementation-Title: common
-
-Name: common/class1.class
-Sealed: false
-
-
- - - - - -- cgit 1.2.3-korg