Re: [Ikvm-developers] System Properties through IKVMC dlls
Brought to you by:
jfrijters
From: Jeroen F. <je...@su...> - 2006-07-29 07:31:14
|
Jean Safar wrote: > I have java classes need to access System Properties through=20 > System.getProperty.=20 >=20 > I compile the jars in dll using ikvmc and run them with Mono,=20 > how do I pass the system properties to my classes now in=20 > Mono? Is this possible at all?=20 You can specify the properties in the app.config file: <?xml version=3D"1.0"?> <configuration> <appSettings> <add key=3D"ikvm:axis.ServerConfigFile" value=3D"C:\Program Files\xxx\server-config.wsdd" /> </appSettings> </configuration>=20 Note that you have to prefix the property name with "ikvm:" Regards, Jeroen |