2003-03-26 17:55:37 +00:00
< html >
< head >
< meta http-equiv = "Content-Language" content = "en-us" >
< title > Whichresource
Task< / title >
< / head >
< body bgcolor = "#ffffff" text = "#000000" link = "#525D76"
alink="#525D76" vlink="#525D76">
< table border = "0" width = "100%" cellspacing = "4" >
<!-- PAGE HEADER -->
< tr >
< td >
< table border = "0" width = "100%" > < tr >
< td valign = "bottom" >
< font size = "+3" face = "arial,helvetica,sanserif" > < strong > Whichresource
Task< / strong > < / font >
< br > < font face = "arial,helvetica,sanserif" > Find a class or resource on the supplied classpath, or the system classpath if none is supplied.< / font >
< / td >
< td >
<!-- PROJECT LOGO -->
< a href = "http://ant.apache.org/" >
2005-04-29 18:58:16 +00:00
< img src = "../../images/ant_logo_large.gif" align = "right" alt = "Apache Ant" border = "0" >
2003-03-26 17:55:37 +00:00
< / a >
< / td >
< / tr > < / table >
< / td >
< / tr >
<!-- START RIGHT SIDE MAIN BODY -->
< tr >
< td valign = "top" align = "left" >
<!-- Applying task/long - description -->
<!-- Start Description -->
< table border = "0" cellspacing = "0" cellpadding = "2" width = "100%" >
< tr > < td > < / td > < / tr >
< tr > < td bgcolor = "#525D76" >
< font color = "#ffffff" face = "arial,helvetica.sanserif" >
< a name = "description" >
< strong > Description< / strong > < / a > < / font >
< / td > < / tr >
< tr > < td > < blockquote >
Find a class or resource on the supplied classpath, or the system classpath if none is supplied. The named property is set if the item can be found. For example < pre > < whichresource resource="/log4j.properties" property="log4j.url" > < / pre >
< / blockquote > < / td > < / tr >
< / table >
<!-- End Description -->
2003-12-12 19:32:58 +00:00
<!-- Ignore -->
2003-03-26 17:55:37 +00:00
<!-- Start Attributes -->
< table border = "0" cellspacing = "0" cellpadding = "2" width = "100%" >
< tr > < td > < / td > < / tr >
< tr > < td bgcolor = "#525D76" >
< font color = "#ffffff" face = "arial,helvetica.sanserif" >
< a name = "attributes" >
< strong > Parameters< / strong > < / a > < / font >
< / td > < / tr >
< tr > < td > < blockquote >
< table >
< tr >
< td bgcolor = "#cccccc" valign = "top" align = "left" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > < b > Attribute< / b > < / font >
< / td >
< td bgcolor = "#cccccc" valign = "top" align = "left" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > < b > Description< / b > < / font >
< / td >
< td bgcolor = "#cccccc" valign = "top" align = "left" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > < b > Type< / b > < / font >
2003-12-12 19:32:58 +00:00
< / td >
< td bgcolor = "#cccccc" valign = "top" align = "left" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > < b > Requirement< / b > < / font >
2003-03-26 17:55:37 +00:00
< / td >
< / tr >
2003-12-12 19:32:58 +00:00
<!-- Attribute Group -->
<!-- Attribute -->
2003-03-26 17:55:37 +00:00
< tr >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > property< / font >
2003-03-26 17:55:37 +00:00
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > the property to fill with the URL of the resource or class< / font >
2003-03-26 17:55:37 +00:00
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > String< / font >
< / td >
2003-12-12 19:32:58 +00:00
< td bgcolor = "#eeeeee" valign = "top" align = "left" rowspan = "1" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > Required< / font >
< / td >
2003-03-26 17:55:37 +00:00
< / tr >
2003-12-12 19:32:58 +00:00
<!-- Attribute Group -->
<!-- Attribute -->
2003-03-26 17:55:37 +00:00
< tr >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > class< / font >
2003-03-26 17:55:37 +00:00
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > name the class to look for< / font >
2003-03-26 17:55:37 +00:00
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > String< / font >
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" rowspan = "2" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > Exactly one of these two< / font >
2003-03-26 17:55:37 +00:00
< / td >
< / tr >
<!-- Attribute -->
< tr >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > resource< / font >
2003-03-26 17:55:37 +00:00
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > name the resource to look for< / font >
2003-03-26 17:55:37 +00:00
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > String< / font >
< / td >
< / tr >
2003-12-12 19:32:58 +00:00
<!-- Attribute Group -->
<!-- Attribute -->
2003-03-26 17:55:37 +00:00
< tr >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > classpath< / font >
2003-03-26 17:55:37 +00:00
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > Set the classpath to be used for this compilation.< / font >
2003-03-26 17:55:37 +00:00
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" >
2003-12-12 19:32:58 +00:00
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > Path< / font >
< / td >
< td bgcolor = "#eeeeee" valign = "top" align = "left" rowspan = "1" >
< font color = "#000000" size = "-1" face = "arial,helvetica,sanserif" > Optional< / font >
2003-03-26 17:55:37 +00:00
< / td >
< / tr >
2003-12-12 19:32:58 +00:00
2003-03-26 17:55:37 +00:00
< / table >
< / blockquote > < / td > < / tr >
< / table >
<!-- End Attributes -->
<!-- Start Elements -->
< table border = "0" cellspacing = "0" cellpadding = "2" width = "100%" >
< tr > < td > < / td > < / tr >
< tr > < td bgcolor = "#525D76" >
< font color = "#ffffff" face = "arial,helvetica.sanserif" >
< a name = "elements" >
< strong > Parameters as nested elements< / strong > < / a > < / font >
< / td > < / tr >
< tr > < td > < blockquote >
<!-- Start Element -->
< table border = "0" cellspacing = "0" cellpadding = "2" width = "100%" >
< tr > < td > < / td > < / tr >
< tr > < td bgcolor = "#828DA6" >
< font color = "#ffffff" face = "arial,helvetica.sanserif" size = "-1" >
< strong > classpath< / strong > (org.apache.tools.ant.types.Path)< / font >
< / td > < / tr >
< tr > < td > < blockquote >
Adds a path to the classpath.
2003-12-12 19:32:58 +00:00
<!-- Ignore -->
<!-- Ignore -->
2003-03-26 17:55:37 +00:00
< / blockquote > < / td > < / tr >
< / table >
<!-- End Element -->
< / blockquote > < / td > < / tr >
< / table >
<!-- End Elements -->
< / td >
< / tr >
<!-- END RIGHT SIDE MAIN BODY -->
<!-- FOOTER SEPARATOR -->
< tr >
< td >
2005-04-29 18:58:16 +00:00
< hr noshade = "" size = "1" >
2003-03-26 17:55:37 +00:00
< / td >
< / tr >
<!-- PAGE FOOTER -->
< tr >
< td >
< div align = "center" > < font color = "#525D76" size = "-1" > < em >
2004-11-19 09:07:12 +00:00
Copyright © 2000-2004, The Apache Software Foundation. All Rights Reserved.
2003-03-26 17:55:37 +00:00
< / em > < / font > < / div >
< / td >
< / tr >
< / table >
< / body >
< / html >