You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Jon Stevens <jo...@latchkey.com> on 2001/07/20 22:40:21 UTC

Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs CallTarget.java

on 7/20/01 3:07 AM, "bodewig@apache.org" <bo...@apache.org> wrote:

> +<p>By default, all of the properties of the current project will be
> +available in the new project.   Alternatively, you can
> +set the <i>inheritAll</i> attribute to <code>false</code> and only
> +&quot;user&quot; 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 <a href="property.html">property
> task</a>).</p>
> +<p>You can also set properties in the new project from the old project by
> +using nested param tags. These properties are always passed regardless of the
> +setting of <i>inheritAll</i>.  This allows you to parameterize your
> subprojects.</p>

Thank you!

I just got bit by this "lacking" feature in <ant> and ended up having to use
the <exec> task to call ant again. Unfortunately, using the <exec> task in
this fashion doesn't seem to work on Winblows, but does work on *nix.

I look forward to the next release.

-jon