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
+ + +