How to make Ant properties defined in custom tasks understood by IDEA?

Hello,

Is there any way to make IDEA to understand properties set by my custom
tasks.
For example I have a task which sets build.label, build.label.version,
build.label.version ... properties
but they all are marked as invalid because IDEA does not know that they have
been defined. I wonder if there is any way to tell IDEA more about my task
so it would recognize these properties as they are the highest level
properties from which all the others are derived

<use-label labelNameProperty="build.label"
buildVersionProperty="build.label.version"
buildSubDirProperty="build.label.subdir"
labelTimeProperty="build.label.time"
starteamModeProperty="src.mode.starteam"
sourceMode="${src.mode}"
buildSubdirTip="tip-revision"
buildSubdirLast="last-label"
buildSubdirLabel=""
URL="${starteam.url}" username="${starteam.username}"
password="${starteam.password}"/>


Thanks

Alex


Please sign in to leave a comment.