source: release-kits/lirk3/resources/gs3-release-maker/apache-ant-1.6.5/docs/manual/OptionalTasks/jsharpc.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 19.0 KB
Line 
1
2<html>
3<head>
4 <meta http-equiv="Content-Language" content="en-us">
5 <title>Jsharpc
6 Task</title>
7<link rel="stylesheet" type="text/css" href="../stylesheets/antmanual.css">
8</head>
9
10<body bgcolor="#ffffff" text="#000000" link="#525D76"
11 alink="#525D76" vlink="#525D76">
12
13<table border="0" width="100%" cellspacing="4">
14
15 <!-- PAGE HEADER -->
16 <tr>
17 <td>
18 <table border="0" width="100%"><tr>
19 <td valign="bottom">
20 <font size="+3" face="arial,helvetica,sanserif"><strong>Jsharpc
21 Task</strong></font>
22 <br><font face="arial,helvetica,sanserif">Compile J# source down to a managed .NET application. <p>For historical reasons the pattern <code>**/*.java</code> is preset as includes list and you can not override it with an explicit includes attribute. Use nested <code>&lt;src&gt;</code> elements instead of the basedir attribute if you need more control.</p></font>
23 </td>
24 <td>
25 <!-- PROJECT LOGO -->
26 <a href="http://ant.apache.org/">
27 <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
28 </a>
29 </td>
30 </tr></table>
31 </td>
32 </tr>
33
34 <!-- START RIGHT SIDE MAIN BODY -->
35 <tr>
36 <td valign="top" align="left">
37
38 <!-- Applying task/long-description -->
39 <!-- Start Description -->
40 <table border="0" cellspacing="0" cellpadding="2" width="100%">
41 <tr><td>&nbsp;</td></tr>
42
43 <tr><td bgcolor="#525D76">
44 <font color="#ffffff" face="arial,helvetica.sanserif">
45 <a name="description">
46 <strong>Description</strong></a></font>
47 </td></tr>
48
49 <tr><td><blockquote>
50 Compile J# source down to a managed .NET application. <p> J# is not Java. But it is the language closest to Java in the .NET framework. This task compiles jsharp source (.java files), and generates a .NET managed exe or dll. <p>
51 </blockquote></td></tr>
52
53 </table>
54 <!-- End Description -->
55
56 <!-- Start Attributes -->
57 <table border="0" cellspacing="0" cellpadding="2" width="100%">
58 <tr><td>&nbsp;</td></tr>
59 <tr><td bgcolor="#525D76">
60 <font color="#ffffff" face="arial,helvetica.sanserif">
61 <a name="attributes">
62 <strong>Parameters</strong></a></font>
63 </td></tr>
64 <tr><td><blockquote>
65 <table>
66 <tr>
67 <td bgcolor="#cccccc" valign="top" align="left">
68 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Attribute</b></font>
69 </td>
70 <td bgcolor="#cccccc" valign="top" align="left">
71 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Description</b></font>
72 </td>
73 <td bgcolor="#cccccc" valign="top" align="left">
74 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Type</b></font>
75 </td>
76 <td bgcolor="#cccccc" valign="top" align="left">
77 <font color="#000000" size="-1" face="arial,helvetica,sanserif"><b>Requirement</b></font>
78 </td>
79 </tr>
80 <!-- Attribute Group -->
81
82 <!-- Attribute Group -->
83 <!-- Attribute -->
84 <tr>
85 <td bgcolor="#eeeeee" valign="top" align="left">
86 <font color="#000000" size="-1" face="arial,helvetica,sanserif">additionalmodules - note that your version of vjc may not support this option.</font>
87 </td>
88 <td bgcolor="#eeeeee" valign="top" align="left">
89 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Semicolon separated list of modules to refer to.</font>
90 </td>
91 <td bgcolor="#eeeeee" valign="top" align="left">
92 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
93 </td>
94 <td bgcolor="#eeeeee" valign="top" align="left" rowspan="21">
95 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Optional</font>
96 </td>
97 </tr>
98 <!-- Attribute -->
99 <tr>
100 <td bgcolor="#eeeeee" valign="top" align="left">
101 <font color="#000000" size="-1" face="arial,helvetica,sanserif">baseaddress</font>
102 </td>
103 <td bgcolor="#eeeeee" valign="top" align="left">
104 <font color="#000000" size="-1" face="arial,helvetica,sanserif"></font>
105 </td>
106 <td bgcolor="#eeeeee" valign="top" align="left">
107 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
108 </td>
109 </tr>
110 <!-- Attribute -->
111 <tr>
112 <td bgcolor="#eeeeee" valign="top" align="left">
113 <font color="#000000" size="-1" face="arial,helvetica,sanserif">debug</font>
114 </td>
115 <td bgcolor="#eeeeee" valign="top" align="left">
116 <font color="#000000" size="-1" face="arial,helvetica,sanserif">set the debug flag on or off.</font>
117 </td>
118 <td bgcolor="#eeeeee" valign="top" align="left">
119 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
120 </td>
121 </tr>
122 <!-- Attribute -->
123 <tr>
124 <td bgcolor="#eeeeee" valign="top" align="left">
125 <font color="#000000" size="-1" face="arial,helvetica,sanserif">destdir</font>
126 </td>
127 <td bgcolor="#eeeeee" valign="top" align="left">
128 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the destination directory of files to be compiled.</font>
129 </td>
130 <td bgcolor="#eeeeee" valign="top" align="left">
131 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
132 </td>
133 </tr>
134 <!-- Attribute -->
135 <tr>
136 <td bgcolor="#eeeeee" valign="top" align="left">
137 <font color="#000000" size="-1" face="arial,helvetica,sanserif">destfile</font>
138 </td>
139 <td bgcolor="#eeeeee" valign="top" align="left">
140 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the name of exe/library to create.</font>
141 </td>
142 <td bgcolor="#eeeeee" valign="top" align="left">
143 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
144 </td>
145 </tr>
146 <!-- Attribute -->
147 <tr>
148 <td bgcolor="#eeeeee" valign="top" align="left">
149 <font color="#000000" size="-1" face="arial,helvetica,sanserif">executable</font>
150 </td>
151 <td bgcolor="#eeeeee" valign="top" align="left">
152 <font color="#000000" size="-1" face="arial,helvetica,sanserif">set the name of the program, overriding the defaults. Can be used to set the full path to a program, or to switch to an alternate implementation of the command, such as the Mono or Rotor versions -provided they use the same command line arguments as the .NET framework edition</font>
153 </td>
154 <td bgcolor="#eeeeee" valign="top" align="left">
155 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
156 </td>
157 </tr>
158 <!-- Attribute -->
159 <tr>
160 <td bgcolor="#eeeeee" valign="top" align="left">
161 <font color="#000000" size="-1" face="arial,helvetica,sanserif">extraoptions</font>
162 </td>
163 <td bgcolor="#eeeeee" valign="top" align="left">
164 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Any extra options which are not explicitly supported by this task.</font>
165 </td>
166 <td bgcolor="#eeeeee" valign="top" align="left">
167 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
168 </td>
169 </tr>
170 <!-- Attribute -->
171 <tr>
172 <td bgcolor="#eeeeee" valign="top" align="left">
173 <font color="#000000" size="-1" face="arial,helvetica,sanserif">failonerror</font>
174 </td>
175 <td bgcolor="#eeeeee" valign="top" align="left">
176 <font color="#000000" size="-1" face="arial,helvetica,sanserif">If true, fail on compilation errors.</font>
177 </td>
178 <td bgcolor="#eeeeee" valign="top" align="left">
179 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
180 </td>
181 </tr>
182 <!-- Attribute -->
183 <tr>
184 <td bgcolor="#eeeeee" valign="top" align="left">
185 <font color="#000000" size="-1" face="arial,helvetica,sanserif">includedefaultreferences</font>
186 </td>
187 <td bgcolor="#eeeeee" valign="top" align="left">
188 <font color="#000000" size="-1" face="arial,helvetica,sanserif">If true, automatically includes the common assemblies in dotnet, and tells the compiler to link in mscore.dll. set the automatic reference inclusion flag on or off this flag controls the /nostdlib option in CSC</font>
189 </td>
190 <td bgcolor="#eeeeee" valign="top" align="left">
191 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
192 </td>
193 </tr>
194 <!-- Attribute -->
195 <tr>
196 <td bgcolor="#eeeeee" valign="top" align="left">
197 <font color="#000000" size="-1" face="arial,helvetica,sanserif">mainclass</font>
198 </td>
199 <td bgcolor="#eeeeee" valign="top" align="left">
200 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Sets the name of main class for executables.</font>
201 </td>
202 <td bgcolor="#eeeeee" valign="top" align="left">
203 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
204 </td>
205 </tr>
206 <!-- Attribute -->
207 <tr>
208 <td bgcolor="#eeeeee" valign="top" align="left">
209 <font color="#000000" size="-1" face="arial,helvetica,sanserif">optimize</font>
210 </td>
211 <td bgcolor="#eeeeee" valign="top" align="left">
212 <font color="#000000" size="-1" face="arial,helvetica,sanserif">If true, enables optimization flag.</font>
213 </td>
214 <td bgcolor="#eeeeee" valign="top" align="left">
215 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
216 </td>
217 </tr>
218 <!-- Attribute -->
219 <tr>
220 <td bgcolor="#eeeeee" valign="top" align="left">
221 <font color="#000000" size="-1" face="arial,helvetica,sanserif">purejava</font>
222 </td>
223 <td bgcolor="#eeeeee" valign="top" align="left">
224 <font color="#000000" size="-1" face="arial,helvetica,sanserif">do we want pure java (default, true) or corrupted J#?</font>
225 </td>
226 <td bgcolor="#eeeeee" valign="top" align="left">
227 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
228 </td>
229 </tr>
230 <!-- Attribute -->
231 <tr>
232 <td bgcolor="#eeeeee" valign="top" align="left">
233 <font color="#000000" size="-1" face="arial,helvetica,sanserif">referencefiles</font>
234 </td>
235 <td bgcolor="#eeeeee" valign="top" align="left">
236 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Path of references to include. Wildcards should work.</font>
237 </td>
238 <td bgcolor="#eeeeee" valign="top" align="left">
239 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Path</font>
240 </td>
241 </tr>
242 <!-- Attribute -->
243 <tr>
244 <td bgcolor="#eeeeee" valign="top" align="left">
245 <font color="#000000" size="-1" face="arial,helvetica,sanserif">references</font>
246 </td>
247 <td bgcolor="#eeeeee" valign="top" align="left">
248 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Semicolon separated list of DLLs to refer to.</font>
249 </td>
250 <td bgcolor="#eeeeee" valign="top" align="left">
251 <font color="#000000" size="-1" face="arial,helvetica,sanserif">String</font>
252 </td>
253 </tr>
254 <!-- Attribute -->
255 <tr>
256 <td bgcolor="#eeeeee" valign="top" align="left">
257 <font color="#000000" size="-1" face="arial,helvetica,sanserif">securescoping</font>
258 </td>
259 <td bgcolor="#eeeeee" valign="top" align="left">
260 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Make package scoped code visible to the current assembly only (default: false) .NET does not have package scoping. Instead it has assembly, private and public. By default, package content is public to all.</font>
261 </td>
262 <td bgcolor="#eeeeee" valign="top" align="left">
263 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
264 </td>
265 </tr>
266 <!-- Attribute -->
267 <tr>
268 <td bgcolor="#eeeeee" valign="top" align="left">
269 <font color="#000000" size="-1" face="arial,helvetica,sanserif">srcdir</font>
270 </td>
271 <td bgcolor="#eeeeee" valign="top" align="left">
272 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the source directory of the files to be compiled.</font>
273 </td>
274 <td bgcolor="#eeeeee" valign="top" align="left">
275 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
276 </td>
277 </tr>
278 <!-- Attribute -->
279 <tr>
280 <td bgcolor="#eeeeee" valign="top" align="left">
281 <font color="#000000" size="-1" face="arial,helvetica,sanserif">targettype</font>
282 </td>
283 <td bgcolor="#eeeeee" valign="top" align="left">
284 <font color="#000000" size="-1" face="arial,helvetica,sanserif">set the target type to one of exe|library|module|winexe</font>
285 </td>
286 <td bgcolor="#eeeeee" valign="top" align="left">
287 <font color="#000000" size="-1" face="arial,helvetica,sanserif">"exe", "library", "module", "winexe"</font>
288 </td>
289 </tr>
290 <!-- Attribute -->
291 <tr>
292 <td bgcolor="#eeeeee" valign="top" align="left">
293 <font color="#000000" size="-1" face="arial,helvetica,sanserif">utf8output</font>
294 </td>
295 <td bgcolor="#eeeeee" valign="top" align="left">
296 <font color="#000000" size="-1" face="arial,helvetica,sanserif">If true, require all compiler output to be in UTF8 format.</font>
297 </td>
298 <td bgcolor="#eeeeee" valign="top" align="left">
299 <font color="#000000" size="-1" face="arial,helvetica,sanserif">boolean</font>
300 </td>
301 </tr>
302 <!-- Attribute -->
303 <tr>
304 <td bgcolor="#eeeeee" valign="top" align="left">
305 <font color="#000000" size="-1" face="arial,helvetica,sanserif">warnlevel</font>
306 </td>
307 <td bgcolor="#eeeeee" valign="top" align="left">
308 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Level of warning currently between 1 and 4 with 4 being the strictest.</font>
309 </td>
310 <td bgcolor="#eeeeee" valign="top" align="left">
311 <font color="#000000" size="-1" face="arial,helvetica,sanserif">int</font>
312 </td>
313 </tr>
314 <!-- Attribute -->
315 <tr>
316 <td bgcolor="#eeeeee" valign="top" align="left">
317 <font color="#000000" size="-1" face="arial,helvetica,sanserif">win32icon</font>
318 </td>
319 <td bgcolor="#eeeeee" valign="top" align="left">
320 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Set the filename of icon to include.</font>
321 </td>
322 <td bgcolor="#eeeeee" valign="top" align="left">
323 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
324 </td>
325 </tr>
326 <!-- Attribute -->
327 <tr>
328 <td bgcolor="#eeeeee" valign="top" align="left">
329 <font color="#000000" size="-1" face="arial,helvetica,sanserif">win32res</font>
330 </td>
331 <td bgcolor="#eeeeee" valign="top" align="left">
332 <font color="#000000" size="-1" face="arial,helvetica,sanserif">Sets the filename of a win32 resource (.RES) file to include. This is not a .NET resource, but what Windows is used to.</font>
333 </td>
334 <td bgcolor="#eeeeee" valign="top" align="left">
335 <font color="#000000" size="-1" face="arial,helvetica,sanserif">File</font>
336 </td>
337 </tr>
338
339
340 </table>
341 </blockquote></td></tr>
342
343 </table>
344 <!-- End Attributes -->
345
346 <!-- Start Elements -->
347 <table border="0" cellspacing="0" cellpadding="2" width="100%">
348 <tr><td>&nbsp;</td></tr>
349
350 <tr><td bgcolor="#525D76">
351 <font color="#ffffff" face="arial,helvetica.sanserif">
352 <a name="elements">
353 <strong>Parameters as nested elements</strong></a></font>
354 </td></tr>
355
356 <tr><td><blockquote>
357 <!-- Start Element -->
358 <table border="0" cellspacing="0" cellpadding="2" width="100%">
359 <tr><td>&nbsp;</td></tr>
360 <tr><td bgcolor="#828DA6">
361 <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
362 <strong>define</strong> (org.apache.tools.ant.taskdefs.optional.dotnet.DotnetDefine)</font>
363 </td></tr>
364 <tr><td><blockquote>
365 add a define to the list of definitions
366<short-description><![CDATA[Add a define to the list of definitions.]]></short-description>
367<description>
368 <![CDATA[add a define to the list of definitions]]>
369 </description>
370
371 </blockquote></td></tr>
372 </table>
373 <!-- End Element -->
374 <!-- Start Element -->
375 <table border="0" cellspacing="0" cellpadding="2" width="100%">
376 <tr><td>&nbsp;</td></tr>
377 <tr><td bgcolor="#828DA6">
378 <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
379 <strong>reference</strong> (org.apache.tools.ant.types.FileSet)</font>
380 </td></tr>
381 <tr><td><blockquote>
382 add a new reference fileset to the compilation
383<short-description><![CDATA[Add a new reference fileset to the compilation.]]></short-description>
384<description>
385 <![CDATA[add a new reference fileset to the compilation]]>
386 </description>
387
388 </blockquote></td></tr>
389 </table>
390 <!-- End Element -->
391 <!-- Start Element -->
392 <table border="0" cellspacing="0" cellpadding="2" width="100%">
393 <tr><td>&nbsp;</td></tr>
394 <tr><td bgcolor="#828DA6">
395 <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
396 <strong>resource</strong> (org.apache.tools.ant.taskdefs.optional.dotnet.DotnetResource)</font>
397 </td></tr>
398 <tr><td><blockquote>
399 link or embed a resource
400<short-description><![CDATA[Link or embed a resource.]]></short-description>
401<description>
402 <![CDATA[link or embed a resource]]>
403 </description>
404
405 </blockquote></td></tr>
406 </table>
407 <!-- End Element -->
408 <!-- Start Element -->
409 <table border="0" cellspacing="0" cellpadding="2" width="100%">
410 <tr><td>&nbsp;</td></tr>
411 <tr><td bgcolor="#828DA6">
412 <font color="#ffffff" face="arial,helvetica.sanserif" size="-1">
413 <strong>src</strong> (org.apache.tools.ant.types.FileSet)</font>
414 </td></tr>
415 <tr><td><blockquote>
416 add a new source directory to the compile
417<short-description><![CDATA[Add a new source directory to the compile.]]></short-description>
418<description>
419 <![CDATA[add a new source directory to the compile]]>
420 </description>
421
422 </blockquote></td></tr>
423 </table>
424 <!-- End Element -->
425
426 </blockquote></td></tr>
427
428 </table>
429 <!-- End Elements -->
430
431
432 </td>
433 </tr>
434 <!-- END RIGHT SIDE MAIN BODY -->
435
436 <!-- FOOTER SEPARATOR -->
437 <tr>
438 <td>
439 <hr noshade="" size="1"/>
440 </td>
441 </tr>
442
443 <!-- PAGE FOOTER -->
444 <tr>
445 <td>
446 <div align="center"><font color="#525D76" size="-1"><em>
447 Copyright &copy; 2000-2005, The Apache Software Foundation. All Rights Reserved.
448 </em></font></div>
449 </td>
450 </tr>
451
452</table>
453
454</body>
455</html>
Note: See TracBrowser for help on using the repository browser.