Trouble with resource property files in ant scripts

It seems that IntelliJ IDEA is having problems with locating files specified using the ant tag:

  <property resource="build.properties"/>


I've tried using the "Ant Build" panel to add the proper directory as an "Additional Classpath", but that doesn't seem to help.  Is there a way to get Idea to understand standard ant files?
  (*Chris*)

0

Hello.

That's a known problem: http://youtrack.jetbrains.com/issue/IDEA-38214

As a workaround, unresolved properties can be specified in Ant Build tool window / Build File Properties dialog / Properties tab.
Alternatively, the script may be modified to use "property" task with "file" attribute instead of "resource".
Just some ideas.

Regards,
Alexander.

0
Avatar
Permanently deleted user

Any ETA for a fix?  It seems like the IDE has all the information it should need to find the resources.  I'd hate to start coding around IDE bugs.
  (*Chris*)

0

请先登录再写评论。