1 |
|
---|
2 | <html>
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Language" content="en-us">
|
---|
5 | <title>Whichresource
|
---|
6 | Task</title>
|
---|
7 | </head>
|
---|
8 |
|
---|
9 | <body bgcolor="#ffffff" text="#000000" link="#525D76"
|
---|
10 | alink="#525D76" vlink="#525D76">
|
---|
11 |
|
---|
12 | <table border="0" width="100%" cellspacing="4">
|
---|
13 |
|
---|
14 | <!-- PAGE HEADER -->
|
---|
15 | <tr>
|
---|
16 | <td>
|
---|
17 | <table border="0" width="100%"><tr>
|
---|
18 | <td valign="bottom">
|
---|
19 | <font size="+3" face="arial,helvetica,sanserif"><strong>Whichresource
|
---|
20 | Task</strong></font>
|
---|
21 | <br><font face="arial,helvetica,sanserif">Find a class or resource on the supplied classpath, or the system classpath if none is supplied.</font>
|
---|
22 | </td>
|
---|
23 | <td>
|
---|
24 | <!-- PROJECT LOGO -->
|
---|
25 | <a href="http://ant.apache.org/">
|
---|
26 | <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
|
---|
27 | </a>
|
---|
28 | </td>
|
---|
29 | </tr></table>
|
---|
30 | </td>
|
---|
31 | </tr>
|
---|
32 |
|
---|
33 | <!-- START RIGHT SIDE MAIN BODY -->
|
---|
34 | <tr>
|
---|
35 | <td valign="top" align="left">
|
---|
36 |
|
---|
37 | <!-- Applying task/long-description -->
|
---|
38 | <!-- Start Description -->
|
---|
39 | <table border="0" cellspacing="0" cellpadding="2" width="100%">
|
---|
40 | <tr><td> </td></tr>
|
---|
41 |
|
---|
42 | <tr><td bgcolor="#525D76">
|
---|
43 | <font color="#ffffff" face="arial,helvetica.sanserif">
|
---|
44 | <a name="description">
|
---|
45 | <strong>Description</strong></a></font>
|
---|
46 | </td></tr>
|
---|
47 |
|
---|
48 | <tr><td><blockquote>
|
---|
49 | 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>
|
---|
50 | </blockquote></td></tr>
|
---|
51 |
|
---|
52 | </table>
|
---|
53 | <!-- End Description -->
|
---|
54 |
|
---|
55 | <!-- Ignore -->
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|
59 | <!-- Start Attributes -->
|
---|
60 | <table border="0" cellspacing="0" cellpadding="2" width="100%">
|
---|
61 | <tr><td> </td></tr>
|
---|
62 | <tr><td bgcolor="#525D76">
|
---|
63 | <font color="#ffffff" face="arial,helvetica.sanserif">
|
---|
64 | <a name="attributes">
|
---|
65 | <strong>Parameters</strong></a></font>
|
---|
66 | </td></tr>
|
---|
67 | <tr><td><blockquote>
|
---|
68 | <table>
|
---|
69 | <tr>
|
---|
70 | <td bgcolor="#cccccc" valign="top" align="left">
|
---|
71 | <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
|
---|
72 | </td>
|
---|
73 | <td bgcolor="#cccccc" valign="top" align="left">
|
---|
74 | <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
|
---|
75 | </td>
|
---|
76 | <td bgcolor="#cccccc" valign="top" align="left">
|
---|
77 | <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
|
---|
78 | </td>
|
---|
79 | <td bgcolor="#cccccc" valign="top" align="left">
|
---|
80 | <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
|
---|
81 | </td>
|
---|
82 | </tr>
|
---|
83 | <!-- Attribute Group -->
|
---|
84 | <!-- Attribute -->
|
---|
85 | <tr>
|
---|
86 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
87 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">property</font>
|
---|
88 | </td>
|
---|
89 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
90 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">the property to fill with the URL of the resource or class</font>
|
---|
91 | </td>
|
---|
92 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
93 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
|
---|
94 | </td>
|
---|
95 | <td bgcolor="#eeeeee" valign="top" align="left" rowspan="1">
|
---|
96 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">Required</font>
|
---|
97 | </td>
|
---|
98 | </tr>
|
---|
99 |
|
---|
100 | <!-- Attribute Group -->
|
---|
101 | <!-- Attribute -->
|
---|
102 | <tr>
|
---|
103 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
104 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">class</font>
|
---|
105 | </td>
|
---|
106 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
107 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">name the class to look for</font>
|
---|
108 | </td>
|
---|
109 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
110 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
|
---|
111 | </td>
|
---|
112 | <td bgcolor="#eeeeee" valign="top" align="left" rowspan="2">
|
---|
113 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">Exactly one of these two</font>
|
---|
114 | </td>
|
---|
115 | </tr>
|
---|
116 | <!-- Attribute -->
|
---|
117 | <tr>
|
---|
118 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
119 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">resource</font>
|
---|
120 | </td>
|
---|
121 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
122 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">name the resource to look for</font>
|
---|
123 | </td>
|
---|
124 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
125 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
|
---|
126 | </td>
|
---|
127 | </tr>
|
---|
128 |
|
---|
129 | <!-- Attribute Group -->
|
---|
130 | <!-- Attribute -->
|
---|
131 | <tr>
|
---|
132 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
133 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">classpath</font>
|
---|
134 | </td>
|
---|
135 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
136 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the classpath to be used for this compilation.</font>
|
---|
137 | </td>
|
---|
138 | <td bgcolor="#eeeeee" valign="top" align="left">
|
---|
139 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">Path</font>
|
---|
140 | </td>
|
---|
141 | <td bgcolor="#eeeeee" valign="top" align="left" rowspan="1">
|
---|
142 | <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
|
---|
143 | </td>
|
---|
144 | </tr>
|
---|
145 |
|
---|
146 |
|
---|
147 | </table>
|
---|
148 | </blockquote></td></tr>
|
---|
149 |
|
---|
150 | </table>
|
---|
151 | <!-- End Attributes -->
|
---|
152 |
|
---|
153 | <!-- Start Elements -->
|
---|
154 | <table border="0" cellspacing="0" cellpadding="2" width="100%">
|
---|
155 | <tr><td> </td></tr>
|
---|
156 |
|
---|
157 | <tr><td bgcolor="#525D76">
|
---|
158 | <font color="#ffffff" face="arial,helvetica.sanserif">
|
---|
159 | <a name="elements">
|
---|
160 | <strong>Parameters as nested elements</strong></a></font>
|
---|
161 | </td></tr>
|
---|
162 |
|
---|
163 | <tr><td><blockquote>
|
---|
164 | <!-- Start Element -->
|
---|
165 | <table border="0" cellspacing="0" cellpadding="2" width="100%">
|
---|
166 | <tr><td> </td></tr>
|
---|
167 | <tr><td bgcolor="#828DA6">
|
---|
168 | <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
|
---|
169 | <strong>classpath</strong> (org.apache.tools.ant.types.Path)</font>
|
---|
170 | </td></tr>
|
---|
171 | <tr><td><blockquote>
|
---|
172 | Adds a path to the classpath.
|
---|
173 | <!-- Ignore -->
|
---|
174 | <!-- Ignore -->
|
---|
175 |
|
---|
176 | </blockquote></td></tr>
|
---|
177 | </table>
|
---|
178 | <!-- End Element -->
|
---|
179 |
|
---|
180 | </blockquote></td></tr>
|
---|
181 |
|
---|
182 | </table>
|
---|
183 | <!-- End Elements -->
|
---|
184 |
|
---|
185 |
|
---|
186 | </td>
|
---|
187 | </tr>
|
---|
188 | <!-- END RIGHT SIDE MAIN BODY -->
|
---|
189 |
|
---|
190 | <!-- FOOTER SEPARATOR -->
|
---|
191 | <tr>
|
---|
192 | <td>
|
---|
193 | <hr noshade="" size="1"/>
|
---|
194 | </td>
|
---|
195 | </tr>
|
---|
196 |
|
---|
197 | <!-- PAGE FOOTER -->
|
---|
198 | <tr>
|
---|
199 | <td>
|
---|
200 | <div align="center"><font color="#525D76" size="-1"><em>
|
---|
201 | Copyright © 2000-2003, Apache Software Foundation
|
---|
202 | </em></font></div>
|
---|
203 | </td>
|
---|
204 | </tr>
|
---|
205 |
|
---|
206 | </table>
|
---|
207 |
|
---|
208 | </body>
|
---|
209 | </html>
|
---|