Spring support in Selena
Is there a way to support PropertyPlaceholderConfigurer ?
I would like to be abble to map ENV_PROPERTY_FILE property to the properties file etc.
]]>
<property name="location" value="$"/>
</bean>
Thanks
Please sign in to leave a comment.
Hello Vladimir,
In your example IDEA cannot resolve the properties file used by the PropertyPlaceholderConfigurer
bean declaration, because system property "ENV_PROPERTY_FILE" is unknown.
In such a case IDEA should fall back to "lenient" property resolving. For
details see IDEADEV-16888, which actually quotes an old request from yourself
:)
Does this work for you?
-tt
I understand that Idea cannot resolve this, unless there is a special way to link property file with $
I think this pretty standard way of externalizing the property file via -D parameter and therefore I was asking for help on this
Thanks
Hello Vladimir,
Ok, so 'lenient' navigation to properties works for you, correct?
If I understand, you want to specify "ENV_PROPERTY_FILE" somehow, to get
rid of that last "red" stripe?
-tt
I didn't try, but this is exactly what I mean. Thanks
Message was edited by:
Vladimir Goncharov