ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: svn commit: r492552 - /ant/core/trunk/docs/manual/CoreTasks/jar.html
Date Thu, 04 Jan 2007 15:09:21 GMT
I changed it. Thanks.

Jan 

>-----Urspr√ľngliche Nachricht-----
>Von: Antoine Levy-Lambert [mailto:antoine@gmx.de] 
>Gesendet: Donnerstag, 4. Januar 2007 15:51
>An: Ant Developers List
>Betreff: Re: svn commit: r492552 - 
>/ant/core/trunk/docs/manual/CoreTasks/jar.html
>
>Hello Jan,
>
>I think the standard name for an attribute meaning program 
>version is Implementation-Version
>
>Regards,
>
>Antoine
>-------- Original-Nachricht --------
>Datum: Thu, 04 Jan 2007 12:48:22 -0000
>Von: jhm@apache.org
>An: ant-cvs@apache.org
>Betreff: svn commit: r492552 - 
>/ant/core/trunk/docs/manual/CoreTasks/jar.html
>
>> Author: jhm
>> Date: Thu Jan  4 04:48:22 2007
>> New Revision: 492552
>> 
>> URL: http://svn.apache.org/viewvc?view=rev&rev=492552
>> Log:
>> Add an example how to store a program-version info in the manifest. 
>> Make the code more readable.
>> 
>> Modified:
>>     ant/core/trunk/docs/manual/CoreTasks/jar.html
>> 
>> Modified: ant/core/trunk/docs/manual/CoreTasks/jar.html
>> URL:
>> 
>http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/jar.
>> html?view=diff&rev=492552&r1=492551&r2=492552
>> 
>======================================================================
>> ========
>> --- ant/core/trunk/docs/manual/CoreTasks/jar.html (original)
>> +++ ant/core/trunk/docs/manual/CoreTasks/jar.html Thu Jan  4 
>04:48:22 
>> +++ 2007
>> @@ -324,10 +324,14 @@
>>      If a JAR file has more that one implementation of the 
>service, a 
>> number of
>>      nested <provider> elements may be used.
>>    </p>
>> +  
>> +  
>>  <h3>Examples</h3>
>> +
>>  <pre>  <jar destfile="${dist}/lib/app.jar"
>> basedir="${build}/classes"/></pre>
>>  <p>jars all files in the <code>${build}/classes</code> 
>directory into 
>> a file  called <code>app.jar</code> in the <code>${dist}/lib</code>

>> directory.</p>
>> +
>>  <pre>  <jar destfile="${dist}/lib/app.jar"
>>         basedir="${build}/classes"
>>         excludes="**/Test.class"
>> @@ -335,6 +339,7 @@
>>  <p>jars all files in the <code>${build}/classes</code> 
>directory into 
>> a file  called <code>app.jar</code> in the <code>${dist}/lib</code>

>> directory.
>> Files
>>  with the name <code>Test.class</code> are excluded.</p>
>> +
>>  <pre>  <jar destfile="${dist}/lib/app.jar"
>>         basedir="${build}/classes"
>>         includes="mypackage/test/**"
>> @@ -344,6 +349,7 @@
>>  called <code>app.jar</code> in the <code>${dist}/lib</code>

>directory.
>> Only
>>  files under the directory <code>mypackage/test</code> are used, and

>> files with  the name <code>Test.class</code> are excluded.</p>
>> +
>>  <pre>  <jar destfile="${dist}/lib/app.jar">
>>      <fileset dir="${build}/classes"
>>               excludes="**/Test.class"
>> @@ -363,6 +369,7 @@
>>      <include name="build"/>
>>      <manifest>
>>        <attribute name="Built-By"
>> value="${user.name}"/>
>> +      <attribute name="Program-Version"
>> value="1.0.0beta2"/>
>>        <section name="common/class1.class">
>>          <attribute name="Sealed"
>> value="false"/>
>>        </section>
>> @@ -375,6 +382,7 @@
>>  </p>
>>  <pre><code>Manifest-Version: 1.0
>>  Built-By: conor
>> +Program-Version: 1.0.0beta2
>>  Created-By: Apache Ant 1.6.5
>>  
>>  Name: common/MyClass.class
>> @@ -391,6 +399,7 @@
>>             provider="org.acme.PinkyLanguage"/>
>>  </jar>
>>  </pre></blockquote>
>> +
>>  <p>
>>    The following shows how to create a jar file specifing a service
>>    with two implementations of the JDK6 scripting interface:
>> @@ -404,5 +413,8 @@
>>    </service>
>>  </jar>
>>  </pre></blockquote>
>> +
>> +
>> +
>>  </body>
>>  </html>
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For 
>additional 
>> commands, e-mail: dev-help@ant.apache.org
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For 
>additional commands, e-mail: dev-help@ant.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message