From: 杜宇 <duy...@gm...> - 2011-03-11 05:32:46
|
Hi all, I have a problem when try to translate an android .class file to a iphone objc file. here is a snapshot of screen D:\xmlvm>java -jar dist/xmlvm.jar --in=bin/org/xmlvm/test/ArrayTest.class --out= bin/org/xmlvm/test/xmlvm/ --target=iphone [03/11/11 13:27:37.286] WARNING: Using xmlvm as application name [03/11/11 13:27:37.286] DEBUG: Forcing --enable_ref_counting for target IPHON E Error at xsl:value-of on line 2943 XPST0008: XPath syntax error at char 63 on line 2943 in {...eplace(replace($st ring,'\\1...}: Variable $string has not been declared [03/11/11 13:27:37.963] ERROR: XsltRunner: Could not create transformer for x mlvm2objc.xsl: Failed to compile stylesheet. 1 error detected. Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.simontuffs.onejar.Boot.run(Boot.java:306) at com.simontuffs.onejar.Boot.main(Boot.java:159) Caused by: java.lang.NullPointerException at org.xmlvm.proc.XsltRunner.runXSLT(XsltRunner.java:87) at org.xmlvm.proc.out.ObjectiveCOutputProcess.genObjC(ObjectiveCOutputPr ocess.java:100) at org.xmlvm.proc.out.ObjectiveCOutputProcess.process(ObjectiveCOutputPr ocess.java:59) at org.xmlvm.proc.XmlvmProcessImpl.preprocess(XmlvmProcessImpl.java:212) at org.xmlvm.proc.out.IPhoneOutputProcess.process(IPhoneOutputProcess.ja va:65) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:139) at org.xmlvm.Main.main(Main.java:54) ... 6 more could anyone help me with this problem? thanks very much! David 11/3/2011 |