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