Priority
Minor
Type
Bug 
State
Verified 
Assignee
Eugene Zhuravlev 
Subsystem
Ant Integration 
Affected versions
Fixed in
Fixed in build
Next build 
Build
6083
Fixed in build
8254
  • Submitted by   Alexander Chernikov
    3 years ago (03 Nov 2006 17:48)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:37)
  • Jira: IDEA-35197
    (history, comments)

IDEA-35197

Ant integration: absolute file path is resolved as relative

1
Ant integration. Try code completion of absolute file path. I tested "import", "ant" tasks, e,g,:
...
    <ant antfile="/"/>

(Tested on unix.) Ctrl+Space after ... antfile="/. Result: the list of files and directories from current directory is suggested. It should be list of files in root directory.

Issue was closed
Comments (4)
 
History (2)
 
Links
 
David D. Kilzer
  David D. Kilzer
23 Nov 2006 00:04
(3 years ago)
#permalink
May be related to IDEA-10517.
David D. Kilzer
  David D. Kilzer
23 Nov 2006 00:18
(3 years ago)
#permalink
May be related to IDEA-10517.


Please ignore this comment. I discovered that the original bug described IDEA-10517 worked as it should, so I changed the intent of the bug.
Alexander Chernikov
  Alexander Chernikov
01 May 2007 15:02
(2 years ago)
#permalink
Selena 6932. This particular case is not fixed.
Windows absolute paths ("C:/path/dir") are resolved correctly.
But Unix absolute paths ("/path/dir") are resolved as they would be relative to current directory: "./path/dir". This happens both in Windows and Unix. Ant fails in both cases.
Alexander Chernikov
  Alexander Chernikov
28 Mar 2008 15:04
(22 months ago)
#permalink
7774, 8255: fix confirmed.