Problem with Ant property references
Hello,
I have an ant file with the following line:
<ant antfile="$/build/build.xml" target="clean-all" inheritall="false" />
In my build.properties I have defined
something=${env.PROJECT_HOME}/module
I use Idea 5.1.1. env.PROJECT_HOME is defined in global environment and as an ant property. Properties file is found by ant.
Ant marks the attributes red and says:
Cannot resolve symbol: $/build/build.xml
Cannot resolve symbol: clean-all
Does anyone have a hint?
Jochen
请先登录再写评论。
Check your File Types preferences: remove properties extension from Text files and add it to Properties file.
Thanks for the answer!
But this wasn't the problem.
The thing is caused by:
http://www.jetbrains.net/jira/browse/IDEADEV-2332
http://www.jetbrains.net/jira/browse/IDEADEV-3267
Regards,
Jochen