From: Markus N. <mar...@gm...> - 2012-05-28 15:23:32
|
Hi Bruce, You can add this property in the method ensureProperties in java.lang.System (source folder: src/xmlvm2c/lib/proxies) for now. Ideally though you would implement a POSIX compatible way of determining this with native code and add it in java_lang_System_getPropertyList__ in native_java_lang_System.c. Markus On Sun, May 27, 2012 at 10:45 AM, Bruce Jackson <bru...@go...>wrote: > Hi All > > When I use xmlvm to build a simple Java project using the posix backend, I > find that only a very small collection of System properties are set, namely: > > console.encoding = (UTF-8) > java.version = (1.5 subset) > java.specification.version = (1.5) > os.encoding = (UTF-8) > com.ibm.oti.configuration = (clear) > file.encoding = (UTF-8) > java.specification.vendor = (Sun Microsystems Inc.) > com.ibm.oti.configuration.dir = (jclClear) > java.specification.name = (Java Platform API Specification) > > This means that the property line.separator has not been set which causes > problems with using the PrintWriter class. Does anyone know where I can set > this is the xmlvm build? > > Thanks > > Bruce > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |