From 7e2def37d836fa54859dff43a77f2628333f7fe3 Mon Sep 17 00:00:00 2001
From: Jan Materne How do I ...
+ + How do I realize os--specific configurations? +
+The core idea is using property files which name accords to the + os-name. Then simply use the build-in property os.name.
+For better use you should also provide a file with defaul values. + But be careful with the correct os-names. For test simply <echo> + the ${os.name} on all machines and you can be sure to use the right + file names.
++ <property file="${os.name}.properties"/> + <property file="default.properties"/> ++
How do I add an external task that I've written to the page "External Tools and Task"? @@ -613,6 +630,10 @@
The preferred format for this information is a patch to this document.
+If you have written something bigger than a 'simple plugin' to Ant it + may be better to add the link to projects.html. + The procedure to add it is the same. The file to patch is this + document. The syntax of that file is the same.
How do I pass parameters from the command line to my
diff --git a/xdocs/faq.xml b/xdocs/faq.xml
index 47c395e2c..95eea2a56 100644
--- a/xdocs/faq.xml
+++ b/xdocs/faq.xml
@@ -223,6 +223,23 @@
The core idea is using property files which name accords to the
+ os-name. Then simply use the build-in property os.name. For better use you should also provide a file with defaul values.
+ But be careful with the correct os-names. For test simply <echo>
+ the ${os.name} on all machines and you can be sure to use the right
+ file names.
If you have written something bigger than a 'simple plugin' to Ant it + may be better to add the link to projects.html. + The procedure to add it is the same. The file to patch is this + document. The syntax of that file is the same.
-