History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-26711
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Eugene Zhuravlev
Reporter: Sascha Weinreuter
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

File name specified in attribute "antfile" of "ant"-Task resolves incorrectly

Created: 10 May 07 18:40   Updated: 19 May 08 20:51
Component/s: Ant Integration, Editor. Error Highlighting
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive antfiles.zip (0.5 kb)


Build: 6,951
Severity: Medium


 Description  « Hide
The name of the file specified by the "antfile" attribute does not resolve relative to the directory specified by the "dir"-attribute. Such calls work fine however. See the example and the attached files.

a/build.xml:

<project default="a">
  <target name="a">
    <ant dir="../b" antfile="build-b.xml" />  <!-- build-b.xml is flagged as unresolved -->
  </target>
</project>

b/build-b.xml:

<project default="b">
  <target name="b">
    <echo>B!</echo>
  </target>
</project>


 All   Comments   Work Log   Change History      Sort Order:
Alexander Chernikov - 19 May 08 20:51
8382: still occurs.
Notice that the value of "target" attribute (if any) or "ant" task has correct highlighting and completion.