From 6229635a089a03774daefd5b161c297337d8edae Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Fri, 13 Jul 2001 08:56:32 +0000 Subject: [PATCH] Add two FAQs - had two answer the first one at least twice this week and the second one has been part of the defunct interactive FAQ. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269337 13f79535-47bb-0310-9956-ffa450edef68 --- webpage/docs/faq.html | 149 ++++++++++++++++++++++++++++++++++++++++++ webpage/xdocs/faq.xml | 58 ++++++++++++++++ 2 files changed, 207 insertions(+) diff --git a/webpage/docs/faq.html b/webpage/docs/faq.html index b9665172f..4bd488b29 100644 --- a/webpage/docs/faq.html +++ b/webpage/docs/faq.html @@ -139,6 +139,14 @@ @@ -414,6 +422,147 @@ + + + + + +
+ + + How do I pass parameters from the command line to my + build file? + + +
+
+

Use properties: ant + -D<name>=<value> lets you define values for + properties. These can then be used within your build file as + any normal property: ${<name>} will put in + <value>.

+
+
+
+ + + + +
+ + + How can I use Jikes specific command line + switches? + + +
+
+

A couple of switches are supported via magic + properties:

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + switch + + + + property + + + + default + +
+ + +E + + + + build.compiler.emacs + + + + false == not set + +
+ + -nowarn + + + + build.compiler.warnings + + + + true == not set + +
+ + +P + + + + build.compiler.pedantic + + + + false == not set + +
+ + +F + + + + build.compiler.fulldepend + + + + false == not set + +
+
+
diff --git a/webpage/xdocs/faq.xml b/webpage/xdocs/faq.xml index a573a88cb..1558cf538 100644 --- a/webpage/xdocs/faq.xml +++ b/webpage/xdocs/faq.xml @@ -138,6 +138,64 @@ + + + How do I pass parameters from the command line to my + build file? + + +

Use properties: ant + -D<name>=<value> lets you define values for + properties. These can then be used within your build file as + any normal property: ${<name>} will put in + <value>.

+ +
+
+ + + How can I use Jikes specific command line + switches? + + + +

A couple of switches are supported via magic + properties:

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
switchpropertydefault
+Ebuild.compiler.emacsfalse == not set
-nowarnbuild.compiler.warningstrue == not set
+Pbuild.compiler.pedanticfalse == not set
+Fbuild.compiler.fulldependfalse == not set
+ + +