Hi Sunil,

what is the content of args[0] when you execute public static void main(String[] args) { System.out.println(args[0]); }

Am 17/01/17 um 14:55 schrieb raikarsunil:
Hi, I am not able to replace value into spring place holder .Below is the xml code snippet . file:#{systemProperties['configFileName']} In the above code I need to replace *configFileName* with actual file which I need to provide externally. Below is the java code with *args="/home/myfilepath/file.properties"*: public static void main(String[] args) { System.setProperty("configFileName", args[0]); } The above does not replace *configFileName* with *args *provided. Flink Command :*./flink run ../../my-code-1.0.0-SNAPSHOT.jar "/home/myfilepath/file.properties"* Any help on this? Thanks, Sunil
------------------------------------------------------------------------
View this message in context: Flink Run command :Replace placeholder value in spring xml <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-Run-command-Replace-placeholder-value-in-spring-xml-tp11109.html> Sent from the Apache Flink User Mailing List archive. mailing list archive <http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/> at Nabble.com.


Reply via email to