You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

sysclasspath.html 1.8 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
  5. <title>build.sysclasspath</title>
  6. </head>
  7. <body>
  8. <h2><a name="sysclasspath">build.sysclasspath</a></h2>
  9. <p>The value of the build.sysclasspath property
  10. control how the system classpath, ie. the classpath in effect when
  11. Ant is run, affects the behaviour of classpaths in Ant.
  12. The default behavior varies from Ant to Ant task.</p>
  13. The values and their meanings are:
  14. <table cellspacing="20">
  15. <tr>
  16. <th align="left" valign="top">only</th>
  17. <td>Only the system classpath is used and classpaths specified in build files,
  18. etc are ignored. This situation could be considered as the person running
  19. the build file knows more about the environment than the person writing the
  20. build file
  21. </td>
  22. </tr>
  23. <tr>
  24. <th align="left" valign="top">ignore</th>
  25. <td>
  26. The system classpath is ignored. This situation is the reverse of the
  27. above. The person running the build trusts the build file writer to get the
  28. build file right
  29. </td>
  30. </tr>
  31. <tr>
  32. <th align="left" valign="top">last</th>
  33. <td>
  34. The classpath is concatenated to any specified classpaths at the end. This
  35. is a compromise, where the build file writer has priority.
  36. </td>
  37. </tr>
  38. <tr>
  39. <th align="left" valign="top">first</th>
  40. <td>
  41. Any specified classpaths are concatenated to the system classpath. This is
  42. the other form of compromise where the build runner has priority.
  43. </td>
  44. </tr>
  45. </table>
  46. <p><em>Since Ant 1.7</em> the value of this property also affects the
  47. bootclasspath settings--it combines the bootclasspath that has been
  48. specified for a task with the bootclasspath of the Java VM running
  49. Ant. If the property has not been set, it defaults to "ignore" in
  50. this case.</p>
  51. <hr>
  52. <p align="center">Copyright &copy; 2001-2002,2004-2005 The Apache Software Foundation. All rights
  53. Reserved.</p>
  54. </body>
  55. </html>