IDEA #3419 Ant build doesn't see property file

I define the property file in text.xml, but I get an error: "Cannot resolve symbol"


--
Denis Popov
build.home=build



Attachment(s):
test.xml
3 comments
Comment actions Permalink

I'm getting this problem too, with build 3425.

I have a build.xml with many references to properties defined in build.properties. I load build.properties with:

]]>

This works fine with Ant (1.6.2 from command-line), and IDEA 4.5 supported it. With build 3425 all the properties are showing red with "Cannot resolve symbol xxx".

John Hurst
Wellington, New Zealand

0
Comment actions Permalink

I have the same problem.

I have several targets which depend on an an "init" target. In the "init" target, I load a property file "package.txt" which defines locations of packages, e.g. JAVA_DIR.

In IDEA 4.5, the properties defined in "package.txt" are resolved properly wherever they are used in the targets which depend on "init".

But in 3425, the properties are not resolved. I believe this used to work in earlier Irida builds, not sure.. anyway it is a regression from 4.5

0
Comment actions Permalink

Couldn't find a Jira issue for this so...

Regression from 4.5.x : Ant build.xml doesn't resolve properties set in an included property file.
http://www.jetbrains.net/jira/browse/IDEA-4234

0

Please sign in to leave a comment.