On 2008-11-13, Jean-Louis BOUDART <[EMAIL PROTECTED]> wrote:

> Refering to the comment
> // In an imported file (and not completely ignoring the project tag
> *OR*having a preconfigured prefix)
> this test should be like this instead
> if (!isInIncludeMode && !isPhase && (context.isIgnoringProjectTag()
>                 || (prefix = getTargetPrefix(context)) != null)) {

No.

!isInIncludeMode means "either the main build file or <import>ing a
 file"

context.isIgnoringProjectTag() means "either <include>ing or
<import>ing"

so anding those two is the "In an imported file" part of the comment

(prefix = getTargetPrefix(context)) != null covers both branches of
the OR in "not completely ignoring the project tag OR having a
preconfigured prefix" since it will either return the configured
prefix or the <project>'s name attribute.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to