You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2015/12/02 06:11:40 UTC

ant git commit: don't use deprecated attribute in examples

Repository: ant
Updated Branches:
  refs/heads/master 8c23f03fc -> 9b210733d


don't use deprecated attribute in examples


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/9b210733
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/9b210733
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/9b210733

Branch: refs/heads/master
Commit: 9b210733dc783ca6284991cd049e7d31ed714ec2
Parents: 8c23f03
Author: Stefan Bodewig <bo...@apache.org>
Authored: Wed Dec 2 06:10:59 2015 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Wed Dec 2 06:11:19 2015 +0100

----------------------------------------------------------------------
 manual/Tasks/jar.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/9b210733/manual/Tasks/jar.html
----------------------------------------------------------------------
diff --git a/manual/Tasks/jar.html b/manual/Tasks/jar.html
index 5d3ea38..1df2ee0 100644
--- a/manual/Tasks/jar.html
+++ b/manual/Tasks/jar.html
@@ -559,7 +559,7 @@ Sealed: false</code></pre></blockquote>
   The following shows how to create a jar file specifying a service
   with an implementation of the JDK6 scripting interface:
 </p>
-<blockquote><pre>&lt;jar jarfile="pinky.jar"&gt;
+<blockquote><pre>&lt;jar destfile="pinky.jar"&gt;
   &lt;fileset dir="build/classes"/&gt;
   &lt;service type="javax.script.ScriptEngineFactory"
            provider="org.acme.PinkyLanguage"/&gt;
@@ -573,7 +573,7 @@ Sealed: false</code></pre></blockquote>
   with two implementations of the JDK6 scripting interface:
 </p>
 <blockquote><pre>
-&lt;jar jarfile="pinkyandbrain.jar"&gt;
+&lt;jar destfile="pinkyandbrain.jar"&gt;
   &lt;fileset dir="classes"/&gt;
   &lt;service type="javax.script.ScriptEngineFactory"&gt;
     &lt;provider classname="org.acme.PinkyLanguage"/&gt;