From: Arno P. <ar...@pu...> - 2011-04-15 20:38:52
|
please do an update and try again. Arno On 4/14/11 8:23 AM, D.D...@ak... wrote: > Hi Arno, > > using the posix target i get the following error, and this time the > output folder isn't ven created at all > > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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.CompilationBundle.addResources(CompilationBundle.java:44) > at > org.xmlvm.proc.out.RecursiveResourceLoadingProcess.processPhase1(RecursiveResourceLoadingProcess.java:63) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:209) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase1(XmlvmProcessImpl.java:206) > at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:157) > at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:137) > at org.xmlvm.Main.main(Main.java:53) > ... 6 more > > > Thanks > > > > -----Arno Puder <ar...@pu...> ha scritto: ----- > > Per: xml...@li... > Da: Arno Puder <ar...@pu...> > Data: 14/04/2011 05.12PM > Oggetto: Re: [xmlvm-dev] Objective-C XML Parser > > > can you please try to cross-compile kxml using --target=posix and > report > back? > > Arno > > > On 4/14/11 8:08 AM, D.D...@ak... wrote: > > Hi, > > > > After reading more of the mailing list archives, I think I have a > better > > idea of Arno's suggestions. > > First of all, I understood that a C backend implementation for iPhone > > applications is not suggested yet > > and thus not included in the documentation. > > Secondly, I uderstood that I can cross-compile a Java parser (for > > instance, I have KXML) to the C backend > > as a separate project, am I right? Successively, I should try to > use the > > output C code in my original project, > > although I don't have a clear idea of how to this. Do I need to > create a > > plugin using the Java parser and the cross-compiled > > C version? > > Moreover, I tried to cross-compile the parser with the following > command > > > > java -Xmx1G -jar xmlvm.jar --in=kxml --out=kxml-c --app-name=kxml > --target=c > > > > but even if the output files are generated, I obtain errors like > > > > [04/14/11 16:36:35.058] ERROR: Vtable for java.lang.String not found! > > > > for every java library class. > > What am I doing wrong? > > > > Thank you very much for your help. > > > > Domenico > > > > > > > > -----Arno Puder <ar...@pu...> ha scritto: ----- > > > > Per: xml...@li... > > Da: Arno Puder <ar...@pu...> > > Data: 12/04/2011 09.56PM > > Oggetto: Re: [xmlvm-dev] Objective-C XML Parser > > > > > > my suggestion would be to use the C backend and simply > cross-compile a > > Java implementation of a DOM parser. Not sure, but there might > already > > be one in Harmony that is bundled with XMLVM. > > > > Arno > > > > > > On 4/12/11 6:43 AM, D.D...@ak... wrote: > > > Hi everyone, > > > > > > I'm working on the Java to Objective-C part of XMLVM, and I need to > > > implement a DOM parser for my project. I've noticed however > that only > > > NSXMLParser is available in XMLVM, > > > whereas I was thinking about using libxml, which is a C-based > parser > > > incuded in the iOS SDK. Do you have any idea of how I could > > accomplish this? > > > The first step would be to add the library in the Header Search > > Path of > > > the Project Setting, but I don't know where these settings are > > stored in > > > XMLVM. > > > Successively I think I should create some interface for the libxml > > > classes in the Obj-C and Java compatibility libraries. > > > Do you think it might be possible? > > > Of course I'd be very happy to share my contribution should I be > > able to > > > do this. > > > > > > Thank you, > > > > > > Domenico > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Forrester Wave Report - Recovery time is now measured in hours > > and minutes > > > not days. Key insights are discussed in the 2010 Forrester Wave > > Report as > > > part of an in-depth evaluation of disaster recovery service > > providers. > > > Forrester found the best-in-class provider in terms of services > > and vision. > > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > > > > > > > > > > > _______________________________________________ > > > Xmlvm-developers mailing list > > > Xml...@li... > > > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > ------------------------------------------------------------------------------ > > Forrester Wave Report - Recovery time is now measured in hours and > > minutes > > not days. Key insights are discussed in the 2010 Forrester Wave > > Report as > > part of an in-depth evaluation of disaster recovery service > providers. > > Forrester found the best-in-class provider in terms of services and > > vision. > > Read this report now! http://p.sf.net/sfu/ibm-webcastpromo > > _______________________________________________ > > Xmlvm-developers mailing list > > Xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > > > > > > > ------------------------------------------------------------------------------ > > Benefiting from Server Virtualization: Beyond Initial Workload > > Consolidation -- Increasing the use of server virtualization is a top > > priority.Virtualization can reduce costs, simplify management, > and improve > > application availability and disaster protection. Learn more > about boosting > > the value of server virtualization. > http://p.sf.net/sfu/vmware-sfdev2dev > > > > > > > > _______________________________________________ > > Xmlvm-developers mailing list > > Xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and > improve > application availability and disaster protection. Learn more about > boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > > > > > ------------------------------------------------------------------------------ > Benefiting from Server Virtualization: Beyond Initial Workload > Consolidation -- Increasing the use of server virtualization is a top > priority.Virtualization can reduce costs, simplify management, and improve > application availability and disaster protection. Learn more about boosting > the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev > > > > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers |