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><jar jarfile="pinky.jar">
+<blockquote><pre><jar destfile="pinky.jar">
<fileset dir="build/classes"/>
<service type="javax.script.ScriptEngineFactory"
provider="org.acme.PinkyLanguage"/>
@@ -573,7 +573,7 @@ Sealed: false</code></pre></blockquote>
with two implementations of the JDK6 scripting interface:
</p>
<blockquote><pre>
-<jar jarfile="pinkyandbrain.jar">
+<jar destfile="pinkyandbrain.jar">
<fileset dir="classes"/>
<service type="javax.script.ScriptEngineFactory">
<provider classname="org.acme.PinkyLanguage"/>