From 2fa84738b4a2bfc1380bfbebe46c2e54921ff061 Mon Sep 17 00:00:00 2001
From: Conor MacNeill
If no target attribute is supplied, the default target of the new project is used.
-The properties of the current project will be available in the new project. -These properties will override the properties that are set in the new project. -(See also the property task). You can set properties -in the new project from the old project by using nested property tags. This -allows you to parameterize your subprojects.
+By default, all of the properties of the current project will be
+available in the new project. Alternatively, you can
+set the inheritAll attribute to false
and only
+"user" properties (i.e., those passed on the command-line)
+will be passed to the new project. In either case, the set of
+properties passed to the new project will override the properties that
+are set in the new project (See also the property task).
You can also set properties in the new project from the old project by +using nested property tags. These properties are always passed regardless of the +setting of inheritAll. This allows you to parameterize your subprojects.
No | ||
inheritAll | +If true , pass all properties to the new Ant
+ project. Defaults to true .
+ |
+ No | +
@@ -59,6 +71,10 @@ allows you to parameterize your subprojects. <property name="param1" value="version 1.x"/> <property file="config/subproject/default.properties"/> </ant> + + <ant inheritAll="false" antfile="subproject/subbuild.xml"> + <property name="output.type" value="html"/> + </ant>
Copyright © 2000,2001 Apache Software Foundation. All rights