Skip to content
Permalink
Browse files
  • Loading branch information
jmkf committed May 26, 2019
2 parents 7f8db09 + ed44fdf commit d09d23bea23768202443fff854ba54fe2ac87aa2
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 NOTICE
@@ -2,5 +2,5 @@ Apache Ant Property Extensions
Copyright 2007-2013 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
The Apache Software Foundation (https://www.apache.org/).

2 common
Submodule common updated from 0a4d36 to a71546
@@ -32,8 +32,8 @@ <h2>Requirements</h2>

<h2>Where is it?</h2>

<p>The source code for the library lives in the antlibs subspace of Ant's SVN -
<a href="http://svn.apache.org/viewvc/ant/antlibs/props/trunk/">http://svn.apache.org/viewvc/ant/antlibs/props/trunk/</a>.</p>
<p>The source code for the library lives in the antlibs subspace of Ant's git -
<a href="https://gitbox.apache.org/repos/asf?p=ant-antlibs-props.git">https://gitbox.apache.org/repos/asf?p=ant-antlibs-props.git</a>.</p>

<h2>Installation</h2>

@@ -91,7 +91,7 @@ <h2>Tasks and Types</h2>

<p>The types provided are instances of
<code>org.apache.tools.ant.PropertyHelper.Delegate</code> and can be invoked using the
<code>&lt;<a href="http://ant.apache.org/manual/CoreTasks/propertyhelper.html">propertyhelper</a>&gt;</code>
<code>&lt;<a href="https://ant.apache.org/manual/CoreTasks/propertyhelper.html">propertyhelper</a>&gt;</code>
task provided by Ant:</p>

<table border="1" cellspacing="0" cellpadding="2" width="100%">
@@ -27,7 +27,7 @@ The original of this snippet is maintained in the antlib-common project.

<!-- Which released version of AntUnit to use, where to download, where to store. -->
<property name="antunit.version" value="1.3"/>
<property name="antunit.url" value="http://repo1.maven.org/maven2/org/apache/ant/ant-antunit/${antunit.version}/ant-antunit-${antunit.version}.jar"/>
<property name="antunit.url" value="https://repo1.maven.org/maven2/org/apache/ant/ant-antunit/${antunit.version}/ant-antunit-${antunit.version}.jar"/>
<property name="antunit.file" value="ant-antunit.jar"/>

<!-- Skip unnecessary tasks. -->
@@ -28,18 +28,18 @@

<target name="testBasic" depends="setUp">
<au:assertTrue>
<equals arg1="${encodeURL:http://ant.apache.org}" arg2="http://ant.apache.org" />
<equals arg1="${encodeURL:https://ant.apache.org}" arg2="https://ant.apache.org" />
</au:assertTrue>
<au:assertTrue>
<equals arg1="${encodeURL:http://ant.apache.org/foo bar}"
arg2="http://ant.apache.org/foo%20bar" />
<equals arg1="${encodeURL:https://ant.apache.org/foo bar}"
arg2="https://ant.apache.org/foo%20bar" />
</au:assertTrue>
</target>

<target name="testDelimiter" depends="setUp">
<au:assertTrue>
<equals arg1="${encodeURL,http://ant.apache.org/foo bar?baz}"
arg2="http://ant.apache.org/foo%20bar?baz" />
<equals arg1="${encodeURL,https://ant.apache.org/foo bar?baz}"
arg2="https://ant.apache.org/foo%20bar?baz" />
</au:assertTrue>
</target>

0 comments on commit d09d23b

Please sign in to comment.