properties loaded from files in ANT files

Hi.

We have an ANT build file that loads properties from a property file (paths
for components).

It works great, but in IntelliJ the usage of these properties appears as red
(error).

Anyone else experiencing this or can tell me how to remedy this?

Thanks,
Amnon


3 comments

I am embarrassed. After a while I guess it loaded the property file
internally as it shows them as green....

I do have some other issues:
1. Ctrl+Click on usage of a property from that file brings to the line in
the ANT file where the file is loaded instead of showing the entry in the
property file.
2. environment variables (env.*) are considered an error as they cannot be
resolved. May be this should be a warning?

Amnon


"Amnon I. Govrin" <agovrin@freshwater.com> wrote in message
news:c3rlr5$319$1@is.intellij.net...

Hi.

>

We have an ANT build file that loads properties from a property file

(paths

for components).

>

It works great, but in IntelliJ the usage of these properties appears as

red

(error).

>

Anyone else experiencing this or can tell me how to remedy this?

>

Thanks,
Amnon

>
>


0

"Amnon I. Govrin" <agovrin@freshwater.com> wrote in message
news:c3rmbi$6cf$1@is.intellij.net...

I am embarrassed. After a while I guess it loaded the property file
internally as it shows them as green....

>

I do have some other issues:
1. Ctrl+Click on usage of a property from that file brings to the line in
the ANT file where the file is loaded instead of showing the entry in the
property file.

Certainly it would be better to navigate to properties file, but it is
not easy to implement for internal reasons.

2. environment variables (env.*) are considered an error as they cannot be
resolved. May be this should be a warning?

This should and will be fixed a bit later.
>

Amnon

>

--

Dmitry Peshehonov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0

2. environment variables (env.*) are considered an error as they cannot be
resolved. May be this should be a warning?

>
Fixed in 2009.



--

Dmitry Peshehonov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



0

Please sign in to leave a comment.