Can someone please explain to me what the use is of inheritall
and what happens if I put inheritAll="false"
? Also, what is the difference between ant and antcall in antscript?
Asked
Active
Viewed 398 times
0

Nathan Hughes
- 94,330
- 19
- 181
- 276

user3427658
- 291
- 3
- 5
- 12
1 Answers
1
See Parameters in Ant site Here is the extract inheritAll If true, pass all properties to the new Ant project. Defaults to true.
To answer your secodn query see another post here .
Thanks, Keshava.
-
thanks,but i want to know if inheritAll="false" what happens – user3427658 just now edit – user3427658 Jul 28 '14 at 11:54
-
1Again quoting from the ant site **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.** So if you set inheritAll=false, only command line properties are passed to the new project. – Keshava Jul 28 '14 at 14:17