summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/changes/changes.xml45
-rw-r--r--src/changes/changes.xslt78
-rw-r--r--src/main/java/net/sf/antcontrib/AntContribVersion.java (renamed from src/java/net/sf/antcontrib/AntContribVersion.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antclipse/ClassPathParser.java (renamed from src/java/net/sf/antcontrib/antclipse/ClassPathParser.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antclipse/ClassPathTask.java (renamed from src/java/net/sf/antcontrib/antclipse/ClassPathTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antcontrib.properties (renamed from src/java/net/sf/antcontrib/antcontrib.properties)0
-rw-r--r--src/main/java/net/sf/antcontrib/antlib.xml (renamed from src/java/net/sf/antcontrib/antlib.xml)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/Command.java (renamed from src/java/net/sf/antcontrib/antserver/Command.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/Response.java (renamed from src/java/net/sf/antcontrib/antserver/Response.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/Util.java (renamed from src/java/net/sf/antcontrib/antserver/Util.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/client/Client.java (renamed from src/java/net/sf/antcontrib/antserver/client/Client.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/client/ClientTask.java (renamed from src/java/net/sf/antcontrib/antserver/client/ClientTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/AbstractCommand.java (renamed from src/java/net/sf/antcontrib/antserver/commands/AbstractCommand.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/DisconnectCommand.java (renamed from src/java/net/sf/antcontrib/antserver/commands/DisconnectCommand.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/HelloWorldCommand.java (renamed from src/java/net/sf/antcontrib/antserver/commands/HelloWorldCommand.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/PropertyContainer.java (renamed from src/java/net/sf/antcontrib/antserver/commands/PropertyContainer.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/ReferenceContainer.java (renamed from src/java/net/sf/antcontrib/antserver/commands/ReferenceContainer.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/RunAntCommand.java (renamed from src/java/net/sf/antcontrib/antserver/commands/RunAntCommand.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/RunTargetCommand.java (renamed from src/java/net/sf/antcontrib/antserver/commands/RunTargetCommand.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/SendFileCommand.java (renamed from src/java/net/sf/antcontrib/antserver/commands/SendFileCommand.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/commands/ShutdownCommand.java (renamed from src/java/net/sf/antcontrib/antserver/commands/ShutdownCommand.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/server/ConnectionBuildListener.java (renamed from src/java/net/sf/antcontrib/antserver/server/ConnectionBuildListener.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/server/ConnectionHandler.java (renamed from src/java/net/sf/antcontrib/antserver/server/ConnectionHandler.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/server/Server.java (renamed from src/java/net/sf/antcontrib/antserver/server/Server.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/antserver/server/ServerTask.java (renamed from src/java/net/sf/antcontrib/antserver/server/ServerTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/Depends.java (renamed from src/java/net/sf/antcontrib/design/Depends.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/Design.java (renamed from src/java/net/sf/antcontrib/design/Design.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/DesignFileHandler.java (renamed from src/java/net/sf/antcontrib/design/DesignFileHandler.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/InstructionVisitor.java (renamed from src/java/net/sf/antcontrib/design/InstructionVisitor.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/Log.java (renamed from src/java/net/sf/antcontrib/design/Log.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/Package.java (renamed from src/java/net/sf/antcontrib/design/Package.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/VerifyDesign.java (renamed from src/java/net/sf/antcontrib/design/VerifyDesign.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/VerifyDesignDelegate.java (renamed from src/java/net/sf/antcontrib/design/VerifyDesignDelegate.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/design/VisitorImpl.java (renamed from src/java/net/sf/antcontrib/design/VisitorImpl.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/inifile/IniFile.java (renamed from src/java/net/sf/antcontrib/inifile/IniFile.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/inifile/IniFileTask.java (renamed from src/java/net/sf/antcontrib/inifile/IniFileTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/inifile/IniPart.java (renamed from src/java/net/sf/antcontrib/inifile/IniPart.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/inifile/IniProperty.java (renamed from src/java/net/sf/antcontrib/inifile/IniProperty.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/inifile/IniSection.java (renamed from src/java/net/sf/antcontrib/inifile/IniSection.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/input/GUIInputHandler.java (renamed from src/java/net/sf/antcontrib/input/GUIInputHandler.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/AntCallBack.java (renamed from src/java/net/sf/antcontrib/logic/AntCallBack.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/AntFetch.java (renamed from src/java/net/sf/antcontrib/logic/AntFetch.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/Assert.java (renamed from src/java/net/sf/antcontrib/logic/Assert.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/ForEach.java (renamed from src/java/net/sf/antcontrib/logic/ForEach.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/ForTask.java (renamed from src/java/net/sf/antcontrib/logic/ForTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/IfTask.java (renamed from src/java/net/sf/antcontrib/logic/IfTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/OutOfDate.java (renamed from src/java/net/sf/antcontrib/logic/OutOfDate.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/ProjectDelegate.java (renamed from src/java/net/sf/antcontrib/logic/ProjectDelegate.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/Relentless.java (renamed from src/java/net/sf/antcontrib/logic/Relentless.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/RunTargetTask.java (renamed from src/java/net/sf/antcontrib/logic/RunTargetTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/Switch.java (renamed from src/java/net/sf/antcontrib/logic/Switch.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/Throw.java (renamed from src/java/net/sf/antcontrib/logic/Throw.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/TimestampSelector.java (renamed from src/java/net/sf/antcontrib/logic/TimestampSelector.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/TryCatchTask.java (renamed from src/java/net/sf/antcontrib/logic/TryCatchTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/condition/BooleanConditionBase.java (renamed from src/java/net/sf/antcontrib/logic/condition/BooleanConditionBase.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/condition/IsGreaterThan.java (renamed from src/java/net/sf/antcontrib/logic/condition/IsGreaterThan.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/condition/IsLessThan.java (renamed from src/java/net/sf/antcontrib/logic/condition/IsLessThan.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/condition/IsPropertyFalse.java (renamed from src/java/net/sf/antcontrib/logic/condition/IsPropertyFalse.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/logic/condition/IsPropertyTrue.java (renamed from src/java/net/sf/antcontrib/logic/condition/IsPropertyTrue.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/math/Evaluateable.java (renamed from src/java/net/sf/antcontrib/math/Evaluateable.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/math/Math.java (renamed from src/java/net/sf/antcontrib/math/Math.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/math/MathTask.java (renamed from src/java/net/sf/antcontrib/math/MathTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/math/Numeric.java (renamed from src/java/net/sf/antcontrib/math/Numeric.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/math/Operation.java (renamed from src/java/net/sf/antcontrib/math/Operation.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/PostTask.java (renamed from src/java/net/sf/antcontrib/net/PostTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/Prop.java (renamed from src/java/net/sf/antcontrib/net/Prop.java)0
-rwxr-xr-xsrc/main/java/net/sf/antcontrib/net/URLImportTask.java (renamed from src/java/net/sf/antcontrib/net/URLImportTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/AbstractHttpStateTypeTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/AbstractHttpStateTypeTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/AbstractMethodTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/AbstractMethodTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/AddCookieTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/AddCookieTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/AddCredentialsTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/AddCredentialsTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/ClearCookiesTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/ClearCookiesTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/ClearCredentialsTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/ClearCredentialsTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/ClientParams.java (renamed from src/java/net/sf/antcontrib/net/httpclient/ClientParams.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/Credentials.java (renamed from src/java/net/sf/antcontrib/net/httpclient/Credentials.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/GetCookieTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/GetCookieTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/GetMethodTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/GetMethodTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/HeadMethodTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/HeadMethodTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/HostConfig.java (renamed from src/java/net/sf/antcontrib/net/httpclient/HostConfig.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/HostParams.java (renamed from src/java/net/sf/antcontrib/net/httpclient/HostParams.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/HttpClientType.java (renamed from src/java/net/sf/antcontrib/net/httpclient/HttpClientType.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/HttpStateType.java (renamed from src/java/net/sf/antcontrib/net/httpclient/HttpStateType.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/MethodParams.java (renamed from src/java/net/sf/antcontrib/net/httpclient/MethodParams.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/Params.java (renamed from src/java/net/sf/antcontrib/net/httpclient/Params.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/net/httpclient/PurgeExpiredCookiesTask.java (renamed from src/java/net/sf/antcontrib/net/httpclient/PurgeExpiredCookiesTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/perf/AntPerformanceListener.java (renamed from src/java/net/sf/antcontrib/perf/AntPerformanceListener.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/perf/StopWatch.java (renamed from src/java/net/sf/antcontrib/perf/StopWatch.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/perf/StopWatchTask.java (renamed from src/java/net/sf/antcontrib/perf/StopWatchTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/platform/OsFamily.java (renamed from src/java/net/sf/antcontrib/platform/OsFamily.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/platform/Platform.java (renamed from src/java/net/sf/antcontrib/platform/Platform.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/platform/ShellScriptTask.java (renamed from src/java/net/sf/antcontrib/platform/ShellScriptTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/process/ForgetTask.java (renamed from src/java/net/sf/antcontrib/process/ForgetTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/process/Limit.java (renamed from src/java/net/sf/antcontrib/process/Limit.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/AbstractPropertySetterTask.java (renamed from src/java/net/sf/antcontrib/property/AbstractPropertySetterTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/PathFilterTask.java (renamed from src/java/net/sf/antcontrib/property/PathFilterTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/PathToFileSet.java (renamed from src/java/net/sf/antcontrib/property/PathToFileSet.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/PropertyCopy.java (renamed from src/java/net/sf/antcontrib/property/PropertyCopy.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/PropertySelector.java (renamed from src/java/net/sf/antcontrib/property/PropertySelector.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/RegexTask.java (renamed from src/java/net/sf/antcontrib/property/RegexTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/RegexUtil.java (renamed from src/java/net/sf/antcontrib/property/RegexUtil.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/SortList.java (renamed from src/java/net/sf/antcontrib/property/SortList.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/URLEncodeTask.java (renamed from src/java/net/sf/antcontrib/property/URLEncodeTask.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/property/Variable.java (renamed from src/java/net/sf/antcontrib/property/Variable.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/util/Reflector.java (renamed from src/java/net/sf/antcontrib/util/Reflector.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/util/ThreadPool.java (renamed from src/java/net/sf/antcontrib/util/ThreadPool.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/util/ThreadPoolThread.java (renamed from src/java/net/sf/antcontrib/util/ThreadPoolThread.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/walls/CompileWithWalls.java (renamed from src/java/net/sf/antcontrib/walls/CompileWithWalls.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/walls/Package.java (renamed from src/java/net/sf/antcontrib/walls/Package.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/walls/SilentCopy.java (renamed from src/java/net/sf/antcontrib/walls/SilentCopy.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/walls/SilentMove.java (renamed from src/java/net/sf/antcontrib/walls/SilentMove.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/walls/Walls.java (renamed from src/java/net/sf/antcontrib/walls/Walls.java)0
-rw-r--r--src/main/java/net/sf/antcontrib/walls/WallsFileHandler.java (renamed from src/java/net/sf/antcontrib/walls/WallsFileHandler.java)0
-rw-r--r--src/site/fml/faq.fml27
-rw-r--r--src/site/site.xml115
-rw-r--r--src/taskdocs/java/net/sf/antcontrib/taskdocs/TaskDoclet.java1
-rw-r--r--src/taskdocs/resources/net/sf/antcontrib/taskdocs/element.xslt210
117 files changed, 476 insertions, 0 deletions
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
new file mode 100644
index 0000000..86cd888
--- /dev/null
+++ b/src/changes/changes.xml
@@ -0,0 +1,45 @@
+<!--
+ Licensed to the Ant-Contrib Project under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The Ant-Contrib Project licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+ <document>
+ <properties>
+ <title>cpptasks: Compile tasks for Apache Ant</title>
+ </properties>
+ <body>
+
+ <release version="1.0-beta5" date="2007-12-31" description="">
+ <!-- xsl:apply-templates select='/rss/channel/item'>
+ <xsl:sort select="substring-after(key, '-')" data-type="number"/>
+ </xsl:apply-templates -->
+ </release>
+
+ <release version="1.0-beta4" date="2006-05-19" description="">
+ </release>
+
+ <release version="1.0-beta3" date="2004-04-28" description="">
+ </release>
+
+ <release version="1.0-beta2" date="2004-02-27" description="">
+ </release>
+
+ <release version="1.0-beta1" date="2002-08-17" description="">
+ </release>
+
+ <release version="1.0-alpha1" date="2002-01-08" description="">
+ </release>
+ </body>
+</document>
diff --git a/src/changes/changes.xslt b/src/changes/changes.xslt
new file mode 100644
index 0000000..7e5d629
--- /dev/null
+++ b/src/changes/changes.xslt
@@ -0,0 +1,78 @@
+<!--
+ Licensed to the Ant-Contrib Project under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The Ant-Contrib Project licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xsl:version="1.0">
+
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:apply-templates select="/"/>
+
+ <xsl:template match="/">
+ <xsl:comment>
+
+ Licensed to the Ant-Contrib Project under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The Ant-Contrib Project licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+
+ </xsl:comment>
+ <document>
+ <properties>
+ <title>cpptasks: Compile tasks for Apache Ant</title>
+ </properties>
+ <body>
+
+ <release version="1.0-beta5" date="2007-12-31" description="">
+ <!-- xsl:apply-templates select='/rss/channel/item'>
+ <xsl:sort select="substring-after(key, '-')" data-type="number"/>
+ </xsl:apply-templates -->
+ </release>
+
+ <release version="1.0-beta4" date="2006-05-19" description="">
+ </release>
+
+ <release version="1.0-beta3" date="2004-04-28" description="">
+ </release>
+
+ <release version="1.0-beta2" date="2004-02-27" description="">
+ </release>
+
+ <release version="1.0-beta1" date="2002-08-17" description="">
+ </release>
+
+ <release version="1.0-alpha1" date="2002-01-08" description="">
+ </release>
+ </body>
+</document>
+</xsl:template>
+
+<xsl:template match="item">
+ <action issue="{key}"><xsl:value-of select="summary"/></action>
+</xsl:template>
+
+</xsl:transform>
diff --git a/src/java/net/sf/antcontrib/AntContribVersion.java b/src/main/java/net/sf/antcontrib/AntContribVersion.java
index 8633459..8633459 100644
--- a/src/java/net/sf/antcontrib/AntContribVersion.java
+++ b/src/main/java/net/sf/antcontrib/AntContribVersion.java
diff --git a/src/java/net/sf/antcontrib/antclipse/ClassPathParser.java b/src/main/java/net/sf/antcontrib/antclipse/ClassPathParser.java
index 389c89e..389c89e 100644
--- a/src/java/net/sf/antcontrib/antclipse/ClassPathParser.java
+++ b/src/main/java/net/sf/antcontrib/antclipse/ClassPathParser.java
diff --git a/src/java/net/sf/antcontrib/antclipse/ClassPathTask.java b/src/main/java/net/sf/antcontrib/antclipse/ClassPathTask.java
index 6c32181..6c32181 100644
--- a/src/java/net/sf/antcontrib/antclipse/ClassPathTask.java
+++ b/src/main/java/net/sf/antcontrib/antclipse/ClassPathTask.java
diff --git a/src/java/net/sf/antcontrib/antcontrib.properties b/src/main/java/net/sf/antcontrib/antcontrib.properties
index b42b4ec..b42b4ec 100644
--- a/src/java/net/sf/antcontrib/antcontrib.properties
+++ b/src/main/java/net/sf/antcontrib/antcontrib.properties
diff --git a/src/java/net/sf/antcontrib/antlib.xml b/src/main/java/net/sf/antcontrib/antlib.xml
index 203b12e..203b12e 100644
--- a/src/java/net/sf/antcontrib/antlib.xml
+++ b/src/main/java/net/sf/antcontrib/antlib.xml
diff --git a/src/java/net/sf/antcontrib/antserver/Command.java b/src/main/java/net/sf/antcontrib/antserver/Command.java
index e9d84a0..e9d84a0 100644
--- a/src/java/net/sf/antcontrib/antserver/Command.java
+++ b/src/main/java/net/sf/antcontrib/antserver/Command.java
diff --git a/src/java/net/sf/antcontrib/antserver/Response.java b/src/main/java/net/sf/antcontrib/antserver/Response.java
index b1958d9..b1958d9 100644
--- a/src/java/net/sf/antcontrib/antserver/Response.java
+++ b/src/main/java/net/sf/antcontrib/antserver/Response.java
diff --git a/src/java/net/sf/antcontrib/antserver/Util.java b/src/main/java/net/sf/antcontrib/antserver/Util.java
index 124e315..124e315 100644
--- a/src/java/net/sf/antcontrib/antserver/Util.java
+++ b/src/main/java/net/sf/antcontrib/antserver/Util.java
diff --git a/src/java/net/sf/antcontrib/antserver/client/Client.java b/src/main/java/net/sf/antcontrib/antserver/client/Client.java
index 061815f..061815f 100644
--- a/src/java/net/sf/antcontrib/antserver/client/Client.java
+++ b/src/main/java/net/sf/antcontrib/antserver/client/Client.java
diff --git a/src/java/net/sf/antcontrib/antserver/client/ClientTask.java b/src/main/java/net/sf/antcontrib/antserver/client/ClientTask.java
index 34236f0..34236f0 100644
--- a/src/java/net/sf/antcontrib/antserver/client/ClientTask.java
+++ b/src/main/java/net/sf/antcontrib/antserver/client/ClientTask.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/AbstractCommand.java b/src/main/java/net/sf/antcontrib/antserver/commands/AbstractCommand.java
index 9734631..9734631 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/AbstractCommand.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/AbstractCommand.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/DisconnectCommand.java b/src/main/java/net/sf/antcontrib/antserver/commands/DisconnectCommand.java
index a89177b..a89177b 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/DisconnectCommand.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/DisconnectCommand.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/HelloWorldCommand.java b/src/main/java/net/sf/antcontrib/antserver/commands/HelloWorldCommand.java
index 68f884f..68f884f 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/HelloWorldCommand.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/HelloWorldCommand.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/PropertyContainer.java b/src/main/java/net/sf/antcontrib/antserver/commands/PropertyContainer.java
index 9c7aaf4..9c7aaf4 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/PropertyContainer.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/PropertyContainer.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/ReferenceContainer.java b/src/main/java/net/sf/antcontrib/antserver/commands/ReferenceContainer.java
index e755343..e755343 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/ReferenceContainer.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/ReferenceContainer.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/RunAntCommand.java b/src/main/java/net/sf/antcontrib/antserver/commands/RunAntCommand.java
index 51b114c..51b114c 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/RunAntCommand.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/RunAntCommand.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/RunTargetCommand.java b/src/main/java/net/sf/antcontrib/antserver/commands/RunTargetCommand.java
index a22e5db..a22e5db 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/RunTargetCommand.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/RunTargetCommand.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/SendFileCommand.java b/src/main/java/net/sf/antcontrib/antserver/commands/SendFileCommand.java
index 3aada4d..3aada4d 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/SendFileCommand.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/SendFileCommand.java
diff --git a/src/java/net/sf/antcontrib/antserver/commands/ShutdownCommand.java b/src/main/java/net/sf/antcontrib/antserver/commands/ShutdownCommand.java
index 6dcf226..6dcf226 100644
--- a/src/java/net/sf/antcontrib/antserver/commands/ShutdownCommand.java
+++ b/src/main/java/net/sf/antcontrib/antserver/commands/ShutdownCommand.java
diff --git a/src/java/net/sf/antcontrib/antserver/server/ConnectionBuildListener.java b/src/main/java/net/sf/antcontrib/antserver/server/ConnectionBuildListener.java
index 39cf1e5..39cf1e5 100644
--- a/src/java/net/sf/antcontrib/antserver/server/ConnectionBuildListener.java
+++ b/src/main/java/net/sf/antcontrib/antserver/server/ConnectionBuildListener.java
diff --git a/src/java/net/sf/antcontrib/antserver/server/ConnectionHandler.java b/src/main/java/net/sf/antcontrib/antserver/server/ConnectionHandler.java
index 23169e0..23169e0 100644
--- a/src/java/net/sf/antcontrib/antserver/server/ConnectionHandler.java
+++ b/src/main/java/net/sf/antcontrib/antserver/server/ConnectionHandler.java
diff --git a/src/java/net/sf/antcontrib/antserver/server/Server.java b/src/main/java/net/sf/antcontrib/antserver/server/Server.java
index b0e8c56..b0e8c56 100644
--- a/src/java/net/sf/antcontrib/antserver/server/Server.java
+++ b/src/main/java/net/sf/antcontrib/antserver/server/Server.java
diff --git a/src/java/net/sf/antcontrib/antserver/server/ServerTask.java b/src/main/java/net/sf/antcontrib/antserver/server/ServerTask.java
index 74006af..74006af 100644
--- a/src/java/net/sf/antcontrib/antserver/server/ServerTask.java
+++ b/src/main/java/net/sf/antcontrib/antserver/server/ServerTask.java
diff --git a/src/java/net/sf/antcontrib/design/Depends.java b/src/main/java/net/sf/antcontrib/design/Depends.java
index 570efc0..570efc0 100644
--- a/src/java/net/sf/antcontrib/design/Depends.java
+++ b/src/main/java/net/sf/antcontrib/design/Depends.java
diff --git a/src/java/net/sf/antcontrib/design/Design.java b/src/main/java/net/sf/antcontrib/design/Design.java
index c88db1c..c88db1c 100644
--- a/src/java/net/sf/antcontrib/design/Design.java
+++ b/src/main/java/net/sf/antcontrib/design/Design.java
diff --git a/src/java/net/sf/antcontrib/design/DesignFileHandler.java b/src/main/java/net/sf/antcontrib/design/DesignFileHandler.java
index 52e1bf2..52e1bf2 100644
--- a/src/java/net/sf/antcontrib/design/DesignFileHandler.java
+++ b/src/main/java/net/sf/antcontrib/design/DesignFileHandler.java
diff --git a/src/java/net/sf/antcontrib/design/InstructionVisitor.java b/src/main/java/net/sf/antcontrib/design/InstructionVisitor.java
index eb4c920..eb4c920 100644
--- a/src/java/net/sf/antcontrib/design/InstructionVisitor.java
+++ b/src/main/java/net/sf/antcontrib/design/InstructionVisitor.java
diff --git a/src/java/net/sf/antcontrib/design/Log.java b/src/main/java/net/sf/antcontrib/design/Log.java
index 466dcdc..466dcdc 100644
--- a/src/java/net/sf/antcontrib/design/Log.java
+++ b/src/main/java/net/sf/antcontrib/design/Log.java
diff --git a/src/java/net/sf/antcontrib/design/Package.java b/src/main/java/net/sf/antcontrib/design/Package.java
index a988975..a988975 100644
--- a/src/java/net/sf/antcontrib/design/Package.java
+++ b/src/main/java/net/sf/antcontrib/design/Package.java
diff --git a/src/java/net/sf/antcontrib/design/VerifyDesign.java b/src/main/java/net/sf/antcontrib/design/VerifyDesign.java
index dfffd47..dfffd47 100644
--- a/src/java/net/sf/antcontrib/design/VerifyDesign.java
+++ b/src/main/java/net/sf/antcontrib/design/VerifyDesign.java
diff --git a/src/java/net/sf/antcontrib/design/VerifyDesignDelegate.java b/src/main/java/net/sf/antcontrib/design/VerifyDesignDelegate.java
index 3471ec9..3471ec9 100644
--- a/src/java/net/sf/antcontrib/design/VerifyDesignDelegate.java
+++ b/src/main/java/net/sf/antcontrib/design/VerifyDesignDelegate.java
diff --git a/src/java/net/sf/antcontrib/design/VisitorImpl.java b/src/main/java/net/sf/antcontrib/design/VisitorImpl.java
index 84aefee..84aefee 100644
--- a/src/java/net/sf/antcontrib/design/VisitorImpl.java
+++ b/src/main/java/net/sf/antcontrib/design/VisitorImpl.java
diff --git a/src/java/net/sf/antcontrib/inifile/IniFile.java b/src/main/java/net/sf/antcontrib/inifile/IniFile.java
index 8941be5..8941be5 100644
--- a/src/java/net/sf/antcontrib/inifile/IniFile.java
+++ b/src/main/java/net/sf/antcontrib/inifile/IniFile.java
diff --git a/src/java/net/sf/antcontrib/inifile/IniFileTask.java b/src/main/java/net/sf/antcontrib/inifile/IniFileTask.java
index 2da6ff5..2da6ff5 100644
--- a/src/java/net/sf/antcontrib/inifile/IniFileTask.java
+++ b/src/main/java/net/sf/antcontrib/inifile/IniFileTask.java
diff --git a/src/java/net/sf/antcontrib/inifile/IniPart.java b/src/main/java/net/sf/antcontrib/inifile/IniPart.java
index b7e07f1..b7e07f1 100644
--- a/src/java/net/sf/antcontrib/inifile/IniPart.java
+++ b/src/main/java/net/sf/antcontrib/inifile/IniPart.java
diff --git a/src/java/net/sf/antcontrib/inifile/IniProperty.java b/src/main/java/net/sf/antcontrib/inifile/IniProperty.java
index 49a61af..49a61af 100644
--- a/src/java/net/sf/antcontrib/inifile/IniProperty.java
+++ b/src/main/java/net/sf/antcontrib/inifile/IniProperty.java
diff --git a/src/java/net/sf/antcontrib/inifile/IniSection.java b/src/main/java/net/sf/antcontrib/inifile/IniSection.java
index da98859..da98859 100644
--- a/src/java/net/sf/antcontrib/inifile/IniSection.java
+++ b/src/main/java/net/sf/antcontrib/inifile/IniSection.java
diff --git a/src/java/net/sf/antcontrib/input/GUIInputHandler.java b/src/main/java/net/sf/antcontrib/input/GUIInputHandler.java
index 82f7abe..82f7abe 100644
--- a/src/java/net/sf/antcontrib/input/GUIInputHandler.java
+++ b/src/main/java/net/sf/antcontrib/input/GUIInputHandler.java
diff --git a/src/java/net/sf/antcontrib/logic/AntCallBack.java b/src/main/java/net/sf/antcontrib/logic/AntCallBack.java
index 5a92cc4..5a92cc4 100644
--- a/src/java/net/sf/antcontrib/logic/AntCallBack.java
+++ b/src/main/java/net/sf/antcontrib/logic/AntCallBack.java
diff --git a/src/java/net/sf/antcontrib/logic/AntFetch.java b/src/main/java/net/sf/antcontrib/logic/AntFetch.java
index 177bb9e..177bb9e 100644
--- a/src/java/net/sf/antcontrib/logic/AntFetch.java
+++ b/src/main/java/net/sf/antcontrib/logic/AntFetch.java
diff --git a/src/java/net/sf/antcontrib/logic/Assert.java b/src/main/java/net/sf/antcontrib/logic/Assert.java
index 5a6f0a1..5a6f0a1 100644
--- a/src/java/net/sf/antcontrib/logic/Assert.java
+++ b/src/main/java/net/sf/antcontrib/logic/Assert.java
diff --git a/src/java/net/sf/antcontrib/logic/ForEach.java b/src/main/java/net/sf/antcontrib/logic/ForEach.java
index ad822f0..ad822f0 100644
--- a/src/java/net/sf/antcontrib/logic/ForEach.java
+++ b/src/main/java/net/sf/antcontrib/logic/ForEach.java
diff --git a/src/java/net/sf/antcontrib/logic/ForTask.java b/src/main/java/net/sf/antcontrib/logic/ForTask.java
index 4290c19..4290c19 100644
--- a/src/java/net/sf/antcontrib/logic/ForTask.java
+++ b/src/main/java/net/sf/antcontrib/logic/ForTask.java
diff --git a/src/java/net/sf/antcontrib/logic/IfTask.java b/src/main/java/net/sf/antcontrib/logic/IfTask.java
index 4d538df..4d538df 100644
--- a/src/java/net/sf/antcontrib/logic/IfTask.java
+++ b/src/main/java/net/sf/antcontrib/logic/IfTask.java
diff --git a/src/java/net/sf/antcontrib/logic/OutOfDate.java b/src/main/java/net/sf/antcontrib/logic/OutOfDate.java
index c0958b2..c0958b2 100644
--- a/src/java/net/sf/antcontrib/logic/OutOfDate.java
+++ b/src/main/java/net/sf/antcontrib/logic/OutOfDate.java
diff --git a/src/java/net/sf/antcontrib/logic/ProjectDelegate.java b/src/main/java/net/sf/antcontrib/logic/ProjectDelegate.java
index f5e2553..f5e2553 100644
--- a/src/java/net/sf/antcontrib/logic/ProjectDelegate.java
+++ b/src/main/java/net/sf/antcontrib/logic/ProjectDelegate.java
diff --git a/src/java/net/sf/antcontrib/logic/Relentless.java b/src/main/java/net/sf/antcontrib/logic/Relentless.java
index 63cabc9..63cabc9 100644
--- a/src/java/net/sf/antcontrib/logic/Relentless.java
+++ b/src/main/java/net/sf/antcontrib/logic/Relentless.java
diff --git a/src/java/net/sf/antcontrib/logic/RunTargetTask.java b/src/main/java/net/sf/antcontrib/logic/RunTargetTask.java
index 16b87ca..16b87ca 100644
--- a/src/java/net/sf/antcontrib/logic/RunTargetTask.java
+++ b/src/main/java/net/sf/antcontrib/logic/RunTargetTask.java
diff --git a/src/java/net/sf/antcontrib/logic/Switch.java b/src/main/java/net/sf/antcontrib/logic/Switch.java
index 14f31ec..14f31ec 100644
--- a/src/java/net/sf/antcontrib/logic/Switch.java
+++ b/src/main/java/net/sf/antcontrib/logic/Switch.java
diff --git a/src/java/net/sf/antcontrib/logic/Throw.java b/src/main/java/net/sf/antcontrib/logic/Throw.java
index 552de46..552de46 100644
--- a/src/java/net/sf/antcontrib/logic/Throw.java
+++ b/src/main/java/net/sf/antcontrib/logic/Throw.java
diff --git a/src/java/net/sf/antcontrib/logic/TimestampSelector.java b/src/main/java/net/sf/antcontrib/logic/TimestampSelector.java
index da4ccd8..da4ccd8 100644
--- a/src/java/net/sf/antcontrib/logic/TimestampSelector.java
+++ b/src/main/java/net/sf/antcontrib/logic/TimestampSelector.java
diff --git a/src/java/net/sf/antcontrib/logic/TryCatchTask.java b/src/main/java/net/sf/antcontrib/logic/TryCatchTask.java
index 11d31bf..11d31bf 100644
--- a/src/java/net/sf/antcontrib/logic/TryCatchTask.java
+++ b/src/main/java/net/sf/antcontrib/logic/TryCatchTask.java
diff --git a/src/java/net/sf/antcontrib/logic/condition/BooleanConditionBase.java b/src/main/java/net/sf/antcontrib/logic/condition/BooleanConditionBase.java
index f99f819..f99f819 100644
--- a/src/java/net/sf/antcontrib/logic/condition/BooleanConditionBase.java
+++ b/src/main/java/net/sf/antcontrib/logic/condition/BooleanConditionBase.java
diff --git a/src/java/net/sf/antcontrib/logic/condition/IsGreaterThan.java b/src/main/java/net/sf/antcontrib/logic/condition/IsGreaterThan.java
index d360825..d360825 100644
--- a/src/java/net/sf/antcontrib/logic/condition/IsGreaterThan.java
+++ b/src/main/java/net/sf/antcontrib/logic/condition/IsGreaterThan.java
diff --git a/src/java/net/sf/antcontrib/logic/condition/IsLessThan.java b/src/main/java/net/sf/antcontrib/logic/condition/IsLessThan.java
index 64c676c..64c676c 100644
--- a/src/java/net/sf/antcontrib/logic/condition/IsLessThan.java
+++ b/src/main/java/net/sf/antcontrib/logic/condition/IsLessThan.java
diff --git a/src/java/net/sf/antcontrib/logic/condition/IsPropertyFalse.java b/src/main/java/net/sf/antcontrib/logic/condition/IsPropertyFalse.java
index 479f9fd..479f9fd 100644
--- a/src/java/net/sf/antcontrib/logic/condition/IsPropertyFalse.java
+++ b/src/main/java/net/sf/antcontrib/logic/condition/IsPropertyFalse.java
diff --git a/src/java/net/sf/antcontrib/logic/condition/IsPropertyTrue.java b/src/main/java/net/sf/antcontrib/logic/condition/IsPropertyTrue.java
index d1060ab..d1060ab 100644
--- a/src/java/net/sf/antcontrib/logic/condition/IsPropertyTrue.java
+++ b/src/main/java/net/sf/antcontrib/logic/condition/IsPropertyTrue.java
diff --git a/src/java/net/sf/antcontrib/math/Evaluateable.java b/src/main/java/net/sf/antcontrib/math/Evaluateable.java
index 2e56967..2e56967 100644
--- a/src/java/net/sf/antcontrib/math/Evaluateable.java
+++ b/src/main/java/net/sf/antcontrib/math/Evaluateable.java
diff --git a/src/java/net/sf/antcontrib/math/Math.java b/src/main/java/net/sf/antcontrib/math/Math.java
index 984a2ce..984a2ce 100644
--- a/src/java/net/sf/antcontrib/math/Math.java
+++ b/src/main/java/net/sf/antcontrib/math/Math.java
diff --git a/src/java/net/sf/antcontrib/math/MathTask.java b/src/main/java/net/sf/antcontrib/math/MathTask.java
index 3250a62..3250a62 100644
--- a/src/java/net/sf/antcontrib/math/MathTask.java
+++ b/src/main/java/net/sf/antcontrib/math/MathTask.java
diff --git a/src/java/net/sf/antcontrib/math/Numeric.java b/src/main/java/net/sf/antcontrib/math/Numeric.java
index 1164e14..1164e14 100644
--- a/src/java/net/sf/antcontrib/math/Numeric.java
+++ b/src/main/java/net/sf/antcontrib/math/Numeric.java
diff --git a/src/java/net/sf/antcontrib/math/Operation.java b/src/main/java/net/sf/antcontrib/math/Operation.java
index 8727a10..8727a10 100644
--- a/src/java/net/sf/antcontrib/math/Operation.java
+++ b/src/main/java/net/sf/antcontrib/math/Operation.java
diff --git a/src/java/net/sf/antcontrib/net/PostTask.java b/src/main/java/net/sf/antcontrib/net/PostTask.java
index 4f1d5b0..4f1d5b0 100644
--- a/src/java/net/sf/antcontrib/net/PostTask.java
+++ b/src/main/java/net/sf/antcontrib/net/PostTask.java
diff --git a/src/java/net/sf/antcontrib/net/Prop.java b/src/main/java/net/sf/antcontrib/net/Prop.java
index 8e4fdcb..8e4fdcb 100644
--- a/src/java/net/sf/antcontrib/net/Prop.java
+++ b/src/main/java/net/sf/antcontrib/net/Prop.java
diff --git a/src/java/net/sf/antcontrib/net/URLImportTask.java b/src/main/java/net/sf/antcontrib/net/URLImportTask.java
index a155767..a155767 100755
--- a/src/java/net/sf/antcontrib/net/URLImportTask.java
+++ b/src/main/java/net/sf/antcontrib/net/URLImportTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/AbstractHttpStateTypeTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/AbstractHttpStateTypeTask.java
index 3212552..3212552 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/AbstractHttpStateTypeTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/AbstractHttpStateTypeTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/AbstractMethodTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/AbstractMethodTask.java
index 1cb65cd..1cb65cd 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/AbstractMethodTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/AbstractMethodTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/AddCookieTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/AddCookieTask.java
index f68c84b..f68c84b 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/AddCookieTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/AddCookieTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/AddCredentialsTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/AddCredentialsTask.java
index 91ae9f2..91ae9f2 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/AddCredentialsTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/AddCredentialsTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/ClearCookiesTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/ClearCookiesTask.java
index d5f91db..d5f91db 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/ClearCookiesTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/ClearCookiesTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/ClearCredentialsTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/ClearCredentialsTask.java
index cfd0923..cfd0923 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/ClearCredentialsTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/ClearCredentialsTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/ClientParams.java b/src/main/java/net/sf/antcontrib/net/httpclient/ClientParams.java
index 816c3d8..816c3d8 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/ClientParams.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/ClientParams.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/Credentials.java b/src/main/java/net/sf/antcontrib/net/httpclient/Credentials.java
index 84ecd98..84ecd98 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/Credentials.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/Credentials.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/GetCookieTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/GetCookieTask.java
index 9287145..9287145 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/GetCookieTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/GetCookieTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/GetMethodTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/GetMethodTask.java
index 321ef23..321ef23 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/GetMethodTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/GetMethodTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/HeadMethodTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/HeadMethodTask.java
index 6366011..6366011 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/HeadMethodTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/HeadMethodTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/HostConfig.java b/src/main/java/net/sf/antcontrib/net/httpclient/HostConfig.java
index d4be4a8..d4be4a8 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/HostConfig.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/HostConfig.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/HostParams.java b/src/main/java/net/sf/antcontrib/net/httpclient/HostParams.java
index 0a441c5..0a441c5 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/HostParams.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/HostParams.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/HttpClientType.java b/src/main/java/net/sf/antcontrib/net/httpclient/HttpClientType.java
index 64365ac..64365ac 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/HttpClientType.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/HttpClientType.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/HttpStateType.java b/src/main/java/net/sf/antcontrib/net/httpclient/HttpStateType.java
index bd3279e..bd3279e 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/HttpStateType.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/HttpStateType.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/MethodParams.java b/src/main/java/net/sf/antcontrib/net/httpclient/MethodParams.java
index a61ad02..a61ad02 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/MethodParams.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/MethodParams.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/Params.java b/src/main/java/net/sf/antcontrib/net/httpclient/Params.java
index aab388c..aab388c 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/Params.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/Params.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java
index c41cc21..c41cc21 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/PostMethodTask.java
diff --git a/src/java/net/sf/antcontrib/net/httpclient/PurgeExpiredCookiesTask.java b/src/main/java/net/sf/antcontrib/net/httpclient/PurgeExpiredCookiesTask.java
index 4146b8e..4146b8e 100644
--- a/src/java/net/sf/antcontrib/net/httpclient/PurgeExpiredCookiesTask.java
+++ b/src/main/java/net/sf/antcontrib/net/httpclient/PurgeExpiredCookiesTask.java
diff --git a/src/java/net/sf/antcontrib/perf/AntPerformanceListener.java b/src/main/java/net/sf/antcontrib/perf/AntPerformanceListener.java
index ba8ea5b..ba8ea5b 100644
--- a/src/java/net/sf/antcontrib/perf/AntPerformanceListener.java
+++ b/src/main/java/net/sf/antcontrib/perf/AntPerformanceListener.java
diff --git a/src/java/net/sf/antcontrib/perf/StopWatch.java b/src/main/java/net/sf/antcontrib/perf/StopWatch.java
index ddb3324..ddb3324 100644
--- a/src/java/net/sf/antcontrib/perf/StopWatch.java
+++ b/src/main/java/net/sf/antcontrib/perf/StopWatch.java
diff --git a/src/java/net/sf/antcontrib/perf/StopWatchTask.java b/src/main/java/net/sf/antcontrib/perf/StopWatchTask.java
index 5de4163..5de4163 100644
--- a/src/java/net/sf/antcontrib/perf/StopWatchTask.java
+++ b/src/main/java/net/sf/antcontrib/perf/StopWatchTask.java
diff --git a/src/java/net/sf/antcontrib/platform/OsFamily.java b/src/main/java/net/sf/antcontrib/platform/OsFamily.java
index 851969b..851969b 100644
--- a/src/java/net/sf/antcontrib/platform/OsFamily.java
+++ b/src/main/java/net/sf/antcontrib/platform/OsFamily.java
diff --git a/src/java/net/sf/antcontrib/platform/Platform.java b/src/main/java/net/sf/antcontrib/platform/Platform.java
index 23e32f6..23e32f6 100644
--- a/src/java/net/sf/antcontrib/platform/Platform.java
+++ b/src/main/java/net/sf/antcontrib/platform/Platform.java
diff --git a/src/java/net/sf/antcontrib/platform/ShellScriptTask.java b/src/main/java/net/sf/antcontrib/platform/ShellScriptTask.java
index 3b34d8f..3b34d8f 100644
--- a/src/java/net/sf/antcontrib/platform/ShellScriptTask.java
+++ b/src/main/java/net/sf/antcontrib/platform/ShellScriptTask.java
diff --git a/src/java/net/sf/antcontrib/process/ForgetTask.java b/src/main/java/net/sf/antcontrib/process/ForgetTask.java
index 69990bd..69990bd 100644
--- a/src/java/net/sf/antcontrib/process/ForgetTask.java
+++ b/src/main/java/net/sf/antcontrib/process/ForgetTask.java
diff --git a/src/java/net/sf/antcontrib/process/Limit.java b/src/main/java/net/sf/antcontrib/process/Limit.java
index b9cd7df..b9cd7df 100644
--- a/src/java/net/sf/antcontrib/process/Limit.java
+++ b/src/main/java/net/sf/antcontrib/process/Limit.java
diff --git a/src/java/net/sf/antcontrib/property/AbstractPropertySetterTask.java b/src/main/java/net/sf/antcontrib/property/AbstractPropertySetterTask.java
index 87b594f..87b594f 100644
--- a/src/java/net/sf/antcontrib/property/AbstractPropertySetterTask.java
+++ b/src/main/java/net/sf/antcontrib/property/AbstractPropertySetterTask.java
diff --git a/src/java/net/sf/antcontrib/property/PathFilterTask.java b/src/main/java/net/sf/antcontrib/property/PathFilterTask.java
index 9547923..9547923 100644
--- a/src/java/net/sf/antcontrib/property/PathFilterTask.java
+++ b/src/main/java/net/sf/antcontrib/property/PathFilterTask.java
diff --git a/src/java/net/sf/antcontrib/property/PathToFileSet.java b/src/main/java/net/sf/antcontrib/property/PathToFileSet.java
index d1231af..d1231af 100644
--- a/src/java/net/sf/antcontrib/property/PathToFileSet.java
+++ b/src/main/java/net/sf/antcontrib/property/PathToFileSet.java
diff --git a/src/java/net/sf/antcontrib/property/PropertyCopy.java b/src/main/java/net/sf/antcontrib/property/PropertyCopy.java
index 558c4ac..558c4ac 100644
--- a/src/java/net/sf/antcontrib/property/PropertyCopy.java
+++ b/src/main/java/net/sf/antcontrib/property/PropertyCopy.java
diff --git a/src/java/net/sf/antcontrib/property/PropertySelector.java b/src/main/java/net/sf/antcontrib/property/PropertySelector.java
index 23328c4..23328c4 100644
--- a/src/java/net/sf/antcontrib/property/PropertySelector.java
+++ b/src/main/java/net/sf/antcontrib/property/PropertySelector.java
diff --git a/src/java/net/sf/antcontrib/property/RegexTask.java b/src/main/java/net/sf/antcontrib/property/RegexTask.java
index 433835f..433835f 100644
--- a/src/java/net/sf/antcontrib/property/RegexTask.java
+++ b/src/main/java/net/sf/antcontrib/property/RegexTask.java
diff --git a/src/java/net/sf/antcontrib/property/RegexUtil.java b/src/main/java/net/sf/antcontrib/property/RegexUtil.java
index 0a8b350..0a8b350 100644
--- a/src/java/net/sf/antcontrib/property/RegexUtil.java
+++ b/src/main/java/net/sf/antcontrib/property/RegexUtil.java
diff --git a/src/java/net/sf/antcontrib/property/SortList.java b/src/main/java/net/sf/antcontrib/property/SortList.java
index f6e9440..f6e9440 100644
--- a/src/java/net/sf/antcontrib/property/SortList.java
+++ b/src/main/java/net/sf/antcontrib/property/SortList.java
diff --git a/src/java/net/sf/antcontrib/property/URLEncodeTask.java b/src/main/java/net/sf/antcontrib/property/URLEncodeTask.java
index cb11365..cb11365 100644
--- a/src/java/net/sf/antcontrib/property/URLEncodeTask.java
+++ b/src/main/java/net/sf/antcontrib/property/URLEncodeTask.java
diff --git a/src/java/net/sf/antcontrib/property/Variable.java b/src/main/java/net/sf/antcontrib/property/Variable.java
index 013014c..013014c 100644
--- a/src/java/net/sf/antcontrib/property/Variable.java
+++ b/src/main/java/net/sf/antcontrib/property/Variable.java
diff --git a/src/java/net/sf/antcontrib/util/Reflector.java b/src/main/java/net/sf/antcontrib/util/Reflector.java
index ab6decc..ab6decc 100644
--- a/src/java/net/sf/antcontrib/util/Reflector.java
+++ b/src/main/java/net/sf/antcontrib/util/Reflector.java
diff --git a/src/java/net/sf/antcontrib/util/ThreadPool.java b/src/main/java/net/sf/antcontrib/util/ThreadPool.java
index f8b25b3..f8b25b3 100644
--- a/src/java/net/sf/antcontrib/util/ThreadPool.java
+++ b/src/main/java/net/sf/antcontrib/util/ThreadPool.java
diff --git a/src/java/net/sf/antcontrib/util/ThreadPoolThread.java b/src/main/java/net/sf/antcontrib/util/ThreadPoolThread.java
index 6170ee4..6170ee4 100644
--- a/src/java/net/sf/antcontrib/util/ThreadPoolThread.java
+++ b/src/main/java/net/sf/antcontrib/util/ThreadPoolThread.java
diff --git a/src/java/net/sf/antcontrib/walls/CompileWithWalls.java b/src/main/java/net/sf/antcontrib/walls/CompileWithWalls.java
index 4b6548f..4b6548f 100644
--- a/src/java/net/sf/antcontrib/walls/CompileWithWalls.java
+++ b/src/main/java/net/sf/antcontrib/walls/CompileWithWalls.java
diff --git a/src/java/net/sf/antcontrib/walls/Package.java b/src/main/java/net/sf/antcontrib/walls/Package.java
index 502b196..502b196 100644
--- a/src/java/net/sf/antcontrib/walls/Package.java
+++ b/src/main/java/net/sf/antcontrib/walls/Package.java
diff --git a/src/java/net/sf/antcontrib/walls/SilentCopy.java b/src/main/java/net/sf/antcontrib/walls/SilentCopy.java
index d188952..d188952 100644
--- a/src/java/net/sf/antcontrib/walls/SilentCopy.java
+++ b/src/main/java/net/sf/antcontrib/walls/SilentCopy.java
diff --git a/src/java/net/sf/antcontrib/walls/SilentMove.java b/src/main/java/net/sf/antcontrib/walls/SilentMove.java
index 721472a..721472a 100644
--- a/src/java/net/sf/antcontrib/walls/SilentMove.java
+++ b/src/main/java/net/sf/antcontrib/walls/SilentMove.java
diff --git a/src/java/net/sf/antcontrib/walls/Walls.java b/src/main/java/net/sf/antcontrib/walls/Walls.java
index dda11cf..dda11cf 100644
--- a/src/java/net/sf/antcontrib/walls/Walls.java
+++ b/src/main/java/net/sf/antcontrib/walls/Walls.java
diff --git a/src/java/net/sf/antcontrib/walls/WallsFileHandler.java b/src/main/java/net/sf/antcontrib/walls/WallsFileHandler.java
index f9e8f65..f9e8f65 100644
--- a/src/java/net/sf/antcontrib/walls/WallsFileHandler.java
+++ b/src/main/java/net/sf/antcontrib/walls/WallsFileHandler.java
diff --git a/src/site/fml/faq.fml b/src/site/fml/faq.fml
new file mode 100644
index 0000000..04bfb65
--- /dev/null
+++ b/src/site/fml/faq.fml
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Ant-Contrib Project under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The Ant-Contrib Project licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<faqs title="Frequently Asked Questions">
+ <part id="faq">
+
+ <faq id="hello">
+ <question>A Question?</question>
+ <answer>An Answer.</answer>
+ </faq>
+ </part>
+</faqs>
diff --git a/src/site/site.xml b/src/site/site.xml
new file mode 100644
index 0000000..c5a9407
--- /dev/null
+++ b/src/site/site.xml
@@ -0,0 +1,115 @@
+<!--
+ Licensed to the Ant-Contrib Project under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The Ant-Contrib Project licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project name="Ant-contrib Compile tasks for Apache Ant">
+ <bannerLeft>
+ <name>ant-contrib</name>
+ <href>http://ant-contrib.sourceforge.net/</href>
+ </bannerLeft>
+ <bannerRight>
+ <name>SourceForge.net Logo</name>
+ <src>http://sflogo.sourceforge.net/sflogo.php?group_id=36177&amp;type=5</src>
+ <href>http://www.sourceforge.net/</href>
+ </bannerRight>
+ <body>
+ <breadcrumbs>
+ <item name="SourceForge" href="http://www.sourceforge.net/"/>
+ <item name="ant-contrib" href="http://ant-contrib.sourceforge.net:80/"/>
+ </breadcrumbs>
+
+ <menu name="Get ant-contrib">
+ <item name="Download" href="http://sourceforge.net/project/showfiles.php?group_id=36177"/>
+ <item name="Changes" href="/changes-report.html"/>
+ <item name="License" href="/license.html"/>
+ </menu>
+
+ <menu name="About ant-contrib">
+ <item name="Usage" href="/index.html"/>
+ <item name="FAQ" href="/faq.html"/>
+ </menu>
+
+ <menu name="Tasks">
+ <item name="antclipse" href="/antdocs/ClassPathTask.html"/>
+ <item name="antserver" href="/antdocs/ServerTask.html"/>
+ <item name="compilewithwalls" href="/antdocs/CompileWithWalls.html"/>
+ <item name="forget" href="/antdocs/ForgetTask.html"/>
+ <item name="inifile" href="/antdocs/IniFileTask.html"/>
+ <item name="limit" href="/antdocs/Limit.html"/>
+ <item name="math" href="/antdocs/MathTask.html"/>
+ <item name="osfamily" href="/antdocs/OsFamily.html"/>
+ <item name="post" href="/antdocs/PostTask.html"/>
+ <item name="remoteant" href="/antdocs/ClientTask.html"/>
+ <item name="shellscript" href="/antdocs/ShellScriptTask.html"/>
+ <item name="stopwatch" href="/antdocs/StopWatchTask.html"/>
+ <item name="verifydesign" href="/antdocs/VerifyDesign.html"/>
+
+ <item name="http">
+ <item name="httpState" href="/antdocs/HttpStateType.html"/>
+ <item name="httpClient" href="/antdocs/HttpClientType.html"/>
+ <item name="getCookie" href="/antdocs/GetCookieTask.html"/>
+ <item name="addCookie" href="/antdocs/AddCookieTask.html"/>
+ <item name="clearCookies" href="/antdocs/ClearCookiesTask.html"/>
+ <item name="addCredentials" href="/antdocs/AddCredentialsTask.html"/>
+ <item name="clearCredentials" href="/antdocs/ClearCredentialsTask.html"/>
+ <item name="purgeExpiredCookies" href="/antdocs/PurgeExpiredCookiesTask.html"/>
+ <item name="postMethod" href="/antdocs/PostMethodTask.html"/>
+ <item name="getMethod" href="/antdocs/GetMethodTask.html"/>
+ <item name="headMethod" href="/antdocs/HeadMethodTask.html"/>
+ <item name="importurl" href="/antdocs/URLImportTask.html"/>
+ </item>
+ <item name="Logic">
+<!-- item name="if" href="/antdocs/IfTask.html"/ -->
+<item name="foreach" href="/antdocs/ForEach.html"/>
+<item name="for" href="/antdocs/ForTask.html"/>
+<item name="throw" href="/antdocs/Throw.html"/>
+<item name="trycatch" href="/antdocs/TryCatchTask.html"/>
+<item name="switch" href="/antdocs/Switch.html"/>
+<item name="outofdate" href="/antdocs/OutOfDate.html"/>
+<item name="runtarget" href="/antdocs/RunTargetTask.html"/>
+<item name="timestampselector" href="/antdocs/TimestampSelector.html"/>
+<item name="antcallback" href="/antdocs/AntCallBack.html"/>
+<item name="antfetch" href="/antdocs/AntFetch.html"/>
+<!-- item name="assert" href="/antdocs/Assert.html"/ -->
+<item name="relentless" href="/antdocs/Relentless.html"/>
+ </item>
+<item name="Property">
+<item name="propertycopy" href="/antdocs/PropertyCopy.html"/>
+<item name="pathtofileset" href="/antdocs/PathToFileSet.html"/>
+<item name="propertyselector" href="/antdocs/PropertySelector.html"/>
+<item name="propertyregex" href="/antdocs/RegexTask.html"/>
+<item name="sortlist" href="/antdocs/SortList.html"/>
+<item name="urlencode" href="/antdocs/URLEncodeTask.html"/>
+<item name="var" href="/antdocs/Variable.html"/>
+</item>
+ </menu>
+
+
+
+ <menu name="Community">
+ <item name="Mailing Lists" href="/mail-lists.html"/>
+ <item name="Issue Tracking" href="/issue-tracking.html"/>
+ <item name="Project Page" href="http://sourceforge.net/projects/ant-contrib/"/>
+ <item name="News" href="http://sourceforge.net/news/?group_id=36177"/>
+ </menu>
+
+ <menu name="Development">
+ <item name="Repository" href="/source-repository.html"/>
+ <item name="JavaDoc" href="/apidocs/index.html"/>
+ <item name="Continuous Integration" href="/integration.html"/>
+ </menu>
+ </body>
+</project>
diff --git a/src/taskdocs/java/net/sf/antcontrib/taskdocs/TaskDoclet.java b/src/taskdocs/java/net/sf/antcontrib/taskdocs/TaskDoclet.java
new file mode 100644
index 0000000..e3a6c3f
--- /dev/null
+++ b/src/taskdocs/java/net/sf/antcontrib/taskdocs/TaskDoclet.java
@@ -0,0 +1 @@
+/* Licensed to the Ant-Contrib Project under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The Ant-Contrib Project licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package net.sf.antcontrib.taskdocs; import com.sun.javadoc.*; import org.xml.sax.*; import org.xml.sax.helpers.AttributesImpl; import org.xml.sax.helpers.DefaultHandler; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import javax.xml.transform.Source; import javax.xml.transform.sax.SAXTransformerFactory; import javax.xml.transform.sax.TransformerHandler; import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; import java.io.File; import java.io.StringReader; import java.util.HashMap; import java.util.Iterator; import java.util.Locale; import java.util.Map; /** * This document writes an XML representation of the * Ant related Javadoc through an XSLT transform that creates xdoc files. * */ public final class TaskDoclet { /** * Process Javadoc content. * @param root root of javadoc content. * @return true if successful * @throws Exception IO exceptions and the like. */ public static boolean start(RootDoc root) throws Exception { SAXTransformerFactory tf = (SAXTransformerFactory) SAXTransformerFactory.newInstance(); Source typeStyle = new StreamSource(new File("src/taskdocs/resources/net/sf/antcontrib/taskdocs/element.xslt")); // // replace with tf.newTransformerHandler() if you want to see raw generated XML. TransformerHandler typeHandler = tf.newTransformerHandler(typeStyle); Map referencedTypes = new HashMap(); Map documentedTypes = new HashMap(); ClassDoc[] classes = root.classes(); for (int i = 0; i < classes.length; ++i) { ClassDoc clazz = classes[i]; if (clazz.isPublic() && !clazz.isAbstract()) { if (isTask(clazz) || isType(clazz)) { writeClass(typeHandler, clazz, referencedTypes); documentedTypes.put(clazz.qualifiedTypeName(), clazz); } } } Map additionalTypes = new HashMap(); for (Iterator iter = referencedTypes.keySet().iterator(); iter.hasNext();) { String referencedName = (String) iter.next(); if (documentedTypes.get(referencedName) == null) { ClassDoc referencedClass = root.classNamed(referencedName); if (referencedClass != null) { if (!referencedClass.qualifiedTypeName().startsWith("org.apache.tools.ant")) { writeClass(typeHandler, referencedClass, additionalTypes); documentedTypes.put(referencedClass.qualifiedTypeName(), referencedClass); } } } } return true; } /** * Determine if class is an Ant task. * @param clazz class to test. * @return true if class is an Ant task. */ private static boolean isTask(final ClassDoc clazz) { if (clazz == null) return false; if ("org.apache.tools.ant.Task".equals(clazz.qualifiedTypeName())) { System.out.print("true"); return true; } return isTask(clazz.superclass()); } /** * Determine if class is an Ant type. * @param clazz class to test. * @return true if class is an Ant type. */ private static boolean isType(final ClassDoc clazz) { if (clazz == null) return false; if ("org.apache.tools.ant.types.DataType".equals(clazz.qualifiedTypeName())) { return true; } return isType(clazz.superclass()); } /** * Namespace URI for class description elements. */ private static final String NS_URI = "http://ant-contrib.sf.net/taskdocs"; /** * Namespace URI for XHTML elements. */ private static final String XHTML_URI = "http://www.w3.org/1999/xhtml"; /** * Write a Java type. * @param tf content handler. * @param type documented type. * @throws Exception if IO or other exception. */ private static void writeType(final TransformerHandler tf, final Type type) throws Exception { AttributesImpl attributes = new AttributesImpl(); attributes.addAttribute(null, "name", "name", "CDATA", type.simpleTypeName()); attributes.addAttribute(null, "qualifiedTypeName", "qualifiedTypeName", "CDATA", type.qualifiedTypeName()); tf.startElement(NS_URI, "type", "type", attributes); ClassDoc typeDoc = type.asClassDoc(); if (typeDoc != null && typeDoc.commentText() != null && typeDoc.commentText().length() > 0) { writeDescription(tf, typeDoc.commentText()); } else { tf.characters(type.typeName().toCharArray(), 0, type.typeName().length()); } tf.endElement(NS_URI, "type", "type"); } /** * Write an Ant task or type attribute (aka property). * @param tf content handler. * @param method set method for property. * @throws Exception if IO or other exception. */ private static void writeAttribute(final TransformerHandler tf, final MethodDoc method) throws Exception { AttributesImpl attributes = new AttributesImpl(); attributes.addAttribute(null, "name", "name", "CDATA", method.name().substring(3).toLowerCase(Locale.US)); tf.startElement(NS_URI, "attribute", "attribute", attributes); writeType(tf, method.parameters()[0].type()); attributes.clear(); tf.startElement(NS_URI, "comment", "comment", attributes); writeDescription(tf, method.commentText()); tf.endElement(NS_URI, "comment", "comment"); tf.endElement(NS_URI, "attribute", "attribute"); } /** * Write an Ant nested element. * @param tf content handler. * @param method method to add element to task or type. * @param name name of nested element. * @param type type of nested element. * @param referencedTypes map of types referenced in documentation. * @throws Exception if IO or other exception. */ private static void writeChild(final TransformerHandler tf, final MethodDoc method, final String name, final Type type, final Map referencedTypes) throws Exception { AttributesImpl attributes = new AttributesImpl(); attributes.addAttribute(null, "name", "name", "CDATA", name.toLowerCase(Locale.US)); tf.startElement(NS_URI, "child", "child", attributes); attributes.clear(); tf.startElement(NS_URI, "comment", "comment", attributes); writeDescription(tf, method.commentText()); tf.endElement(NS_URI, "comment", "comment"); writeType(tf, type); tf.endElement(NS_URI, "child", "child"); referencedTypes.put(type.qualifiedTypeName(), type); } /** * Redirects parsed XHTML comment into output stream. * Drops start and end document and body element. */ private static class RedirectHandler extends DefaultHandler { /** * output handler. */ private final ContentHandler tf; /** * Create new instance. * @param tf output handler, may not be null. */ public RedirectHandler(final TransformerHandler tf) { if (tf == null) { throw new IllegalArgumentException("tf"); } this.tf = tf; } /** {@inheritDoc} */ public void characters(final char[] ch, final int start, final int length) throws SAXException { tf.characters(ch, start, length); } /** {@inheritDoc} */ public void endDocument() { } /** {@inheritDoc} */ public void endElement(final String namespaceURI, final String localName, final String qName) throws SAXException { if (!"body".equals(localName)) { tf.endElement(namespaceURI, localName, qName); } } /** {@inheritDoc} */ public void endPrefixMapping(final String prefix) throws SAXException { tf.endPrefixMapping(prefix); } /** {@inheritDoc} */ public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException { tf.ignorableWhitespace(ch, start, length); } /** {@inheritDoc} */ public void processingInstruction(final String target, final String data) throws SAXException { tf.processingInstruction(target, data); } /** {@inheritDoc} */ public void setDocumentLocator(final Locator locator) { tf.setDocumentLocator(locator); } /** {@inheritDoc} */ public void skippedEntity(String name) throws SAXException { tf.skippedEntity(name); } /** {@inheritDoc} */ public void startDocument() { } /** {@inheritDoc} */ public void startElement(final String namespaceURI, final String localName, final String qName, final Attributes atts) throws SAXException { if (!"body".equals(localName)) { tf.startElement(namespaceURI, localName, qName, atts); } } /** {@inheritDoc} */ public void startPrefixMapping(String prefix, String uri) throws SAXException { tf.startPrefixMapping(prefix, uri); } } /** * Writes description. * @param tf destination. * @param description description, may contain XHTML elements. * @throws SAXException if IO or other exception. */ private static void writeDescription(final TransformerHandler tf, final String description) throws SAXException { if (description.indexOf('<') == -1) { tf.characters(description.toCharArray(), 0, description.length()); } else { // // attempt to fabricate an XHTML fragment // StringBuffer buf = new StringBuffer(description); buf.insert(0, "<body xmlns='" + XHTML_URI + "'>"); buf.append("</body>"); try { SAXParserFactory sf = SAXParserFactory.newInstance(); sf.setNamespaceAware(true); SAXParser parser = sf.newSAXParser(); parser.parse(new InputSource(new StringReader(buf.toString())), new RedirectHandler(tf)); } catch (Exception ex) { tf.characters(ex.toString().toCharArray(), 0, ex.toString().length()); } } } /** * Write all Ant attributes in this class and superclasses. * @param tf destination. * @param clazz class documentation. * @param processed map of processed methods. * @param referencedTypes map of referenced types. * @throws Exception if IO or other exception. */ private static void writeAttributes(final TransformerHandler tf, final ClassDoc clazz, final Map processed, final Map referencedTypes) throws Exception { MethodDoc[] methods = clazz.methods(); for (int i = 0; i < methods.length; i++) { MethodDoc method = methods[i]; if (processed.get(method.name()) == null) { if (method.name().startsWith("set") && method.isPublic() && method.parameters().length == 1) { writeAttribute(tf, method); referencedTypes.put(method.parameters()[0].typeName(), method.parameters()[0].type()); } processed.put(method.name(), method); } } if (clazz.superclass() != null) { writeAttributes(tf, clazz.superclass(), processed, referencedTypes); } } /** * Write all Ant nested elements in this class and superclasses. * @param tf destination. * @param clazz class documentation. * @param processed map of processed methods. * @param referencedTypes map of referenced types. * @throws Exception if IO or other exception. */ private static final void writeChildren(final TransformerHandler tf, final ClassDoc clazz, final Map processed, final Map referencedTypes) throws Exception { MethodDoc[] methods = clazz.methods(); for (int i = 0; i < methods.length; i++) { MethodDoc method = methods[i]; if (processed.get(method.name()) == null) { if (method.name().startsWith("addConfigured") && method.isPublic() && method.parameters().length == 1) { writeChild(tf, method, method.name().substring(13), method.parameters()[0].type(), referencedTypes); } if (method.name().startsWith("add") && method.isPublic() && method.parameters().length == 1) { writeChild(tf, method, method.name().substring(3), method.parameters()[0].type(), referencedTypes); } if (method.isPublic() && method.parameters().length == 0 && method.name().startsWith("create")) { writeChild(tf, method, method.name().substring(6), method.returnType(), referencedTypes); } processed.put(method.name(), method); } } if (clazz.superclass() != null) { writeChildren(tf, clazz.superclass(), processed, referencedTypes); } } /** * Write Ant documentation for this class. * @param tf destination. * @param clazz class documentation. * @param referencedTypes map of referenced types. * @throws Exception if IO or other exception. */ private static void writeClass(final TransformerHandler tf, final ClassDoc clazz, final Map referencedTypes) throws Exception { StreamResult result = new StreamResult(new File("src/site/xdoc/antdocs/" + clazz.name() + ".xml")); tf.setResult(result); AttributesImpl attributes = new AttributesImpl(); attributes.addAttribute(null, "name", "name", "CDATA", clazz.name()); StringBuffer firstSentence = new StringBuffer(); Tag[] tags = clazz.firstSentenceTags(); for (int i = 0; i < tags.length; i++) { firstSentence.append(tags[i].text()); } if (firstSentence.length() > 0) { attributes.addAttribute(null, "firstSentence", "firstSentence", "CDATA", firstSentence.toString()); } tf.startDocument(); tf.startElement(NS_URI, "class", "class", attributes); attributes.clear(); tf.startElement(NS_URI, "comment", "comment", attributes); writeDescription(tf, clazz.commentText()); tf.endElement(NS_URI, "comment", "comment"); tf.startElement(NS_URI, "attributes", "attributes", attributes); Map methods = new HashMap(); methods.put("setProject", "setProject"); methods.put("setRuntimeConfigurableWrapper", "setRuntimeConfigurableWrapper"); writeAttributes(tf, clazz, methods, referencedTypes); tf.endElement(NS_URI, "attributes", "attributes"); tf.startElement(NS_URI, "children", "children", attributes); Map children = new HashMap(); writeChildren(tf, clazz, children, referencedTypes); tf.endElement(NS_URI, "children", "children"); tf.endElement(NS_URI, "class", "class"); tf.endDocument(); } } \ No newline at end of file
diff --git a/src/taskdocs/resources/net/sf/antcontrib/taskdocs/element.xslt b/src/taskdocs/resources/net/sf/antcontrib/taskdocs/element.xslt
new file mode 100644
index 0000000..b489247
--- /dev/null
+++ b/src/taskdocs/resources/net/sf/antcontrib/taskdocs/element.xslt
@@ -0,0 +1,210 @@
+<!--
+ Licensed to the Ant-Contrib Project under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The Ant-Contrib Project licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:taskdocs="http://ant-contrib.sf.net/taskdocs"
+ xmlns:xhtml="http://www.w3.org/1999/xhtml"
+ xsl:version="1.0">
+
+ <xsl:output method="xml" indent="yes"/>
+
+ <xsl:apply-templates select="/"/>
+
+ <xsl:template match="/">
+
+ <xsl:comment>
+
+Licensed to the Ant-Contrib Project under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The Ant-Contrib Project licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ </xsl:comment>
+ <document>
+ <xsl:apply-templates/>
+ </document>
+</xsl:template>
+
+ <xsl:template match="xhtml:*">
+ <xsl:element name="{local-name()}">
+ <xsl:apply-templates/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="text()">
+ <xsl:value-of select="."/>
+ </xsl:template>
+
+ <xsl:template name="pretty-name">
+ <xsl:param name="name"/>
+ <xsl:choose>
+ <xsl:when test="contains($name, 'SystemLibrarySet')">syslibset</xsl:when>
+ <xsl:when test="contains($name, 'LibrarySet')">libset</xsl:when>
+ <xsl:when test="contains($name, 'TargetDef')">targetplatform</xsl:when>
+ <xsl:when test="string-length(substring-before($name, 'Task'))">
+ <xsl:call-template name="pretty-name">
+ <xsl:with-param name="name">
+ <xsl:value-of select="substring-before($name, 'Task')"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="string-length(substring-before($name, 'Def'))">
+ <xsl:call-template name="pretty-name">
+ <xsl:with-param name="name">
+ <xsl:value-of select="substring-before($name, 'Def')"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="string-length(substring-before($name, 'Argument'))">
+ <xsl:call-template name="pretty-name">
+ <xsl:with-param name="name">
+ <xsl:value-of select="substring-before($name, 'ument')"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="translate($name, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz')"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template match="taskdocs:class">
+ <properties>
+ <title>
+ <xsl:call-template name='pretty-name'>
+ <xsl:with-param name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </title>
+ </properties>
+ <body>
+
+ <section>
+ <xsl:attribute name="name">
+ <xsl:call-template name='pretty-name'>
+ <xsl:with-param name="name">
+ <xsl:value-of select="@name"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:attribute>
+ <subsection name="Description">
+ <xsl:apply-templates select="taskdocs:comment"/>
+ </subsection>
+ <xsl:if test="taskdocs:attributes/taskdocs:attribute">
+ <subsection name="parameters">
+ <table>
+ <tr>
+ <td><b>Attribute</b></td>
+ <td><b>Description</b></td>
+ <td><b>Type</b></td>
+ </tr>
+ <xsl:apply-templates select="taskdocs:attributes/taskdocs:attribute">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ </table>
+ </subsection>
+ </xsl:if>
+ <xsl:if test="taskdocs:children/taskdocs:child">
+ <subsection name="parameters as nested elements">
+ <dl>
+ <xsl:apply-templates select="taskdocs:children/taskdocs:child">
+ <xsl:sort select="@name"/>
+ </xsl:apply-templates>
+ </dl>
+
+ </subsection>
+ </xsl:if>
+ </section>
+ </body>
+
+ </xsl:template>
+
+ <xsl:template match="taskdocs:attribute">
+ <tr>
+ <td>
+ <xsl:value-of select="@name"/>
+ </td>
+ <td>
+ <xsl:apply-templates select="taskdocs:comment"/>
+ </td>
+ <td>
+ <xsl:for-each select="taskdocs:type">
+ <xsl:call-template name="attribute-type"/>
+ </xsl:for-each>
+ </td>
+ </tr>
+
+ </xsl:template>
+
+ <xsl:template name="attribute-type">
+ <xsl:choose>
+ <xsl:when test="starts-with(@qualifiedTypeName, 'net.sf.antcontrib.cpptasks.')">
+ <a href="../apidocs/{translate(@qualifiedTypeName, '.', '/')}.html">
+ <xsl:value-of select="@name"/>
+ </a>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="@name"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+
+ <xsl:template name="child-type">
+ <xsl:param name="anchor"><xsl:value-of select="@name"/></xsl:param>
+ <xsl:element name="a">
+ <xsl:attribute name="href">
+ <xsl:choose>
+ <xsl:when test="starts-with(@qualifiedTypeName, 'net.sf.antcontrib.cpptasks')"><xsl:value-of select="@name"/>.html</xsl:when>
+ <xsl:when test="starts-with(@qualifiedTypeName, 'org.apache.tools.ant.types.PatternSet')">http://ant.apache.org/manual/CoreTypes/patternset.html</xsl:when>
+ <xsl:when test="starts-with(@qualifiedTypeName, 'org.apache.tools.ant.types.Path')">http://ant.apache.org/manual/using.html#path</xsl:when>
+ <xsl:when test="starts-with(@qualifiedTypeName, 'org.apache.tools.ant.types.Commandline')">http://ant.apache.org/manual/CoreTasks/exec.html</xsl:when>
+ <xsl:otherwise>about:blank</xsl:otherwise>
+ </xsl:choose>
+ </xsl:attribute>
+ <xsl:value-of select="$anchor"/>
+ </xsl:element>
+ </xsl:template>
+
+ <xsl:template match="taskdocs:child">
+ <dt>
+ <xsl:variable name="anchor">
+ <xsl:value-of select="@name"/>
+ </xsl:variable>
+ <xsl:for-each select="taskdocs:type">
+ <xsl:call-template name="child-type">
+ <xsl:with-param name="anchor">
+ <xsl:value-of select="$anchor"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:for-each>
+ </dt>
+ <dd><xsl:value-of select="taskdocs:comment"/></dd>
+ </xsl:template>
+
+
+</xsl:transform>