From 17832b2eea9d46843f41501e42b51b7370c653f4 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Thu, 21 Feb 2002 10:00:17 +0000 Subject: [PATCH] is not a task but a data type - and all data types can be used outside of targets. is another task that may be used outside of targets. I "fixed" that by replacing path with typedef in Steve's text, but we really should talk about data types here as well - unfortunatley we don't talk about data types in the manual at all, so it takes a bigger effort. Some year 2002 bugs. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271491 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/OptionalTasks/sound.html | 2 +- docs/manual/using.html | 2 +- src/main/org/apache/tools/ant/taskdefs/GenerateKey.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/manual/OptionalTasks/sound.html b/docs/manual/OptionalTasks/sound.html index 8a7c99b87..0052e8f23 100644 --- a/docs/manual/OptionalTasks/sound.html +++ b/docs/manual/OptionalTasks/sound.html @@ -96,7 +96,7 @@ more than once. randomly selects a sound-file to play when the build succeeds or fails.
-

Copyright © 2001 Apache Software Foundation. All rights +

Copyright © 2001-2002 Apache Software Foundation. All rights Reserved.

diff --git a/docs/manual/using.html b/docs/manual/using.html index 9beecc753..b6d9f58bf 100644 --- a/docs/manual/using.html +++ b/docs/manual/using.html @@ -263,7 +263,7 @@ ant.java.version the JVM version Ant detected; currently it can hold Notice that we are declaring properties outside any target. The -<property>,<path> and <taskdef> +<property>,<typedef> and <taskdef> tasks are special in that they can be declared outside any target. When you do this they are evaluated before any targets are executed. No other tasks can be declared outside targets. diff --git a/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java b/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java index 4821c5686..ee9c96620 100644 --- a/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java +++ b/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2000 The Apache Software Foundation. All rights + * Copyright (c) 2000,2002 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without