git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277108 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -10,8 +10,10 @@ | |||||
| <property name="commons.logging.project" value="commons-logging"/> | <property name="commons.logging.project" value="commons-logging"/> | ||||
| <property name="version" value="1.0.4"/> | <property name="version" value="1.0.4"/> | ||||
| <property name="commons.logging.filename" | |||||
| value="${commons.logging.project}-${version}.jar"/> | |||||
| <property name="commons.logging" | <property name="commons.logging" | ||||
| value="${commons.logging.project}/jars/${commons.logging.project}-${version}.jar"/> | |||||
| value="${commons.logging.project}/jars/${commons.logging.filename}"/> | |||||
| <presetdef name="gl1"> | <presetdef name="gl1"> | ||||
| <libraries destDir="${lib.dir}"> | <libraries destDir="${lib.dir}"> | ||||
| @@ -307,5 +309,12 @@ | |||||
| </gl1> | </gl1> | ||||
| </target> | </target> | ||||
| <target name="testFlatten" depends="init"> | |||||
| <getlib flatten="true"> | |||||
| <mavenrepository/> | |||||
| <assertdownloaded count="1"/> | |||||
| </getlib> | |||||
| <assert-downloaded library="${commons.logging.filename}"/> | |||||
| </target> | |||||
| </project> | </project> | ||||
| @@ -567,7 +567,7 @@ public class XMLValidateTask extends Task { | |||||
| * The class to create to set a feature of the parser. | * The class to create to set a feature of the parser. | ||||
| * @since ant1.6 | * @since ant1.6 | ||||
| */ | */ | ||||
| public class Attribute { | |||||
| public static class Attribute { | |||||
| /** The name of the attribute to set. | /** The name of the attribute to set. | ||||
| * | * | ||||
| * Valid attributes <a href="http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html#package_description">include.</a> | * Valid attributes <a href="http://www.saxproject.org/apidoc/org/xml/sax/package-summary.html#package_description">include.</a> | ||||
| @@ -617,7 +617,7 @@ public class XMLValidateTask extends Task { | |||||
| * XML parser properties</a> for usable properties | * XML parser properties</a> for usable properties | ||||
| * @since ant 1.6.2 | * @since ant 1.6.2 | ||||
| */ | */ | ||||
| public final class Property { | |||||
| public static final class Property { | |||||
| private String name; | private String name; | ||||
| private String value; | private String value; | ||||