git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@371998 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -0,0 +1,312 @@ | |||
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |||
| <html lang="en"> | |||
| <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! --> | |||
| <head> | |||
| <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |||
| <title>Apache Ant - AntUnit</title> | |||
| <link type="text/css" href="../../page.css" rel="stylesheet"> | |||
| </head> | |||
| <body> | |||
| <p class="navpath"> | |||
| <script src="../../breadcrumbs.js" language="JavaScript" type="text/javascript"></script> | |||
| </p> | |||
| <div class="logobar"> | |||
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td align="left"><img border="0" alt="Apache Ant site" src="../../images/group-logo.gif"></td> | |||
| <td align="center" width="100%"><img alt="Apache Ant logo" border="0" src="../../images/project-logo.gif"></td> | |||
| <td align="right"> | |||
| <form target="_blank" onsubmit="q.value = query.value + ' site:ant.apache.org'" action="http://www.google.com/search" method="get"> | |||
| <table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="#4C6C8F"> | |||
| <tr> | |||
| <td colspan="3"><img height="10" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| </tr> | |||
| <tr> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| <td nowrap="nowrap" class="searchcaption"> | |||
| <input name="q" type="hidden"> | |||
| <input size="15" id="query" type="text"> | |||
| <img height="1" width="5" alt="" src="../../images/spacer.gif"> | |||
| <input name="Search" value="Search" type="submit"> | |||
| <br> | |||
| the Apache Ant site | |||
| </td> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| </tr> | |||
| <tr> | |||
| <td><img alt="" border="0" height="10" width="9" src="../../images/search-left.gif"></td> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| <td><img alt="" border="0" height="10" width="9" src="../../images/search-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </div> | |||
| <div class="tab"> | |||
| <table summary="tab bar" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td width="5"><img alt="" height="8" width="8" src="../../images/spacer.gif"></td><td valign="bottom"> | |||
| <table summary="non selected tab" style="height: 1.4em" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="../../images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a href="../../index.html"><font size="2" face="Arial, Helvetica, Sans-serif">Home</font></a></td><td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="../../images/tab-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| <td width="8"><img alt="" height="5" width="8" src="../../images/spacer.gif"></td><td valign="bottom"> | |||
| <table summary="selected tab" style="height: 1.5em" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="../../images/tabSel-left.gif"></td><td valign="middle" bgcolor="#4C6C8F"><font color="#ffffff" size="2" face="Arial, Helvetica, Sans-serif"><b>Projects</b></font></td><td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="../../images/tabSel-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </div> | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Projects | |||
| <ul> | |||
| <li> | |||
| <a href="../../projects/index.html">Welcome</a> | |||
| </li> | |||
| </ul> | |||
| </li> | |||
| <li class="menuheader">Ant Libraries | |||
| <ul> | |||
| <li> | |||
| <a href="../../antlibs/index.html">Introduction</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/charter.html">Charter</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/proper.html">Ant Libraries</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/sandbox.html">Sandbox Ant Libraries</a> | |||
| </li> | |||
| </ul> | |||
| </li> | |||
| </ul> | |||
| </div> | |||
| <img style="float: left" height="10" width="10" border="0" alt="" src="../../images/menu-left.gif"> | |||
| <img style="float: right" height="10" width="10" border="0" alt="" src="../../images/menu-right.gif"> | |||
| </div> | |||
| <div class="lightbluebar"> </div> | |||
| <div class="main"> | |||
| <div class="content"> | |||
| <h1 class="title">AntUnit</h1> | |||
| <h3 class="section"> | |||
| <a name="Idea"></a> | |||
| Idea | |||
| </h3> | |||
| <p>Initially all tests for Ant tasks were written as individual | |||
| <a href="http://www.junit.org/">JUnit</a> test cases. Pretty | |||
| soon it was clear that most tests needed to perform common tasks | |||
| like reading a build file, intializing a project instance with | |||
| it and executing a target. At this point <a href="http://svn.apache.org/viewcvs.cgi/ant/core/trunk/src/testcases/org/apache/tools/ant/BuildFileTest.java">BuildFileTest</a> | |||
| was invented, a base class for almost all task test cases.</p> | |||
| <p>BuildFileTest works fine and in fact has been picked up by <a href="http://ant-contrib.sf.net/">the Ant-Contrib Project</a> | |||
| and others as well.</p> | |||
| <p>Over time a new pattern evolved, more and more tests only | |||
| executed a target and didn't check any effects. Instead that | |||
| target contained the assertions as a <code><fail></code> | |||
| task. This is an example taken from the build file for the | |||
| ANTLR task (using Ant 1.7 features):</p> | |||
| <pre class="code"> | |||
| <target name="test3" depends="setup"> | |||
| <antlr target="antlr.g" outputdirectory="${tmp.dir}"/> | |||
| <fail> | |||
| <condition> | |||
| <!-- to prove each of these files exists; | |||
| ANTLR >= 2.7.6 leaves behind new (.smap) files as well. --> | |||
| <resourcecount when="ne" count="5"> | |||
| <fileset dir="${tmp.dir}"> | |||
| <include name="CalcParserTokenTypes.txt" /> | |||
| <include name="CalcParserTokenTypes.java" /> | |||
| <include name="CalcLexer.java" /> | |||
| <include name="CalcParser.java" /> | |||
| <include name="CalcTreeWalker.java" /> | |||
| </fileset> | |||
| </resourcecount> | |||
| </condition> | |||
| </fail> | |||
| </target> | |||
| </pre> | |||
| <p>where the corresponding JUnit testcase has been reduced | |||
| to</p> | |||
| <pre class="code"> | |||
| ... | |||
| public class ANTLRTest extends BuildFileTest { | |||
| private final static String TASKDEFS_DIR = "src/etc/testcases/taskdefs/optional/antlr/"; | |||
| public ANTLRTest(String name) { | |||
| super(name); | |||
| } | |||
| public void setUp() { | |||
| configureProject(TASKDEFS_DIR + "antlr.xml"); | |||
| } | |||
| public void tearDown() { | |||
| executeTarget("cleanup"); | |||
| } | |||
| public void test3() { | |||
| executeTarget("test3"); | |||
| } | |||
| ... | |||
| } | |||
| </pre> | |||
| <p>This approach has a couple of advantages, one of them is that | |||
| it is very easy to translate an example build file from a bug | |||
| report into a test case. If you ask a user for a testcase for a | |||
| given bug in Ant, he now doesn't need to understand JUnit or how | |||
| to fit a test into Ant's existing tests any more.</p> | |||
| <p>AntUnit takes this approach to testing even further, it | |||
| removes JUnit completely and it comes with a set of predefined | |||
| <code><assert></code> tasks in order to reuse common kind | |||
| of checks.</p> | |||
| <p>It turns out that AntUnit lends itself as a solution to other | |||
| problems as well. The assertions are an easy way to validate a | |||
| setup before even starting the build process, for example. | |||
| AntUnit could also be used for functional and integration tests | |||
| outside of the scope of Ant tasks (assert contents of databases | |||
| after running an application, assert contents of HTTP responses | |||
| ...). This is an area that will need more research.</p> | |||
| <h3 class="section"> | |||
| <a name="Concepts"></a> | |||
| Concepts | |||
| </h3> | |||
| <h4 class="subsection"> | |||
| <a name="antunit Task"></a> | |||
| antunit Task | |||
| </h4> | |||
| <p>The <antunit> task drives the tests much like | |||
| <junit> does for JUnit tests.</p> | |||
| <p>When called on a build file, the task will start a new Ant | |||
| project for that build file and scan for targets with names | |||
| that start with "test". For each such target it then will</p> | |||
| <ol> | |||
| <li>Execute the target named setUp, if there is one.</li> | |||
| <li>Execute the target itself - if this target depends on | |||
| other targets the normal Ant rules apply and the dependent | |||
| targets are executed first.</li> | |||
| <li>Execute the target names tearDown, if there is one.</li> | |||
| </ol> | |||
| <h4 class="subsection"> | |||
| <a name="Assertions"></a> | |||
| Assertions | |||
| </h4> | |||
| <p>The base task is <code><assertTrue></code>. It | |||
| accepts a single nested condition and throws a subclass of | |||
| BuildException named AssertionFailedException if that | |||
| condition evaluates to false.</p> | |||
| <p>This task could have been implemented using | |||
| <code><macrodef></code> and <code><fail></code>, | |||
| but in fact it is a "real" task so that it is possible to | |||
| throw a subclass of BuildException. The | |||
| <code><antunit></code> task catches this exception and | |||
| marks the target as failed, any other type of Exception | |||
| (including other BuildException) are test errors.</p> | |||
| <p>Together with <code><assertTrue></code> there are | |||
| many predefined assertions for common conditions, most of | |||
| these are only macros.</p> | |||
| <h4 class="subsection"> | |||
| <a name="Other Tasks"></a> | |||
| Other Tasks | |||
| </h4> | |||
| <p>The <code><logcapturer></code> captures all messages | |||
| that pass Ant's logging system and provides them via a | |||
| reference inside of the project. If you want to assert | |||
| certain log messages, you need to start this task (prior to | |||
| your target under test) and use the | |||
| <code><assertLogContains></code> assertion.</p> | |||
| <p><code><expectFailure></code> is a task container that | |||
| catches any BuildException thrown by tasks nested into it. If | |||
| no exception has been thrown it will cause a test failure (by | |||
| throwing an AssertionFailedException).</p> | |||
| <h4 class="subsection"> | |||
| <a name="AntUnitListener"></a> | |||
| AntUnitListener | |||
| </h4> | |||
| <p>Part of the library is the <code>AntUnitListener</code> | |||
| interface that can be used to record test results. The | |||
| <antunit> task accepts arbitrary many listeners and | |||
| relays test results to them.</p> | |||
| <p>Currently only a single implementation | |||
| <code><plainlistener></code> modelled after the "plain" | |||
| JUnit listener is bundeled with the library.</p> | |||
| <h3 class="section"> | |||
| <a name="Examples"></a> | |||
| Examples | |||
| </h3> | |||
| <p>This is a way to test that <code><touch></code> | |||
| actually creates a file if it doesn't exist:</p> | |||
| <pre class="code"> | |||
| <project xmlns:au="antlib:org.apache.ant.antunit"> | |||
| <!-- is called prior to the test --> | |||
| <target name="setUp"> | |||
| <property name="foo" value="foo"/> | |||
| </target> | |||
| <!-- is called after the test, if if that causes an error --> | |||
| <target name="tearDown"> | |||
| <delete file="${foo}" quiet="true"/> | |||
| </target> | |||
| <!-- the actual test case --> | |||
| <target name="testTouchCreatesFile"> | |||
| <au:assertFileDoesntExist name="${foo}"/> | |||
| <touch file="${foo}"/> | |||
| <au:assertFileExists name="${foo}"/> | |||
| </target> | |||
| </project> | |||
| </pre> | |||
| <p>When running a task like</p> | |||
| <pre class="code"> | |||
| <au:antunit> | |||
| <fileset dir="." includes="touch.xml"/> | |||
| <au:plainlistener/> | |||
| </au:antunit> | |||
| </pre> | |||
| <p>from a buildfile of its own you'll get a result that looks like</p> | |||
| <pre class="code"> | |||
| </pre> | |||
| </div> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| </script> | |||
| </p> | |||
| </body> | |||
| </html> | |||
| @@ -73,12 +73,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Projects | |||
| @@ -290,7 +285,7 @@ Note: | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -0,0 +1,252 @@ | |||
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |||
| <html lang="en"> | |||
| <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! --> | |||
| <head> | |||
| <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |||
| <title>Apache Ant - .NET Ant Library</title> | |||
| <link type="text/css" href="../../page.css" rel="stylesheet"> | |||
| </head> | |||
| <body> | |||
| <p class="navpath"> | |||
| <script src="../../breadcrumbs.js" language="JavaScript" type="text/javascript"></script> | |||
| </p> | |||
| <div class="logobar"> | |||
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td align="left"><img border="0" alt="Apache Ant site" src="../../images/group-logo.gif"></td> | |||
| <td align="center" width="100%"><img alt="Apache Ant logo" border="0" src="../../images/project-logo.gif"></td> | |||
| <td align="right"> | |||
| <form target="_blank" onsubmit="q.value = query.value + ' site:ant.apache.org'" action="http://www.google.com/search" method="get"> | |||
| <table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="#4C6C8F"> | |||
| <tr> | |||
| <td colspan="3"><img height="10" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| </tr> | |||
| <tr> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| <td nowrap="nowrap" class="searchcaption"> | |||
| <input name="q" type="hidden"> | |||
| <input size="15" id="query" type="text"> | |||
| <img height="1" width="5" alt="" src="../../images/spacer.gif"> | |||
| <input name="Search" value="Search" type="submit"> | |||
| <br> | |||
| the Apache Ant site | |||
| </td> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| </tr> | |||
| <tr> | |||
| <td><img alt="" border="0" height="10" width="9" src="../../images/search-left.gif"></td> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| <td><img alt="" border="0" height="10" width="9" src="../../images/search-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </div> | |||
| <div class="tab"> | |||
| <table summary="tab bar" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td width="5"><img alt="" height="8" width="8" src="../../images/spacer.gif"></td><td valign="bottom"> | |||
| <table summary="non selected tab" style="height: 1.4em" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="../../images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a href="../../index.html"><font size="2" face="Arial, Helvetica, Sans-serif">Home</font></a></td><td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="../../images/tab-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| <td width="8"><img alt="" height="5" width="8" src="../../images/spacer.gif"></td><td valign="bottom"> | |||
| <table summary="selected tab" style="height: 1.5em" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="../../images/tabSel-left.gif"></td><td valign="middle" bgcolor="#4C6C8F"><font color="#ffffff" size="2" face="Arial, Helvetica, Sans-serif"><b>Projects</b></font></td><td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="../../images/tabSel-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </div> | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Projects | |||
| <ul> | |||
| <li> | |||
| <a href="../../projects/index.html">Welcome</a> | |||
| </li> | |||
| </ul> | |||
| </li> | |||
| <li class="menuheader">Ant Libraries | |||
| <ul> | |||
| <li> | |||
| <a href="../../antlibs/index.html">Introduction</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/charter.html">Charter</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/proper.html">Ant Libraries</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/sandbox.html">Sandbox Ant Libraries</a> | |||
| </li> | |||
| </ul> | |||
| </li> | |||
| </ul> | |||
| </div> | |||
| <img style="float: left" height="10" width="10" border="0" alt="" src="../../images/menu-left.gif"> | |||
| <img style="float: right" height="10" width="10" border="0" alt="" src="../../images/menu-right.gif"> | |||
| </div> | |||
| <div class="lightbluebar"> </div> | |||
| <div class="main"> | |||
| <div class="content"> | |||
| <h1 class="title">.NET Ant Library</h1> | |||
| <h3 class="section"> | |||
| <a name="Idea"></a> | |||
| Idea | |||
| </h3> | |||
| <p>This library doesn't strive to replace NAnt or MSBuild, its | |||
| main purpose is to help those of us who work on projects | |||
| crossing platform boundaries. With this library you can use Ant | |||
| to build and test the Java as well as the .NET parts of your | |||
| project.</p> | |||
| <p>This library provides a special version of the | |||
| <code><exec></code> task tailored to run .NET executables. | |||
| On Windows it will assume the Microsoft framework is around and | |||
| run the executable directly, while it will invoke Mono on any | |||
| other platform. Of course you can override these | |||
| assumptions.</p> | |||
| <p>Based on this a few tasks to run well known .NET utilities | |||
| from within Ant are provided, namely tasks to run <a href="http://www.nunit.org/">NUnit</a>, <a href="http://nant.sf.net/">NAnt</a> and <a href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=27&SiteID=1">MSBuild</a>.</p> | |||
| <p>There also is some experimental <a href="http://wix.sf.net/">Wix</a> task, but it probably doesn't | |||
| do anything useful at all.</p> | |||
| <h3 class="section"> | |||
| <a name="Tasks"></a> | |||
| Tasks | |||
| </h3> | |||
| <h4 class="subsection"> | |||
| <a name="dotnetexec"></a> | |||
| dotnetexec | |||
| </h4> | |||
| <p>Runs a .NET executable.</p> | |||
| <h4 class="subsection"> | |||
| <a name="nunit"></a> | |||
| nunit | |||
| </h4> | |||
| <p>Runs NUnit tests.</p> | |||
| <h4 class="subsection"> | |||
| <a name="nant"></a> | |||
| nant | |||
| </h4> | |||
| <p>Invokes NAnt, either on an external file or a build file | |||
| snippet contained inside your Ant build file.</p> | |||
| <h4 class="subsection"> | |||
| <a name="msbuild"></a> | |||
| msbuild | |||
| </h4> | |||
| <p>Invokes MSBuild, either on an external file or a build file | |||
| snippet contained inside your Ant build file.</p> | |||
| <h3 class="section"> | |||
| <a name="Examples"></a> | |||
| Examples | |||
| </h3> | |||
| <h4 class="subsection"> | |||
| <a name="nant"></a> | |||
| nant | |||
| </h4> | |||
| <pre class="code"> | |||
| <project xmlns:dn="antlib:org.apache.ant.dotnet"> | |||
| <dn:nant> | |||
| <build> | |||
| <echo message="Hello world"/> | |||
| </build> | |||
| </dn:nant> | |||
| </project> | |||
| </pre> | |||
| <p>runs NAnt on the embedded <code><echo></code> | |||
| task, output looks like</p> | |||
| <pre class="code"> | |||
| Buildfile: test.xml | |||
| [dn:nant] NAnt 0.85 (Build 0.85.1932.0; rc3; 16.04.2005) | |||
| [dn:nant] Copyright (C) 2001-2005 Gerry Shaw | |||
| [dn:nant] http://nant.sourceforge.net | |||
| [dn:nant] | |||
| [dn:nant] Buildfile: file:///c:/DOKUME~1/STEFAN~1.BOD/LOKALE~1/Temp/build1058451555.xml | |||
| [dn:nant] Target framework: Microsoft .NET Framework 1.1 | |||
| [dn:nant] | |||
| [dn:nant] [echo] Hello world | |||
| [dn:nant] | |||
| [dn:nant] BUILD SUCCEEDED | |||
| [dn:nant] | |||
| [dn:nant] Total time: 0.2 seconds. | |||
| BUILD SUCCESSFUL | |||
| Total time: 2 seconds</pre> | |||
| <h4 class="subsection"> | |||
| <a name="msbuild"></a> | |||
| msbuild | |||
| </h4> | |||
| <pre class="code"> | |||
| <project xmlns:dn="antlib:org.apache.ant.dotnet"> | |||
| <dn:msbuild> | |||
| <build> | |||
| <Message Text="Hello world" | |||
| xmlns="http://schemas.microsoft.com/developer/msbuild/2003"/> | |||
| </build> | |||
| </dn:msbuild> | |||
| </project></pre> | |||
| <p>runs MSBuild on the embedded <code><Message></code> | |||
| task, output looks like</p> | |||
| <pre class="code"> | |||
| Buildfile: test.xml | |||
| [dn:msbuild] Microsoft (R) Build Engine Version 2.0.50727.42 | |||
| [dn:msbuild] [Microsoft .NET Framework, Version 2.0.50727.42] | |||
| [dn:msbuild] Copyright (C) Microsoft Corporation 2005. All rights reserved. | |||
| [dn:msbuild] Build started 15.12.2005 20:21:56. | |||
| [dn:msbuild] __________________________________________________ | |||
| [dn:msbuild] Project "c:\Dokumente und Einstellungen\stefan.bodewig\Lokale Einstellungen\Temp\build1543310185.xml" (default targets): | |||
| [dn:msbuild] Target generated-by-ant: | |||
| [dn:msbuild] Hello world | |||
| [dn:msbuild] Build succeeded. | |||
| [dn:msbuild] 0 Warning(s) | |||
| [dn:msbuild] 0 Error(s) | |||
| [dn:msbuild] Time Elapsed 00:00:00.10 | |||
| BUILD SUCCESSFUL | |||
| Total time: 0 seconds | |||
| </pre> | |||
| </div> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| </script> | |||
| </p> | |||
| </body> | |||
| </html> | |||
| @@ -73,12 +73,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Projects | |||
| @@ -133,7 +128,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -73,12 +73,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Projects | |||
| @@ -117,13 +112,257 @@ | |||
| <a name="Ant Libraries"></a> | |||
| Ant Libraries | |||
| </h3> | |||
| <p>No Ant Library has left the sandbox yet.</p> | |||
| <a name="antunit" /> | |||
| <h4 class="subsection"> | |||
| <a name="AntUnit - Unit Test Framework for Ant Tasks"></a> | |||
| AntUnit - Unit Test Framework for Ant Tasks | |||
| </h4> | |||
| <p>AntUnit borrows ideas from JUnit 3.x and the <junit> | |||
| task. It provides a task that runs build files as unit tests | |||
| as well as a number of assertion tasks to support the | |||
| idea.</p> | |||
| <table class="ForrestTable" cellspacing="1" cellpadding="4"> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Homepage: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="./antunit/index.html">http://ant.apache.org/antlibs/antunit/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| SVN URL: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk/">https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| ViewSVN: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="http://svn.apache.org/viewcvs.cgi/ant/antlibs/antunit/trunk/">http://svn.apache.org/viewcvs.cgi/ant/antlibs/antunit/trunk/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant compatibility: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant 1.7.x | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Added to sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-04-15 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Promoted from sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-11-22 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Latest Release: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| None | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <a name="dotnet" /> | |||
| <h4 class="subsection"> | |||
| <a name="DotNet - Improved Support for .NET projects"></a> | |||
| DotNet - Improved Support for .NET projects | |||
| </h4> | |||
| <p>Provides a simple infrastructure to execute .NET | |||
| applications from within Ant for different VMs so that the | |||
| user doesn't have to change the build file when she wants to | |||
| run Mono on Linux and Microsoft's VM on Windows.</p> | |||
| <p>Also contains <nant>, <nunit> and | |||
| <msbuild> tasks and an untested <wix> tasks.</p> | |||
| <table class="ForrestTable" cellspacing="1" cellpadding="4"> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Homepage: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="./dotnet/index.html">http://ant.apache.org/antlibs/dotnet/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| SVN URL: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="https://svn.apache.org/repos/asf/ant/antlibs/dotnet/trunk/">https://svn.apache.org/repos/asf/ant/antlibs/dotnet/trunk/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| ViewSVN: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="http://svn.apache.org/viewcvs.cgi/ant/antlibs/dotnet/trunk/">http://svn.apache.org/viewcvs.cgi/ant/antlibs/dotnet/trunk/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant compatibility: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant 1.7.x<br />A branch that works with Ant 1.6.2 and | |||
| above exists in <a href="https://svn.apache.org/repos/asf/ant/antlibs/dotnet/branches/Ant_1.6.2_compatible/">https://svn.apache.org/repos/asf/ant/antlibs/dotnet/branches/Ant_1.6.2_compatible/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Added to sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-04-15 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Promoted from sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-11-22 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Latest Release: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| None | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <a name="svn" /> | |||
| <h4 class="subsection"> | |||
| <a name="SVN - Subversion Support"></a> | |||
| SVN - Subversion Support | |||
| </h4> | |||
| <p>Contains tasks that correspond to Ant's <cvs>, | |||
| <cvschangelog> and <cvstagdiff> tasks. Requires | |||
| Subversion's command line client.</p> | |||
| <table class="ForrestTable" cellspacing="1" cellpadding="4"> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Homepage: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="./svn/index.html">http://ant.apache.org/antlibs/svn/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| SVN URL: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="https://svn.apache.org/repos/asf/ant/antlibs/svn/trunk/">https://svn.apache.org/repos/asf/ant/antlibs/svn/trunk/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| ViewSVN: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| <a href="http://svn.apache.org/viewcvs.cgi/ant/antlibs/svn/trunk/">http://svn.apache.org/viewcvs.cgi/ant/antlibs/svn/trunk/</a> | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant compatibility: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant 1.7.x | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Added to sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-04-15 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Promoted from sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-11-22 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Latest Release: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| None | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </div> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -73,12 +73,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Projects | |||
| @@ -127,194 +122,13 @@ | |||
| <a name="Current Sandbox Ant Libraries"></a> | |||
| Current Sandbox Ant Libraries | |||
| </h3> | |||
| <h4 class="subsection"> | |||
| <a name="AntUnit - Unit Test Framework for Ant Tasks"></a> | |||
| AntUnit - Unit Test Framework for Ant Tasks | |||
| </h4> | |||
| <p>AntUnit borrows ideas from JUnit 3.x and the <junit> | |||
| task. It provides a task that runs build files as unit tests | |||
| as well as a number of assertion tasks to support the | |||
| idea.</p> | |||
| <table class="ForrestTable" cellspacing="1" cellpadding="4"> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| URL: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| https://svn.apache.org/repos/asf/ant/sandbox/antlibs/antunit/trunk/ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| ViewSVN: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| http://svn.apache.org/viewcvs.cgi/ant/sandbox/antlibs/antunit/trunk/ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant compatibility: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant 1.7.x | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Added to sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-04-15 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Sponsoring Committers | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Stefan Bodewig | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <h4 class="subsection"> | |||
| <a name="DotNet - Improved Support for .NET projects"></a> | |||
| DotNet - Improved Support for .NET projects | |||
| </h4> | |||
| <p>Provides a simple infrastructure to execute .NET | |||
| applications from within Ant for different VMs so that the | |||
| user doesn't have to change the build file when she wants to | |||
| run Mono on Linux and Microsoft's VM on Windows.</p> | |||
| <p>Also contains <nant>, <nunit> and untested | |||
| <msbuild> and <wix> tasks.</p> | |||
| <table class="ForrestTable" cellspacing="1" cellpadding="4"> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| URL: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| https://svn.apache.org/repos/asf/ant/sandbox/antlibs/dotnet/trunk/ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| ViewSVN: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| http://svn.apache.org/viewcvs.cgi/ant/sandbox/antlibs/dotnet/trunk/ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant compatibility: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant 1.7.x<br />A branch that works with Ant 1.6.2 and | |||
| above exists in https://svn.apache.org/repos/asf/ant/sandbox/antlibs/dotnet/branches/Ant_1.6.2_compatible/ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Added to sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-04-15 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Sponsoring Committers | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Stefan Bodewig | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <h4 class="subsection"> | |||
| <a name="SVN - Subversion Support"></a> | |||
| SVN - Subversion Support | |||
| </h4> | |||
| <p>Contains tasks that correspond to Ant's <cvs>, | |||
| <cvschangelog> and <cvstagdiff> tasks. Requires | |||
| Subversion's command line client.</p> | |||
| <table class="ForrestTable" cellspacing="1" cellpadding="4"> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| URL: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| https://svn.apache.org/repos/asf/ant/sandbox/antlibs/svn/trunk/ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| ViewSVN: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| http://svn.apache.org/viewcvs.cgi/ant/sandbox/antlibs/svn/trunk/ | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant compatibility: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Ant 1.7.x | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Added to sandbox: | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| 2005-04-15 | |||
| </td> | |||
| </tr> | |||
| <tr> | |||
| <th colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Sponsoring Committers | |||
| </th> | |||
| <td colspan="1" rowspan="1" | |||
| valign="top" align="left"> | |||
| Stefan Bodewig | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| <p>There are no Ant libraries in the sandbox right now.</p> | |||
| </div> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -0,0 +1,176 @@ | |||
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |||
| <html lang="en"> | |||
| <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! --> | |||
| <head> | |||
| <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | |||
| <title>Apache Ant - Subversion Ant Library</title> | |||
| <link type="text/css" href="../../page.css" rel="stylesheet"> | |||
| </head> | |||
| <body> | |||
| <p class="navpath"> | |||
| <script src="../../breadcrumbs.js" language="JavaScript" type="text/javascript"></script> | |||
| </p> | |||
| <div class="logobar"> | |||
| <table width="100%" border="0" cellspacing="0" cellpadding="0"> | |||
| <tr> | |||
| <td align="left"><img border="0" alt="Apache Ant site" src="../../images/group-logo.gif"></td> | |||
| <td align="center" width="100%"><img alt="Apache Ant logo" border="0" src="../../images/project-logo.gif"></td> | |||
| <td align="right"> | |||
| <form target="_blank" onsubmit="q.value = query.value + ' site:ant.apache.org'" action="http://www.google.com/search" method="get"> | |||
| <table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="#4C6C8F"> | |||
| <tr> | |||
| <td colspan="3"><img height="10" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| </tr> | |||
| <tr> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| <td nowrap="nowrap" class="searchcaption"> | |||
| <input name="q" type="hidden"> | |||
| <input size="15" id="query" type="text"> | |||
| <img height="1" width="5" alt="" src="../../images/spacer.gif"> | |||
| <input name="Search" value="Search" type="submit"> | |||
| <br> | |||
| the Apache Ant site | |||
| </td> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| </tr> | |||
| <tr> | |||
| <td><img alt="" border="0" height="10" width="9" src="../../images/search-left.gif"></td> | |||
| <td><img height="1" width="1" alt="" src="../../images/spacer.gif"></td> | |||
| <td><img alt="" border="0" height="10" width="9" src="../../images/search-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </form> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </div> | |||
| <div class="tab"> | |||
| <table summary="tab bar" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td width="5"><img alt="" height="8" width="8" src="../../images/spacer.gif"></td><td valign="bottom"> | |||
| <table summary="non selected tab" style="height: 1.4em" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="../../images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a href="../../index.html"><font size="2" face="Arial, Helvetica, Sans-serif">Home</font></a></td><td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" src="../../images/tab-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| <td width="8"><img alt="" height="5" width="8" src="../../images/spacer.gif"></td><td valign="bottom"> | |||
| <table summary="selected tab" style="height: 1.5em" border="0" cellpadding="0" cellspacing="0"> | |||
| <tr> | |||
| <td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="../../images/tabSel-left.gif"></td><td valign="middle" bgcolor="#4C6C8F"><font color="#ffffff" size="2" face="Arial, Helvetica, Sans-serif"><b>Projects</b></font></td><td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" src="../../images/tabSel-right.gif"></td> | |||
| </tr> | |||
| </table> | |||
| </td> | |||
| </tr> | |||
| </table> | |||
| </div> | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Projects | |||
| <ul> | |||
| <li> | |||
| <a href="../../projects/index.html">Welcome</a> | |||
| </li> | |||
| </ul> | |||
| </li> | |||
| <li class="menuheader">Ant Libraries | |||
| <ul> | |||
| <li> | |||
| <a href="../../antlibs/index.html">Introduction</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/charter.html">Charter</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/proper.html">Ant Libraries</a> | |||
| </li> | |||
| <li> | |||
| <a href="../../antlibs/sandbox.html">Sandbox Ant Libraries</a> | |||
| </li> | |||
| </ul> | |||
| </li> | |||
| </ul> | |||
| </div> | |||
| <img style="float: left" height="10" width="10" border="0" alt="" src="../../images/menu-left.gif"> | |||
| <img style="float: right" height="10" width="10" border="0" alt="" src="../../images/menu-right.gif"> | |||
| </div> | |||
| <div class="lightbluebar"> </div> | |||
| <div class="main"> | |||
| <div class="content"> | |||
| <h1 class="title">Subversion Ant Library</h1> | |||
| <h3 class="section"> | |||
| <a name="Idea"></a> | |||
| Idea | |||
| </h3> | |||
| <p>The main purpose of this Ant library is to provide the same | |||
| level of support that Ant provides for CVS. This means the | |||
| tasks are wrappers on top of the command line client (read: you | |||
| still need to install an svn client) and there is not much more | |||
| than running the executable and creating some reports.</p> | |||
| <p>If you are looking for projects that aim at more, there are | |||
| better alternatives, for example <a href="http://subclipse.tigris.org/svnant.html">Subclipse's Ant | |||
| task</a> or <a href="http://tmate.org/svn/ant.html">JavaSVN</a>.</p> | |||
| <h3 class="section"> | |||
| <a name="Tasks"></a> | |||
| Tasks | |||
| </h3> | |||
| <h4 class="subsection"> | |||
| <a name="svn"></a> | |||
| svn | |||
| </h4> | |||
| <p>A very thin layer on top of the command line executable, | |||
| comparable to <a href="http://ant.apache.org/manual/CoreTasks/cvs.html">the CVS | |||
| task</a>.</p> | |||
| <h4 class="subsection"> | |||
| <a name="changelog"></a> | |||
| changelog | |||
| </h4> | |||
| <p>Creates a log of change comments between two revisions, | |||
| comparable to <a href="http://ant.apache.org/manual/CoreTasks/changelog.html">CvsChangeLog</a>.</p> | |||
| <h4 class="subsection"> | |||
| <a name="*diff"></a> | |||
| *diff | |||
| </h4> | |||
| <p><code><tagdiff></code> creates a differences report | |||
| for the changes between two tags or branches.</p> | |||
| <p><code><revisiondiff></code> creates a differences report | |||
| for the changes between two revisions.</p> | |||
| <p>Together comparable to <a href="http://ant.apache.org/manual/CoreTasks/cvstagdiff.html">CvsTagDiff</a>.</p> | |||
| <h3 class="section"> | |||
| <a name="Examples"></a> | |||
| Examples | |||
| </h3> | |||
| </div> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| </script> | |||
| </p> | |||
| </body> | |||
| </html> | |||
| @@ -81,12 +81,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -460,7 +455,7 @@ did) or could be explained better, feel free to help us out in the | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -73,12 +73,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -303,7 +298,7 @@ SHA1.</p> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -777,7 +772,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -1,3 +1,5 @@ | |||
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |||
| <html lang="en"> | |||
| <!-- GENERATED FILE, DO NOT EDIT, EDIT THE XML FILE IN xdocs INSTEAD! --> | |||
| @@ -73,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -197,17 +194,15 @@ called Cello. | |||
| <a href="http://stefan.samaflost.de/">http://stefan.samaflost.de/</a>) | |||
| <br /> | |||
| </p> | |||
| <p> | |||
| <p> | |||
| <b>Dominique Devienne</b> (ddevienne at apache.org) | |||
| <br/> | |||
| <br /> | |||
| Dominique has been involved non-stop with the Ant user community since | |||
| the 1.4 days, trying without success to answer posts as well or as often | |||
| as Diane Holt after she left the user list. He is opinionated, always | |||
| striving for the best possible design. While at Landmark Graphics, he | |||
| designed and implemented large Ant/CppTasks builds for mixed Java/C++ projects. | |||
| </p> | |||
| <p> | |||
| <b>Erik Hatcher</b> (ehatcher at apache.org) | |||
| <br /> | |||
| @@ -499,7 +494,7 @@ and EJB runtime environments -- in that order. | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -507,3 +502,14 @@ and EJB runtime environments -- in that order. | |||
| </p> | |||
| </body> | |||
| </html> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -6690,7 +6685,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -77,12 +77,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -252,7 +247,7 @@ Comprehensive documentation is included in the source and binary distributions. | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -192,7 +187,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -466,7 +461,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -228,7 +223,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -246,7 +241,7 @@ hereby created. | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -351,7 +346,7 @@ D:\src\java\Unset.java<br /> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -1173,7 +1168,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Projects | |||
| @@ -129,7 +124,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -1373,7 +1368,7 @@ | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -73,12 +73,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -301,7 +296,7 @@ SHA1.</p> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||
| @@ -75,12 +75,7 @@ | |||
| <div class="bluebar"></div> | |||
| <div class="menucontainer"> | |||
| <div align="center"> | |||
| <a href="http://ApacheCon.Com/"><img width="125" height="125" | |||
| border="0" style="background-color: white" | |||
| src="http://www.apache.org/images/ac2005us_blue_125x125.jpg" | |||
| alt="ApacheCon!" title="Come to ApacheCon!"/></a> | |||
| </div> | |||
| <div class="menu"> | |||
| <ul> | |||
| <li class="menuheader">Apache Ant | |||
| @@ -205,7 +200,7 @@ svn co http://svn.apache.org/repos/asf/ant/[project]/trunk/ ant-[project]</pre> | |||
| </div> | |||
| <p class="copyright"> | |||
| Copyright © 2000-2005 The Apache Software Foundation. All rights reserved. | |||
| Copyright © 2000-2006 The Apache Software Foundation. All rights reserved. | |||
| <script type="text/javascript" language="JavaScript"><!-- | |||
| document.write(" - "+"Last Published: " + document.lastModified); | |||
| // --> | |||