You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(29) |
Aug
(75) |
Sep
(32) |
Oct
(147) |
Nov
(31) |
Dec
(49) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(46) |
Feb
(35) |
Mar
(148) |
Apr
(33) |
May
(53) |
Jun
(46) |
Jul
(60) |
Aug
(44) |
Sep
(135) |
Oct
(23) |
Nov
(68) |
Dec
(42) |
2011 |
Jan
(94) |
Feb
(55) |
Mar
(114) |
Apr
(78) |
May
(64) |
Jun
(10) |
Jul
(31) |
Aug
(2) |
Sep
(25) |
Oct
(13) |
Nov
(8) |
Dec
(24) |
2012 |
Jan
(5) |
Feb
(33) |
Mar
(31) |
Apr
(19) |
May
(24) |
Jun
(23) |
Jul
(14) |
Aug
(15) |
Sep
(12) |
Oct
(3) |
Nov
(4) |
Dec
(19) |
2013 |
Jan
(8) |
Feb
(20) |
Mar
(4) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(4) |
Dec
|
2014 |
Jan
|
Feb
|
Mar
(6) |
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2015 |
Jan
(7) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Steve H. <st...@xh...> - 2009-08-29 09:02:04
|
I successfully installed and compiled xmlvm (checked out of svn today) on an Ubuntu Hardy machine with Sun Java 1.6 installed. I tried a simple conversion using a single class file that runs in the JVM without error. I used the command "xmlvm --in=Jim.class" and I got an error: 'Exception in thread "main" java.lang.reflect.InvocationTargetException'. Full output is reproduced below. I opened a bug report and attached the class file to it. Any help in getting this class file converted would be appreciated. $ xmlvm --in=../jim/Jim.class [08/29/09 01:51:58.821] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess [08/29/09 01:51:58.822] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess for "../jim/Jim.class" [08/29/09 01:51:58.822] DEBUG: Instantiated: org.xmlvm.proc.out.XmlvmOutputProcess [08/29/09 01:51:58.822] DEBUG: Adding preprocess org.xmlvm.proc.in.ClassInputProcess to process org.xmlvm.proc.out.XmlvmOutputProcess [08/29/09 01:51:58.822] DEBUG: ClassInputProcess.process(): ../jim/Jim.class 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: org.jdom.IllegalDataException: The data "x " is not legal for a JDOM attribute: 0x0 is not a legal XML character. at org.jdom.Attribute.setValue(Attribute.java:486) at org.jdom.Attribute.<init>(Attribute.java:229) at org.jdom.Attribute.<init>(Attribute.java:252) at org.jdom.Element.setAttribute(Element.java:1109) at org.xmlvm.proc.in.ClassInputProcess$BcelVisitor.addConstant(ClassInputProcess.java:317) at org.xmlvm.proc.in.ClassInputProcess$BcelVisitor.emitCPInstruction(ClassInputProcess.java:612) at org.xmlvm.proc.in.ClassInputProcess$BcelVisitor.visitCode(ClassInputProcess.java:485) at org.apache.bcel.classfile.Code.accept(Code.java:132) at org.apache.bcel.classfile.DescendingVisitor.visitCode(DescendingVisitor.java:174) at org.apache.bcel.classfile.Code.accept(Code.java:132) at org.apache.bcel.classfile.DescendingVisitor.visitMethod(DescendingVisitor.java:159) at org.apache.bcel.classfile.Method.accept(Method.java:102) at org.apache.bcel.classfile.DescendingVisitor.visitJavaClass(DescendingVisitor.java:103) at org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:213) at org.apache.bcel.classfile.DescendingVisitor.visit(DescendingVisitor.java:88) at org.xmlvm.proc.in.ClassInputProcess.process(ClassInputProcess.java:96) at org.xmlvm.proc.XmlvmProcess.preprocess(XmlvmProcess.java:172) at org.xmlvm.proc.out.XmlvmOutputProcess.process(XmlvmOutputProcess.java:54) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:105) at org.xmlvm.proc.NewMain.main(NewMain.java:55) ... 6 more |
From: <ART...@Au...> - 2009-08-28 16:03:33
|
Ok, thank you... The source code does help, but unforetunately when I compile the supplied iRemote app in the simulator it also crashes... Does this one work for others? -----Original Message----- From: Arno Puder [mailto:ar...@pu...] Sent: Thursday, August 27, 2009 6:37 PM To: xml...@li... Subject: Re: [xmlvm-users] JavaDoc. please look at the iRemote application that uses UITableView. Note that we have not implemented everything that UITableView can do. Unfortunately reading code is the only kind of API documentation we have at this point. Arno ART...@Au... wrote: > Afternoon, > > > > I have been searching for some java docs on the UI classes. > I am having an issue implementing UITableView and UITableViewDataSource > because the app just crashed when I add the data source to the table... I > wanted to read more about the classes to see what I am doing wrong. I > looked in the source forage code I checked out too, but didn't see any... > > > > Thank you, > > Andy Tipton Jr. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2009-08-27 22:37:38
|
please look at the iRemote application that uses UITableView. Note that we have not implemented everything that UITableView can do. Unfortunately reading code is the only kind of API documentation we have at this point. Arno ART...@Au... wrote: > Afternoon, > > > > I have been searching for some java docs on the UI classes. > I am having an issue implementing UITableView and UITableViewDataSource > because the app just crashed when I add the data source to the table… I > wanted to read more about the classes to see what I am doing wrong. I > looked in the source forage code I checked out too, but didn’t see any… > > > > Thank you, > > Andy Tipton Jr. > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: <ART...@Au...> - 2009-08-27 20:59:36
|
Afternoon, I have been searching for some java docs on the UI classes. I am having an issue implementing UITableView and UITableViewDataSource because the app just crashed when I add the data source to the table... I wanted to read more about the classes to see what I am doing wrong. I looked in the source forage code I checked out too, but didn't see any... Thank you, Andy Tipton Jr. |
From: Sascha H. <sa...@gm...> - 2009-08-27 15:11:24
|
You can try running org.xmlvm.Main with the following arguments: --out=<out> --clr path-to/HelloWorld.class But I don't think more than a HelloWorld will be compilable. // Sascha On Thu, Aug 27, 2009 at 9:02 AM, Schmerder, Juergen < jue...@sa...> wrote: > Hi Sascha > > > > Thanks for the explanation – I’ll have a look into CompatJavaLib. > > Is there a version on SVN with (whatever limited) support of java2clr I > could sync back to? > > > > Best, Juergen > > > > *From:* Sascha Haeberling [mailto:sa...@gm...] > *Sent:* Wednesday, Aug 26, 2009 23:29 PM > *To:* Schmerder, Juergen > *Cc:* xml...@li... > *Subject:* Re: [xmlvm-users] xmlvm java.class -> clr/exe > > > > (Sorry, hit send too early) > > (See CompatJavaLib.java). Also, JVM instruction coverage is low (see > jvm2clr.xsl). > > Right now our focus is not on this translation path, but if you like to > contribute, you are more than welcome! > > > > // Sascha > > On Thu, Aug 27, 2009 at 8:07 AM, Sascha Haeberling <sa...@gm...> > wrote: > > Hi Juergen! > > We are in the process of deprecating an dold infrastructure by setting up a > new one. A while ago we made this new one the default one, even though it > doesn't support all possible cross-compilation combinations. While the old > infrastructure was possible to cross-compile Java bytecode to CLR files, > coverage wasn't that good. We will re-introduce this functionality soon, but > don't expect it to be very usable. There is almost no Java compatibility > library for the CLR (See Compat > > > > On Thu, Aug 27, 2009 at 2:55 AM, Juergen Schmerder < > jue...@sa...> wrote: > > Hi > > Is the current (synchronized with SVN today) version of XMLVM able to > cross-compile a Java classfile to .NET byte code? > > Basically, xmlvm seems to work fine - when I do (on the usual > HelloWorld.java that does a System.out.println in main): > > >> xmlvm --in=HelloWorld.class --target=xmlvm > > I get: > > [08/26/09 17:48:18.777] DEBUG: Instantiated: > org.xmlvm.proc.in.ClassInputProcess > [08/26/09 17:48:18.779] DEBUG: Instantiated: > org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" > [08/26/09 17:48:18.781] DEBUG: Instantiated: > org.xmlvm.proc.out.XmlvmOutputProcess > [08/26/09 17:48:18.782] DEBUG: Adding preprocess > org.xmlvm.proc.in.ClassInputProcess to process > org.xmlvm.proc.out.XmlvmOutputProcess > [08/26/09 17:48:18.783] DEBUG: ClassInputProcess.process(): > HelloWorld.class > [08/26/09 17:48:18.933] DEBUG: Processing finished successfully. > [08/26/09 17:48:18.934] DEBUG: Writing file: ./HelloWorld.xmlvm > [08/26/09 17:48:18.935] DEBUG: Files written successfully. > > Looks fine! Cross-compilation to JavaScript also worked. But when I try > > >> xmlvm --in=HelloWorld.class --target=clr > > I get > > [08/26/09 17:53:09.992] DEBUG: Instantiated: > org.xmlvm.proc.in.ClassInputProcess > [08/26/09 17:53:09.993] DEBUG: Instantiated: > org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" > [08/26/09 17:53:09.993] ERROR: Could not create OutputProcess for target > 'CLR'. > 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.XmlvmProcessor.filterNotYetProcessedProcessed(XmlvmProcessor. > java:196) > at > > org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline0(XmlvmProcessor.java:1 > 44) > at > > org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline(XmlvmProcessor.java:13 > 9) > at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:101) > at org.xmlvm.proc.NewMain.main(NewMain.java:55) > ... 6 more > > > Same for > >> xmlvm --in=HelloWorld.xmlvm --target=clr > or > >> xmlvm --in=HelloWorld.class --target=exe > > > Am I missing anything or is this not supposed to work? > > Best regards, Juergen > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > |
From: <ART...@Au...> - 2009-08-27 11:43:41
|
Ok, I apologize... Thank you for your help... -----Original Message----- From: Arno Puder [mailto:ar...@pu...] Sent: Wednesday, August 26, 2009 5:30 PM To: xml...@li... Subject: Re: [xmlvm-users] supported libraries Smart phones have unique user interface elements and it would not make sense to use a desktop GUI library such as Swing to write applications for these devices. That is where you would be using the UI* classes. Arno ART...@Au... wrote: > "Ok, thank you. Do you know when it will support the swing libraries so I can build an UI in Java? With only those two packages, it leaves me pretty limited..." > > Or is this where I use the UIScreen, UILabel, etc... Sorry if I am totally missing something here... > > Thank you, > Andy > > -----Original Message----- > From: Arno Puder [mailto:ar...@pu...] > Sent: Monday, August 24, 2009 7:55 PM > To: xml...@li... > Subject: Re: [xmlvm-users] supported libraries > > > Andy, > > the problem with 3rd party libs is that they usually themselves have > dependencies to other libraries. At this point we only have limited > support for things in java.lang.* and java.util.* I'm hoping to attract > some open source developers who might help with the task to map the > missing API. > > Arno > > > ART...@Au... wrote: >> Afternoon, >> >> >> >> I am curious of the same thing... currently my Java app uses some third >> party libraries like xerces and it complains about the jar when I try to >> cross compile it. I am not sure if you have to have the debug version >> of the jars for it to work or what... Does anyone have insight to this? >> >> >> >> Thank you, >> >> Andy >> >> >> >> ------------------------------------------------------------------------ >> >> *From:* Martijn Vastenburg [mailto:m.h...@tu...] >> *Sent:* Monday, August 24, 2009 7:40 AM >> *To:* xml...@li... >> *Subject:* [xmlvm-users] supported libraries >> >> >> >> Hello, >> >> As an experienced Java programmer, I was delighted to find XMLVM as a >> way to develop Iphone applications in Java. >> >> I have been exploring the examples that shipped with XMLVM. Some of the >> examples of XMLVM make use of java.awt classes. I am confused here, >> since I thought Cocoa classes had to be used instead. Could someone >> please explain to me what Java libraries I can use when developing for >> the Iphone? Can I use AWT since it is all-java, and should I avoid using >> Swing? And what about libraries for parsing XML files and accessing >> MySQL, can they be used on the Iphone? >> >> Thanks! >> Martijn >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Schmerder, J. <jue...@sa...> - 2009-08-27 07:03:27
|
Hi Sascha Thanks for the explanation - I'll have a look into CompatJavaLib. Is there a version on SVN with (whatever limited) support of java2clr I could sync back to? Best, Juergen From: Sascha Haeberling [mailto:sa...@gm...] Sent: Wednesday, Aug 26, 2009 23:29 PM To: Schmerder, Juergen Cc: xml...@li... Subject: Re: [xmlvm-users] xmlvm java.class -> clr/exe (Sorry, hit send too early) (See CompatJavaLib.java). Also, JVM instruction coverage is low (see jvm2clr.xsl). Right now our focus is not on this translation path, but if you like to contribute, you are more than welcome! // Sascha On Thu, Aug 27, 2009 at 8:07 AM, Sascha Haeberling <sa...@gm...> wrote: Hi Juergen! We are in the process of deprecating an dold infrastructure by setting up a new one. A while ago we made this new one the default one, even though it doesn't support all possible cross-compilation combinations. While the old infrastructure was possible to cross-compile Java bytecode to CLR files, coverage wasn't that good. We will re-introduce this functionality soon, but don't expect it to be very usable. There is almost no Java compatibility library for the CLR (See Compat On Thu, Aug 27, 2009 at 2:55 AM, Juergen Schmerder <jue...@sa...> wrote: Hi Is the current (synchronized with SVN today) version of XMLVM able to cross-compile a Java classfile to .NET byte code? Basically, xmlvm seems to work fine - when I do (on the usual HelloWorld.java that does a System.out.println in main): >> xmlvm --in=HelloWorld.class --target=xmlvm I get: [08/26/09 17:48:18.777] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess [08/26/09 17:48:18.779] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" [08/26/09 17:48:18.781] DEBUG: Instantiated: org.xmlvm.proc.out.XmlvmOutputProcess [08/26/09 17:48:18.782] DEBUG: Adding preprocess org.xmlvm.proc.in.ClassInputProcess to process org.xmlvm.proc.out.XmlvmOutputProcess [08/26/09 17:48:18.783] DEBUG: ClassInputProcess.process(): HelloWorld.class [08/26/09 17:48:18.933] DEBUG: Processing finished successfully. [08/26/09 17:48:18.934] DEBUG: Writing file: ./HelloWorld.xmlvm [08/26/09 17:48:18.935] DEBUG: Files written successfully. Looks fine! Cross-compilation to JavaScript also worked. But when I try >> xmlvm --in=HelloWorld.class --target=clr I get [08/26/09 17:53:09.992] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess [08/26/09 17:53:09.993] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" [08/26/09 17:53:09.993] ERROR: Could not create OutputProcess for target 'CLR'. Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl .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.XmlvmProcessor.filterNotYetProcessedProcessed(XmlvmProces sor. java:196) at org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline0(XmlvmProcessor.ja va:1 44) at org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline(XmlvmProcessor.jav a:13 9) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:101) at org.xmlvm.proc.NewMain.main(NewMain.java:55) ... 6 more Same for >> xmlvm --in=HelloWorld.xmlvm --target=clr or >> xmlvm --in=HelloWorld.class --target=exe Am I missing anything or is this not supposed to work? Best regards, Juergen ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Sascha H. <sa...@gm...> - 2009-08-27 06:30:01
|
(Sorry, hit send too early) (See CompatJavaLib.java). Also, JVM instruction coverage is low (see jvm2clr.xsl). Right now our focus is not on this translation path, but if you like to contribute, you are more than welcome! // Sascha On Thu, Aug 27, 2009 at 8:07 AM, Sascha Haeberling <sa...@gm...>wrote: > Hi Juergen! > > We are in the process of deprecating an dold infrastructure by setting up a > new one. A while ago we made this new one the default one, even though it > doesn't support all possible cross-compilation combinations. While the old > infrastructure was possible to cross-compile Java bytecode to CLR files, > coverage wasn't that good. We will re-introduce this functionality soon, but > don't expect it to be very usable. There is almost no Java compatibility > library for the CLR (See Compat > > On Thu, Aug 27, 2009 at 2:55 AM, Juergen Schmerder < > jue...@sa...> wrote: > >> Hi >> >> Is the current (synchronized with SVN today) version of XMLVM able to >> cross-compile a Java classfile to .NET byte code? >> >> Basically, xmlvm seems to work fine - when I do (on the usual >> HelloWorld.java that does a System.out.println in main): >> >> >> xmlvm --in=HelloWorld.class --target=xmlvm >> >> I get: >> >> [08/26/09 17:48:18.777] DEBUG: Instantiated: >> org.xmlvm.proc.in.ClassInputProcess >> [08/26/09 17:48:18.779] DEBUG: Instantiated: >> org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" >> [08/26/09 17:48:18.781] DEBUG: Instantiated: >> org.xmlvm.proc.out.XmlvmOutputProcess >> [08/26/09 17:48:18.782] DEBUG: Adding preprocess >> org.xmlvm.proc.in.ClassInputProcess to process >> org.xmlvm.proc.out.XmlvmOutputProcess >> [08/26/09 17:48:18.783] DEBUG: ClassInputProcess.process(): >> HelloWorld.class >> [08/26/09 17:48:18.933] DEBUG: Processing finished successfully. >> [08/26/09 17:48:18.934] DEBUG: Writing file: ./HelloWorld.xmlvm >> [08/26/09 17:48:18.935] DEBUG: Files written successfully. >> >> Looks fine! Cross-compilation to JavaScript also worked. But when I try >> >> >> xmlvm --in=HelloWorld.class --target=clr >> >> I get >> >> [08/26/09 17:53:09.992] DEBUG: Instantiated: >> org.xmlvm.proc.in.ClassInputProcess >> [08/26/09 17:53:09.993] DEBUG: Instantiated: >> org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" >> [08/26/09 17:53:09.993] ERROR: Could not create OutputProcess for >> target >> 'CLR'. >> 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.XmlvmProcessor.filterNotYetProcessedProcessed(XmlvmProcessor. >> java:196) >> at >> >> org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline0(XmlvmProcessor.java:1 >> 44) >> at >> >> org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline(XmlvmProcessor.java:13 >> 9) >> at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:101) >> at org.xmlvm.proc.NewMain.main(NewMain.java:55) >> ... 6 more >> >> >> Same for >> >> xmlvm --in=HelloWorld.xmlvm --target=clr >> or >> >> xmlvm --in=HelloWorld.class --target=exe >> >> >> Am I missing anything or is this not supposed to work? >> >> Best regards, Juergen >> >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > > |
From: Sascha H. <sa...@gm...> - 2009-08-27 06:08:10
|
Hi Juergen! We are in the process of deprecating an dold infrastructure by setting up a new one. A while ago we made this new one the default one, even though it doesn't support all possible cross-compilation combinations. While the old infrastructure was possible to cross-compile Java bytecode to CLR files, coverage wasn't that good. We will re-introduce this functionality soon, but don't expect it to be very usable. There is almost no Java compatibility library for the CLR (See Compat On Thu, Aug 27, 2009 at 2:55 AM, Juergen Schmerder < jue...@sa...> wrote: > Hi > > Is the current (synchronized with SVN today) version of XMLVM able to > cross-compile a Java classfile to .NET byte code? > > Basically, xmlvm seems to work fine - when I do (on the usual > HelloWorld.java that does a System.out.println in main): > > >> xmlvm --in=HelloWorld.class --target=xmlvm > > I get: > > [08/26/09 17:48:18.777] DEBUG: Instantiated: > org.xmlvm.proc.in.ClassInputProcess > [08/26/09 17:48:18.779] DEBUG: Instantiated: > org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" > [08/26/09 17:48:18.781] DEBUG: Instantiated: > org.xmlvm.proc.out.XmlvmOutputProcess > [08/26/09 17:48:18.782] DEBUG: Adding preprocess > org.xmlvm.proc.in.ClassInputProcess to process > org.xmlvm.proc.out.XmlvmOutputProcess > [08/26/09 17:48:18.783] DEBUG: ClassInputProcess.process(): > HelloWorld.class > [08/26/09 17:48:18.933] DEBUG: Processing finished successfully. > [08/26/09 17:48:18.934] DEBUG: Writing file: ./HelloWorld.xmlvm > [08/26/09 17:48:18.935] DEBUG: Files written successfully. > > Looks fine! Cross-compilation to JavaScript also worked. But when I try > > >> xmlvm --in=HelloWorld.class --target=clr > > I get > > [08/26/09 17:53:09.992] DEBUG: Instantiated: > org.xmlvm.proc.in.ClassInputProcess > [08/26/09 17:53:09.993] DEBUG: Instantiated: > org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" > [08/26/09 17:53:09.993] ERROR: Could not create OutputProcess for target > 'CLR'. > 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.XmlvmProcessor.filterNotYetProcessedProcessed(XmlvmProcessor. > java:196) > at > > org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline0(XmlvmProcessor.java:1 > 44) > at > > org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline(XmlvmProcessor.java:13 > 9) > at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:101) > at org.xmlvm.proc.NewMain.main(NewMain.java:55) > ... 6 more > > > Same for > >> xmlvm --in=HelloWorld.xmlvm --target=clr > or > >> xmlvm --in=HelloWorld.class --target=exe > > > Am I missing anything or is this not supposed to work? > > Best regards, Juergen > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Juergen S. <jue...@sa...> - 2009-08-27 00:52:39
|
Hi Is the current (synchronized with SVN today) version of XMLVM able to cross-compile a Java classfile to .NET byte code? Basically, xmlvm seems to work fine - when I do (on the usual HelloWorld.java that does a System.out.println in main): >> xmlvm --in=HelloWorld.class --target=xmlvm I get: [08/26/09 17:48:18.777] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess [08/26/09 17:48:18.779] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" [08/26/09 17:48:18.781] DEBUG: Instantiated: org.xmlvm.proc.out.XmlvmOutputProcess [08/26/09 17:48:18.782] DEBUG: Adding preprocess org.xmlvm.proc.in.ClassInputProcess to process org.xmlvm.proc.out.XmlvmOutputProcess [08/26/09 17:48:18.783] DEBUG: ClassInputProcess.process(): HelloWorld.class [08/26/09 17:48:18.933] DEBUG: Processing finished successfully. [08/26/09 17:48:18.934] DEBUG: Writing file: ./HelloWorld.xmlvm [08/26/09 17:48:18.935] DEBUG: Files written successfully. Looks fine! Cross-compilation to JavaScript also worked. But when I try >> xmlvm --in=HelloWorld.class --target=clr I get [08/26/09 17:53:09.992] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess [08/26/09 17:53:09.993] DEBUG: Instantiated: org.xmlvm.proc.in.ClassInputProcess for "HelloWorld.class" [08/26/09 17:53:09.993] ERROR: Could not create OutputProcess for target 'CLR'. 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.XmlvmProcessor.filterNotYetProcessedProcessed(XmlvmProcessor. java:196) at org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline0(XmlvmProcessor.java:1 44) at org.xmlvm.proc.XmlvmProcessor.buildProcessingPipeline(XmlvmProcessor.java:13 9) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:101) at org.xmlvm.proc.NewMain.main(NewMain.java:55) ... 6 more Same for >> xmlvm --in=HelloWorld.xmlvm --target=clr or >> xmlvm --in=HelloWorld.class --target=exe Am I missing anything or is this not supposed to work? Best regards, Juergen |
From: Arno P. <ar...@pu...> - 2009-08-26 22:02:52
|
Smart phones have unique user interface elements and it would not make sense to use a desktop GUI library such as Swing to write applications for these devices. That is where you would be using the UI* classes. Arno ART...@Au... wrote: > "Ok, thank you. Do you know when it will support the swing libraries so I can build an UI in Java? With only those two packages, it leaves me pretty limited..." > > Or is this where I use the UIScreen, UILabel, etc... Sorry if I am totally missing something here... > > Thank you, > Andy > > -----Original Message----- > From: Arno Puder [mailto:ar...@pu...] > Sent: Monday, August 24, 2009 7:55 PM > To: xml...@li... > Subject: Re: [xmlvm-users] supported libraries > > > Andy, > > the problem with 3rd party libs is that they usually themselves have > dependencies to other libraries. At this point we only have limited > support for things in java.lang.* and java.util.* I'm hoping to attract > some open source developers who might help with the task to map the > missing API. > > Arno > > > ART...@Au... wrote: >> Afternoon, >> >> >> >> I am curious of the same thing... currently my Java app uses some third >> party libraries like xerces and it complains about the jar when I try to >> cross compile it. I am not sure if you have to have the debug version >> of the jars for it to work or what... Does anyone have insight to this? >> >> >> >> Thank you, >> >> Andy >> >> >> >> ------------------------------------------------------------------------ >> >> *From:* Martijn Vastenburg [mailto:m.h...@tu...] >> *Sent:* Monday, August 24, 2009 7:40 AM >> *To:* xml...@li... >> *Subject:* [xmlvm-users] supported libraries >> >> >> >> Hello, >> >> As an experienced Java programmer, I was delighted to find XMLVM as a >> way to develop Iphone applications in Java. >> >> I have been exploring the examples that shipped with XMLVM. Some of the >> examples of XMLVM make use of java.awt classes. I am confused here, >> since I thought Cocoa classes had to be used instead. Could someone >> please explain to me what Java libraries I can use when developing for >> the Iphone? Can I use AWT since it is all-java, and should I avoid using >> Swing? And what about libraries for parsing XML files and accessing >> MySQL, can they be used on the Iphone? >> >> Thanks! >> Martijn >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: <ART...@Au...> - 2009-08-26 19:01:12
|
"Ok, thank you. Do you know when it will support the swing libraries so I can build an UI in Java? With only those two packages, it leaves me pretty limited..." Or is this where I use the UIScreen, UILabel, etc... Sorry if I am totally missing something here... Thank you, Andy -----Original Message----- From: Arno Puder [mailto:ar...@pu...] Sent: Monday, August 24, 2009 7:55 PM To: xml...@li... Subject: Re: [xmlvm-users] supported libraries Andy, the problem with 3rd party libs is that they usually themselves have dependencies to other libraries. At this point we only have limited support for things in java.lang.* and java.util.* I'm hoping to attract some open source developers who might help with the task to map the missing API. Arno ART...@Au... wrote: > Afternoon, > > > > I am curious of the same thing... currently my Java app uses some third > party libraries like xerces and it complains about the jar when I try to > cross compile it. I am not sure if you have to have the debug version > of the jars for it to work or what... Does anyone have insight to this? > > > > Thank you, > > Andy > > > > ------------------------------------------------------------------------ > > *From:* Martijn Vastenburg [mailto:m.h...@tu...] > *Sent:* Monday, August 24, 2009 7:40 AM > *To:* xml...@li... > *Subject:* [xmlvm-users] supported libraries > > > > Hello, > > As an experienced Java programmer, I was delighted to find XMLVM as a > way to develop Iphone applications in Java. > > I have been exploring the examples that shipped with XMLVM. Some of the > examples of XMLVM make use of java.awt classes. I am confused here, > since I thought Cocoa classes had to be used instead. Could someone > please explain to me what Java libraries I can use when developing for > the Iphone? Can I use AWT since it is all-java, and should I avoid using > Swing? And what about libraries for parsing XML files and accessing > MySQL, can they be used on the Iphone? > > Thanks! > Martijn > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: <ART...@Au...> - 2009-08-26 18:46:13
|
Ok, thank you. Do you know when it will support the swing libraries so I can build an UI in Java? With only those two packages, it leaves me pretty limited... Thank you, Andy -----Original Message----- From: Arno Puder [mailto:ar...@pu...] Sent: Monday, August 24, 2009 7:55 PM To: xml...@li... Subject: Re: [xmlvm-users] supported libraries Andy, the problem with 3rd party libs is that they usually themselves have dependencies to other libraries. At this point we only have limited support for things in java.lang.* and java.util.* I'm hoping to attract some open source developers who might help with the task to map the missing API. Arno ART...@Au... wrote: > Afternoon, > > > > I am curious of the same thing... currently my Java app uses some third > party libraries like xerces and it complains about the jar when I try to > cross compile it. I am not sure if you have to have the debug version > of the jars for it to work or what... Does anyone have insight to this? > > > > Thank you, > > Andy > > > > ------------------------------------------------------------------------ > > *From:* Martijn Vastenburg [mailto:m.h...@tu...] > *Sent:* Monday, August 24, 2009 7:40 AM > *To:* xml...@li... > *Subject:* [xmlvm-users] supported libraries > > > > Hello, > > As an experienced Java programmer, I was delighted to find XMLVM as a > way to develop Iphone applications in Java. > > I have been exploring the examples that shipped with XMLVM. Some of the > examples of XMLVM make use of java.awt classes. I am confused here, > since I thought Cocoa classes had to be used instead. Could someone > please explain to me what Java libraries I can use when developing for > the Iphone? Can I use AWT since it is all-java, and should I avoid using > Swing? And what about libraries for parsing XML files and accessing > MySQL, can they be used on the Iphone? > > Thanks! > Martijn > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2009-08-25 18:52:01
|
we use name-mangling to solve this problem: // Java void add(int x) // Objective-C - (void) add___int: (int) x Arno wol...@j2... wrote: > Hallo, > > how does XMLVM handle method overriding in case of idendical signature but > different return type? > > The JDK emmits such methods as synthetic bridge methods, and the Scala > compiler makes use of method overriding by return type. > > Greetings, Wolfgang > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: <wol...@j2...> - 2009-08-25 14:11:08
|
Hallo, how does XMLVM handle method overriding in case of idendical signature but different return type? The JDK emmits such methods as synthetic bridge methods, and the Scala compiler makes use of method overriding by return type. Greetings, Wolfgang |
From: <ART...@Au...> - 2009-08-25 11:43:39
|
Ok, thank you for the info... I should be able to do an iPhone app with the same functionality using the Java libs. Thank everyone for all of your help. This is a great tool. -----Original Message----- From: Arno Puder [mailto:ar...@pu...] Sent: Monday, August 24, 2009 7:55 PM To: xml...@li... Subject: Re: [xmlvm-users] supported libraries Andy, the problem with 3rd party libs is that they usually themselves have dependencies to other libraries. At this point we only have limited support for things in java.lang.* and java.util.* I'm hoping to attract some open source developers who might help with the task to map the missing API. Arno ART...@Au... wrote: > Afternoon, > > > > I am curious of the same thing... currently my Java app uses some third > party libraries like xerces and it complains about the jar when I try to > cross compile it. I am not sure if you have to have the debug version > of the jars for it to work or what... Does anyone have insight to this? > > > > Thank you, > > Andy > > > > ------------------------------------------------------------------------ > > *From:* Martijn Vastenburg [mailto:m.h...@tu...] > *Sent:* Monday, August 24, 2009 7:40 AM > *To:* xml...@li... > *Subject:* [xmlvm-users] supported libraries > > > > Hello, > > As an experienced Java programmer, I was delighted to find XMLVM as a > way to develop Iphone applications in Java. > > I have been exploring the examples that shipped with XMLVM. Some of the > examples of XMLVM make use of java.awt classes. I am confused here, > since I thought Cocoa classes had to be used instead. Could someone > please explain to me what Java libraries I can use when developing for > the Iphone? Can I use AWT since it is all-java, and should I avoid using > Swing? And what about libraries for parsing XML files and accessing > MySQL, can they be used on the Iphone? > > Thanks! > Martijn > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li... https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2009-08-24 23:55:06
|
Andy, the problem with 3rd party libs is that they usually themselves have dependencies to other libraries. At this point we only have limited support for things in java.lang.* and java.util.* I'm hoping to attract some open source developers who might help with the task to map the missing API. Arno ART...@Au... wrote: > Afternoon, > > > > I am curious of the same thing… currently my Java app uses some third > party libraries like xerces and it complains about the jar when I try to > cross compile it. I am not sure if you have to have the debug version > of the jars for it to work or what… Does anyone have insight to this? > > > > Thank you, > > Andy > > > > ------------------------------------------------------------------------ > > *From:* Martijn Vastenburg [mailto:m.h...@tu...] > *Sent:* Monday, August 24, 2009 7:40 AM > *To:* xml...@li... > *Subject:* [xmlvm-users] supported libraries > > > > Hello, > > As an experienced Java programmer, I was delighted to find XMLVM as a > way to develop Iphone applications in Java. > > I have been exploring the examples that shipped with XMLVM. Some of the > examples of XMLVM make use of java.awt classes. I am confused here, > since I thought Cocoa classes had to be used instead. Could someone > please explain to me what Java libraries I can use when developing for > the Iphone? Can I use AWT since it is all-java, and should I avoid using > Swing? And what about libraries for parsing XML files and accessing > MySQL, can they be used on the Iphone? > > Thanks! > Martijn > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2009-08-24 23:52:01
|
Martijn, XMLVM is a general cross-compiler toolchain for different source and destination targets. The java.awt.* things you have seen belong to another target. Take a look at source folder src/xmlvm2objc/compat-lib/java to see the API we support for the iPhone. I'm currently working on XML-parsing API (NSXMLParser) that I hope to check in sometime real soon. Arno Martijn Vastenburg wrote: > Hello, > > As an experienced Java programmer, I was delighted to find XMLVM as a > way to develop Iphone applications in Java. > > I have been exploring the examples that shipped with XMLVM. Some of the > examples of XMLVM make use of java.awt classes. I am confused here, > since I thought Cocoa classes had to be used instead. Could someone > please explain to me what Java libraries I can use when developing for > the Iphone? Can I use AWT since it is all-java, and should I avoid using > Swing? And what about libraries for parsing XML files and accessing > MySQL, can they be used on the Iphone? > > Thanks! > Martijn > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > > ------------------------------------------------------------------------ > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: <ART...@Au...> - 2009-08-24 17:24:58
|
Afternoon, I am curious of the same thing... currently my Java app uses some third party libraries like xerces and it complains about the jar when I try to cross compile it. I am not sure if you have to have the debug version of the jars for it to work or what... Does anyone have insight to this? Thank you, Andy ________________________________ From: Martijn Vastenburg [mailto:m.h...@tu...] Sent: Monday, August 24, 2009 7:40 AM To: xml...@li... Subject: [xmlvm-users] supported libraries Hello, As an experienced Java programmer, I was delighted to find XMLVM as a way to develop Iphone applications in Java. I have been exploring the examples that shipped with XMLVM. Some of the examples of XMLVM make use of java.awt classes. I am confused here, since I thought Cocoa classes had to be used instead. Could someone please explain to me what Java libraries I can use when developing for the Iphone? Can I use AWT since it is all-java, and should I avoid using Swing? And what about libraries for parsing XML files and accessing MySQL, can they be used on the Iphone? Thanks! Martijn |
From: Marius P. <Mar...@st...> - 2009-08-24 08:11:41
|
Hey Kevin, you were right. The following line did the trick (in case anyone else runs into this problem): export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/ Thanks! Regards, marius Am 24.08.2009 um 09:32 schrieb Kevin Glass: You were right to switch to 1.6, Path2D is since 1.6. However, I think the Java settings tool might flip the Java runtime rather than the JDK. Try setting $JAVA_HOME before you run ant - I think thats how it finds it's JDK. Kev 2009/8/24 Marius Pacha <Mar...@st... <mailto:Mar...@st...> > Hi list, I'm stuck here trying to build xmlvm on the mac (10.5.6). The build process stops as the Path2D class can't be found. [javac] /Users/mpa/dev/xmlvm/src/xmlvm2objc/compat-lib/java/org/xmlvm/ iphone/UIAlertView.java:10: cannot find symbol [javac] symbol : class Path2D [javac] location: package java.awt.geom [javac] import java.awt.geom.Path2D; [javac] ^ Does anyone have a clue why it wouldn't find the class or at least where it's stored, couldn't find it so far as it's my first time working with java on the mac. Btw. I did switch to java 6 using the java java settings tool, but still nothing. Any help would be great. Thanks for your time, marius ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july <http://p.sf.net/sfu/bobj-july> _______________________________________________ xmlvm-users mailing list xml...@li... <mailto:xml...@li...> https://lists.sourceforge.net/lists/listinfo/xmlvm-users <https://lists.sourceforge.net/lists/listinfo/xmlvm-users> |
From: Marius P. <Mar...@st...> - 2009-08-24 07:29:51
|
Hi list, I'm stuck here trying to build xmlvm on the mac (10.5.6). The build process stops as the Path2D class can't be found. [javac] /Users/mpa/dev/xmlvm/src/xmlvm2objc/compat-lib/java/org/xmlvm/ iphone/UIAlertView.java:10: cannot find symbol [javac] symbol : class Path2D [javac] location: package java.awt.geom [javac] import java.awt.geom.Path2D; [javac] ^ Does anyone have a clue why it wouldn't find the class or at least where it's stored, couldn't find it so far as it's my first time working with java on the mac. Btw. I did switch to java 6 using the java java settings tool, but still nothing. Any help would be great. Thanks for your time, marius |
From: Sascha H. <sa...@gm...> - 2009-08-21 17:33:35
|
I am happy it worked for you, thanks for letting us know! // Sascha On Fri, Aug 21, 2009 at 3:36 PM, <ART...@au...> wrote: > “But I get the same results as I do running the already compiled > examples… the simulator comes up, but there are no apps on it… even if I > swipe it. I am just running ‘make’ like the manual says…” > > > > The Mac I got was acting really strange, so I reloaded it and re-installed > the SDK. The make now runs the sim and hello app fine. Just wanted to let > everyone know it was not a xmlvm issue. > > > Thank you for your help, > > Andy > > > ------------------------------ > > *From:* Sascha Haeberling [mailto:sa...@gm...] > *Sent:* Wednesday, August 19, 2009 7:22 PM > *To:* Tipton, Andy R. Jr. > *Cc:* xml...@li... > > *Subject:* Re: [xmlvm-users] Running the provided iHelloWorld example. > > > > Instead of: > > --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld > > > try: > > --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld.class > > > > or > > > > --in=bin\org\xmlvm\demo\ihelloworld\landscape\ > > > > Both should work. > > > > // Sascha > > On Wed, Aug 19, 2009 at 9:29 PM, <ART...@au...> wrote: > > Nope, it looks like it is missing 4 files... one of which is the > iHelloWorld in build/iHelloWorld.app. > > Am I cross compiling it wrong? > > This is my command and output... > > C:\Documents and Settings\artipton\My Documents\MyEclipse > 7.5\Workspaces\Borg\xm > lvm>java -jar dist\xmlvm.jar > --in=bin\org\xmlvm\demo\ihelloworld\landscape\Hell > > oWorld --target=iphone --iphone-app=HelloWorld --out=output > > [08/19/09 11:37:30.432] WARNING: Unable to create InputProcesses for > input: bin > > \org\xmlvm\demo\ihelloworld\landscape\HelloWorld > > [08/19/09 11:37:30.448] DEBUG: Instantiated: > org.xmlvm.proc.out.IPhoneOutputP > rocess > [08/19/09 11:37:30.448] DEBUG: Processing IPhoneOutputProcess > [08/19/09 11:37:30.479] DEBUG: Processing finished successfully. > [08/19/09 11:37:44.119] DEBUG: Writing file: output\MakeVars > [08/19/09 11:37:44.151] DEBUG: Writing file: output\Info.plist > [08/19/09 11:37:44.166] DEBUG: Writing file: output\Makefile > [08/19/09 11:37:44.182] DEBUG: Files written successfully. > > C:\Documents and Settings\artipton\My Documents\MyEclipse > 7.5\Workspaces\Borg\xm > lvm>java -jar dist\xmlvm.jar > --in=bin\org\xmlvm\demo\ihelloworld\landscape\Hell > > oWorld --target=iphone --iphone-app=HelloWorld --out=output > > > -----Original Message----- > From: Arno Puder [mailto:ar...@pu...] > > Sent: Wednesday, August 19, 2009 2:40 PM > To: xml...@li... > Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. > > > that is bizarre! Can you please check the your output folder contains > the same files as in xmlvm/dist/demo/iphone/ihelloworld/portrait/iphone > (after running ant) > > Arno > > > ART...@Au... wrote: > > When I run the make command in the output folder (where xmlvm outputted > the files), it will not run... > > > > I get this still... > > > > Undefined symbols: > > "_main", referenced from: > > start in crt1.10.5.o > > ld: symbol(s) not found > > collect2: ld returned 1 exit status > > make: *** [build/HelloWorld.app/HelloWorld] Error 1 > > > > This is the xmlvm command I am running to cross compile the iHelloWorld > example Java app... > > > > java -jar dist\xmlvm.jar > --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld --target=iphone > --iphone-app=HelloWorld --out=output > > > > Andy > > > > -----Original Message----- > > From: Arno Puder [mailto:ar...@pu...] > > Sent: Wednesday, August 19, 2009 2:22 PM > > To: xml...@li... > > Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. > > > > > > the Makefile can start the emulator automatically, but unfortunately not > > the application inside the emulator (haven't figured out how to do > > that). With the new Xcode 3.0, the application is installed in a > > separate screen. You have to 'swipe' the main screen one to the left and > > there you should find your application. > > > > Arno > > > > > > ART...@Au... wrote: > >> I got the simulator installed... so now it brings it up... but the > helloworld app isn't in the simulator... When I cross compile the > iHelloWorld into a folder, should I be running the make from that folder? > >> > >> -----Original Message----- > >> From: Arno Puder [mailto:ar...@pu...] > >> Sent: Tuesday, August 18, 2009 7:49 PM > >> To: xml...@li... > >> Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. > >> > >> > >> that is weird. The linking error indicates that there is no main() > >> function. But that should have been generated from the example. > >> > >> Which of the three Hello World versions are you using? I just did the > >> following: > >> > >> ant > >> cd dist/demo/iphone/ihelloworld/portrait/iphone > >> make > >> > >> That works perfectly fine for me. > >> > >> Arno > >> > >> > >> ART...@Au... wrote: > >>> Afternoon, > >>> > >>> > >>> > >>> I have been reading through the instructions and > >>> everything has gone great up to this point. First off, my setup... I > am > >>> doing everything on Windows (sorry) up to the point of running the > >>> 'make' under the output directory. I have a mount to the windows > folder > >>> on my Mac that I run the 'make' command (on the Mac). > >>> > >>> > >>> > >>> It compiles and then at the end I get this instead of it bringing up > the > >>> emulator... > >>> > >>> > >>> > >>> Undefined symbols: > >>> > >>> "_main", reference from: > >>> > >>> Start in crt1.10.5.o > >>> > >>> Id: symbol(s) not found > >>> > >>> collect2: Id returned 1 exit status > >>> > >>> make: *** [build/hellp.app/hellpp] Error 1 > >>> > >>> > >>> > >>> Again I am starting with the supplied hello program... Any ideas? > >>> > >>> > >>> > >>> Thank you in advance, > >>> > >>> Andy Tipton Jr. > >>> > >>> Automationdirect.com > >>> > >>> Product Development > >>> > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------ > >>> > >>> > ------------------------------------------------------------------------------ > >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > >>> trial. Simplify your report design, integration and deployment - and > focus on > >>> what you do best, core application coding. Discover what's new with > >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >>> > >>> > >>> > ------------------------------------------------------------------------ > >>> > >>> _______________________________________________ > >>> xmlvm-users mailing list > >>> xml...@li... > >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >> > ------------------------------------------------------------------------------ > >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > >> trial. Simplify your report design, integration and deployment - and > focus on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> xmlvm-users mailing list > >> xml...@li... > >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >> > >> > ------------------------------------------------------------------------------ > >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > >> trial. Simplify your report design, integration and deployment - and > focus on > >> what you do best, core application coding. Discover what's new with > >> Crystal Reports now. http://p.sf.net/sfu/bobj-july > >> _______________________________________________ > >> xmlvm-users mailing list > >> xml...@li... > >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > xmlvm-users mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > xmlvm-users mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: <ART...@Au...> - 2009-08-21 15:35:00
|
Morning, I have some third party JARs that I use in my application, like Jide, xerces, etc, the cross compiler seems to have issues with them... Do I have to have a debug version of the JARs for them to work? Thank you, Andy Tipton Jr. Automationdirect.com |
From: <ART...@Au...> - 2009-08-21 14:06:12
|
"But I get the same results as I do running the already compiled examples... the simulator comes up, but there are no apps on it... even if I swipe it. I am just running 'make' like the manual says..." The Mac I got was acting really strange, so I reloaded it and re-installed the SDK. The make now runs the sim and hello app fine. Just wanted to let everyone know it was not a xmlvm issue. Thank you for your help, Andy ________________________________ From: Sascha Haeberling [mailto:sa...@gm...] Sent: Wednesday, August 19, 2009 7:22 PM To: Tipton, Andy R. Jr. Cc: xml...@li... Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. Instead of: --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld try: --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld.class or --in=bin\org\xmlvm\demo\ihelloworld\landscape\ Both should work. // Sascha On Wed, Aug 19, 2009 at 9:29 PM, <ART...@au...<mailto:ART...@au...>> wrote: Nope, it looks like it is missing 4 files... one of which is the iHelloWorld in build/iHelloWorld.app. Am I cross compiling it wrong? This is my command and output... C:\Documents and Settings\artipton\My Documents\MyEclipse 7.5\Workspaces\Borg\xm lvm>java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\Hell oWorld --target=iphone --iphone-app=HelloWorld --out=output [08/19/09 11:37:30.432] WARNING: Unable to create InputProcesses for input: bin \org\xmlvm\demo\ihelloworld\landscape\HelloWorld [08/19/09 11:37:30.448] DEBUG: Instantiated: org.xmlvm.proc.out.IPhoneOutputP rocess [08/19/09 11:37:30.448] DEBUG: Processing IPhoneOutputProcess [08/19/09 11:37:30.479] DEBUG: Processing finished successfully. [08/19/09 11:37:44.119] DEBUG: Writing file: output\MakeVars [08/19/09 11:37:44.151] DEBUG: Writing file: output\Info.plist [08/19/09 11:37:44.166] DEBUG: Writing file: output\Makefile [08/19/09 11:37:44.182] DEBUG: Files written successfully. C:\Documents and Settings\artipton\My Documents\MyEclipse 7.5\Workspaces\Borg\xm lvm>java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\Hell oWorld --target=iphone --iphone-app=HelloWorld --out=output -----Original Message----- From: Arno Puder [mailto:ar...@pu...<mailto:ar...@pu...>] Sent: Wednesday, August 19, 2009 2:40 PM To: xml...@li...<mailto:xml...@li...> Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. that is bizarre! Can you please check the your output folder contains the same files as in xmlvm/dist/demo/iphone/ihelloworld/portrait/iphone (after running ant) Arno ART...@Au... wrote: > When I run the make command in the output folder (where xmlvm outputted the files), it will not run... > > I get this still... > > Undefined symbols: > "_main", referenced from: > start in crt1.10.5.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make: *** [build/HelloWorld.app/HelloWorld] Error 1 > > This is the xmlvm command I am running to cross compile the iHelloWorld example Java app... > > java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld --target=iphone --iphone-app=HelloWorld --out=output > > Andy > > -----Original Message----- > From: Arno Puder [mailto:ar...@pu...<mailto:ar...@pu...>] > Sent: Wednesday, August 19, 2009 2:22 PM > To: xml...@li...<mailto:xml...@li...> > Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. > > > the Makefile can start the emulator automatically, but unfortunately not > the application inside the emulator (haven't figured out how to do > that). With the new Xcode 3.0, the application is installed in a > separate screen. You have to 'swipe' the main screen one to the left and > there you should find your application. > > Arno > > > ART...@Au... wrote: >> I got the simulator installed... so now it brings it up... but the helloworld app isn't in the simulator... When I cross compile the iHelloWorld into a folder, should I be running the make from that folder? >> >> -----Original Message----- >> From: Arno Puder [mailto:ar...@pu...<mailto:ar...@pu...>] >> Sent: Tuesday, August 18, 2009 7:49 PM >> To: xml...@li...<mailto:xml...@li...> >> Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. >> >> >> that is weird. The linking error indicates that there is no main() >> function. But that should have been generated from the example. >> >> Which of the three Hello World versions are you using? I just did the >> following: >> >> ant >> cd dist/demo/iphone/ihelloworld/portrait/iphone >> make >> >> That works perfectly fine for me. >> >> Arno >> >> >> ART...@Au... wrote: >>> Afternoon, >>> >>> >>> >>> I have been reading through the instructions and >>> everything has gone great up to this point. First off, my setup... I am >>> doing everything on Windows (sorry) up to the point of running the >>> 'make' under the output directory. I have a mount to the windows folder >>> on my Mac that I run the 'make' command (on the Mac). >>> >>> >>> >>> It compiles and then at the end I get this instead of it bringing up the >>> emulator... >>> >>> >>> >>> Undefined symbols: >>> >>> "_main", reference from: >>> >>> Start in crt1.10.5.o >>> >>> Id: symbol(s) not found >>> >>> collect2: Id returned 1 exit status >>> >>> make: *** [build/hellp.app/hellpp] Error 1 >>> >>> >>> >>> Again I am starting with the supplied hello program... Any ideas? >>> >>> >>> >>> Thank you in advance, >>> >>> Andy Tipton Jr. >>> >>> Automationdirect.com >>> >>> Product Development >>> >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li...<mailto:xml...@li...> >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li...<mailto:xml...@li...> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li...<mailto:xml...@li...> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li...<mailto:xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li...<mailto:xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li...<mailto:xml...@li...> https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li...<mailto:xml...@li...> https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: <ART...@Au...> - 2009-08-20 12:05:16
|
Ah great... I did the "--in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld.class" and it compiled... I am use to only having to specify the name of the class and not the extension... Thank you. But I get the same results as I do running the already compiled examples... the simulator comes up, but there are no apps on it... even if I swipe it. I am just running 'make' like the manual says... ________________________________ From: Sascha Haeberling [mailto:sa...@gm...] Sent: Wednesday, August 19, 2009 7:22 PM To: Tipton, Andy R. Jr. Cc: xml...@li... Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. Instead of: --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld try: --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld.class or --in=bin\org\xmlvm\demo\ihelloworld\landscape\ Both should work. // Sascha On Wed, Aug 19, 2009 at 9:29 PM, <ART...@au...<mailto:ART...@au...>> wrote: Nope, it looks like it is missing 4 files... one of which is the iHelloWorld in build/iHelloWorld.app. Am I cross compiling it wrong? This is my command and output... C:\Documents and Settings\artipton\My Documents\MyEclipse 7.5\Workspaces\Borg\xm lvm>java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\Hell oWorld --target=iphone --iphone-app=HelloWorld --out=output [08/19/09 11:37:30.432] WARNING: Unable to create InputProcesses for input: bin \org\xmlvm\demo\ihelloworld\landscape\HelloWorld [08/19/09 11:37:30.448] DEBUG: Instantiated: org.xmlvm.proc.out.IPhoneOutputP rocess [08/19/09 11:37:30.448] DEBUG: Processing IPhoneOutputProcess [08/19/09 11:37:30.479] DEBUG: Processing finished successfully. [08/19/09 11:37:44.119] DEBUG: Writing file: output\MakeVars [08/19/09 11:37:44.151] DEBUG: Writing file: output\Info.plist [08/19/09 11:37:44.166] DEBUG: Writing file: output\Makefile [08/19/09 11:37:44.182] DEBUG: Files written successfully. C:\Documents and Settings\artipton\My Documents\MyEclipse 7.5\Workspaces\Borg\xm lvm>java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\Hell oWorld --target=iphone --iphone-app=HelloWorld --out=output -----Original Message----- From: Arno Puder [mailto:ar...@pu...<mailto:ar...@pu...>] Sent: Wednesday, August 19, 2009 2:40 PM To: xml...@li...<mailto:xml...@li...> Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. that is bizarre! Can you please check the your output folder contains the same files as in xmlvm/dist/demo/iphone/ihelloworld/portrait/iphone (after running ant) Arno ART...@Au... wrote: > When I run the make command in the output folder (where xmlvm outputted the files), it will not run... > > I get this still... > > Undefined symbols: > "_main", referenced from: > start in crt1.10.5.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make: *** [build/HelloWorld.app/HelloWorld] Error 1 > > This is the xmlvm command I am running to cross compile the iHelloWorld example Java app... > > java -jar dist\xmlvm.jar --in=bin\org\xmlvm\demo\ihelloworld\landscape\HelloWorld --target=iphone --iphone-app=HelloWorld --out=output > > Andy > > -----Original Message----- > From: Arno Puder [mailto:ar...@pu...<mailto:ar...@pu...>] > Sent: Wednesday, August 19, 2009 2:22 PM > To: xml...@li...<mailto:xml...@li...> > Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. > > > the Makefile can start the emulator automatically, but unfortunately not > the application inside the emulator (haven't figured out how to do > that). With the new Xcode 3.0, the application is installed in a > separate screen. You have to 'swipe' the main screen one to the left and > there you should find your application. > > Arno > > > ART...@Au... wrote: >> I got the simulator installed... so now it brings it up... but the helloworld app isn't in the simulator... When I cross compile the iHelloWorld into a folder, should I be running the make from that folder? >> >> -----Original Message----- >> From: Arno Puder [mailto:ar...@pu...<mailto:ar...@pu...>] >> Sent: Tuesday, August 18, 2009 7:49 PM >> To: xml...@li...<mailto:xml...@li...> >> Subject: Re: [xmlvm-users] Running the provided iHelloWorld example. >> >> >> that is weird. The linking error indicates that there is no main() >> function. But that should have been generated from the example. >> >> Which of the three Hello World versions are you using? I just did the >> following: >> >> ant >> cd dist/demo/iphone/ihelloworld/portrait/iphone >> make >> >> That works perfectly fine for me. >> >> Arno >> >> >> ART...@Au... wrote: >>> Afternoon, >>> >>> >>> >>> I have been reading through the instructions and >>> everything has gone great up to this point. First off, my setup... I am >>> doing everything on Windows (sorry) up to the point of running the >>> 'make' under the output directory. I have a mount to the windows folder >>> on my Mac that I run the 'make' command (on the Mac). >>> >>> >>> >>> It compiles and then at the end I get this instead of it bringing up the >>> emulator... >>> >>> >>> >>> Undefined symbols: >>> >>> "_main", reference from: >>> >>> Start in crt1.10.5.o >>> >>> Id: symbol(s) not found >>> >>> collect2: Id returned 1 exit status >>> >>> make: *** [build/hellp.app/hellpp] Error 1 >>> >>> >>> >>> Again I am starting with the supplied hello program... Any ideas? >>> >>> >>> >>> Thank you in advance, >>> >>> Andy Tipton Jr. >>> >>> Automationdirect.com >>> >>> Product Development >>> >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >>> trial. Simplify your report design, integration and deployment - and focus on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li...<mailto:xml...@li...> >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li...<mailto:xml...@li...> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li...<mailto:xml...@li...> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li...<mailto:xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xmlvm-users mailing list > xml...@li...<mailto:xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li...<mailto:xml...@li...> https://lists.sourceforge.net/lists/listinfo/xmlvm-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xmlvm-users mailing list xml...@li...<mailto:xml...@li...> https://lists.sourceforge.net/lists/listinfo/xmlvm-users |