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...@we...> - 2013-02-20 00:24:48
|
Thanks for the reply, Arno. I'll give that a shot. I have also now found that by compiling with alternate implementations of Date (and dependencies) taken from the cldc1.1.jar in the bootstrap classpath it works ok. Though I need to disable portions of URLConnection that rely on Date.parse() (which isn't implemented in the CLDC version). Steve On Tuesday, February 19, 2013, Arno Puder wrote: > > the redlist.txt is hand-crafted. Manually fine-tuning it is the only way > to change it. Perhaps you can run a test program that only makes use of > java.util.Date on a standard JVM with option -verbose:class to see which > classes are used. That might simplify the process of fine-tuning. > > Arno > > > On 2/19/13 2:24 PM, Steve Hannah wrote: > > Hi, > > > > I'm curious what solutions others have come up with for dealing with > > java.util.Date in XMLVM. It seems that its toString() method depends > > on classes that are on the red list (e.g. > > XMLVM Error: Unsatisfied red class dependency: > > (java_util_SimpleTimeZone_1_run__):/Volumes/Windows > > > VMS/NetbeansProjects/JSONBenchmark/SampleBusinessLogic/xmlvm_code_app/dist/../build/xcode/src/app/java_util_SimpleTimeZone_1.m:242 > > ). > > > > Most domain objects will require some kind of Date object so I don't > > want to just stop using Date. What are other people doing if they > > want to use Date objects in XMLVM? > > > > I started down the road of removing the offending classes from the red > > list, but the rabbit hole was going pretty deep (every class I add, > > creates more redlist dependencies). > > > > Thanks for any feedback. > > > > -Steve > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_feb > > _______________________________________________ > > xmlvm-users mailing list > > xml...@li... <javascript:;> > > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > xmlvm-users mailing list > xml...@li... <javascript:;> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > -- Steve Hannah Web Lite Solutions Corp. |
From: Arno P. <ar...@pu...> - 2013-02-20 00:09:40
|
the redlist.txt is hand-crafted. Manually fine-tuning it is the only way to change it. Perhaps you can run a test program that only makes use of java.util.Date on a standard JVM with option -verbose:class to see which classes are used. That might simplify the process of fine-tuning. Arno On 2/19/13 2:24 PM, Steve Hannah wrote: > Hi, > > I'm curious what solutions others have come up with for dealing with > java.util.Date in XMLVM. It seems that its toString() method depends > on classes that are on the red list (e.g. > XMLVM Error: Unsatisfied red class dependency: > (java_util_SimpleTimeZone_1_run__):/Volumes/Windows > VMS/NetbeansProjects/JSONBenchmark/SampleBusinessLogic/xmlvm_code_app/dist/../build/xcode/src/app/java_util_SimpleTimeZone_1.m:242 > ). > > Most domain objects will require some kind of Date object so I don't > want to just stop using Date. What are other people doing if they > want to use Date objects in XMLVM? > > I started down the road of removing the offending classes from the red > list, but the rabbit hole was going pretty deep (every class I add, > creates more redlist dependencies). > > Thanks for any feedback. > > -Steve > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_feb > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Steve H. <st...@we...> - 2013-02-19 22:24:09
|
Hi, I'm curious what solutions others have come up with for dealing with java.util.Date in XMLVM. It seems that its toString() method depends on classes that are on the red list (e.g. XMLVM Error: Unsatisfied red class dependency: (java_util_SimpleTimeZone_1_run__):/Volumes/Windows VMS/NetbeansProjects/JSONBenchmark/SampleBusinessLogic/xmlvm_code_app/dist/../build/xcode/src/app/java_util_SimpleTimeZone_1.m:242 ). Most domain objects will require some kind of Date object so I don't want to just stop using Date. What are other people doing if they want to use Date objects in XMLVM? I started down the road of removing the offending classes from the red list, but the rabbit hole was going pretty deep (every class I add, creates more redlist dependencies). Thanks for any feedback. -Steve |
From: Kensuke M. <mat...@ki...> - 2013-02-15 03:26:40
|
I write platform independent code in Java, and UI related code in obj-c like this. https://github.com/k-matsuzaki/xmlvm-aobench This just calls java from c by xmlvm name mangling. > aoRender = __NEW_org_xmlvm_demo_aobench_AO(); > org_xmlvm_demo_aobench_AO___INIT____int_int(aoRender, imageWidth, imageHeight); I'm sorry, I don't know well how to go with org.xmlvm.iphone.* or org.xmlvm.ios.* On 2013/02/15 5:50, Steve Hannah wrote: > Thanks for the tip. How are you handling outlets and actions with the > .xib file? E.g. If I have a button in the .xib file and I want a > click to be handled by Java code. I know I could break out a native > method and implement a view controller in Objective-C, but I'm curious > if there is a way to do it with the org.xmlvm.iphone.* Java classes. > > -Steve > > On Wed, Feb 13, 2013 at 9:32 PM, Kensuke Matsuzaki > <mat...@ki...> wrote: >> Hi, >> >> If .xib is OK, there is --skeleton=iphone-hybrid option. -- mat...@ki... 松崎 憲介 (MATSUZAKI Kensuke) |
From: Steve H. <st...@we...> - 2013-02-14 22:03:55
|
Hi all, I'm experimenting with trying to use a .xib file that is created in InterfaceBuilder as part of my XMLVM iphone app. I know I can do this by delving into native code, but I'm trying to see how much I can do in Java. Currently I just have a .xib file with a button, which I have supplied a tag so that I should be able to look it up with Java code. I'm using the info.plist file to cause the app to display the .xib on startup - and this works ok. My problem is now at trying to interact with the window. Since the getKeyWindow() and getWindows() methods (and many others) don't seem to be implemented in the org.xmlvm.iphone.UIApplication class I am looking for an alternative. One thing that I am trying (unsuccessfully so far) is to use the --xmlvm-new-ios-api flag to use the org.xmlvm.ios.* generated classes. Unfortunately I get compile errors in Xcode when I try this. I must be doing something wrong. I simply added the following to the build-Xcode.xml file: <arg value="--xmlvm-new-ios-api"/> inside the <java> call of the -xproject-create target. The errors I get on compile (in Xcode) is that it cannot find the org.xmlvm.ios.* classes at all. Therefore, I assume that I need build the crossmobile project to generate these files. Can someone point me to any documentation that might exist on the crossmobile project. A simple "ant" call is giving me compiler errors... and I don't have any leads right now on the correct way to generate these files (if indeed this is even the problem). Any pointers appreciated. Steve |
From: Steve H. <st...@we...> - 2013-02-14 20:50:52
|
Thanks for the tip. How are you handling outlets and actions with the .xib file? E.g. If I have a button in the .xib file and I want a click to be handled by Java code. I know I could break out a native method and implement a view controller in Objective-C, but I'm curious if there is a way to do it with the org.xmlvm.iphone.* Java classes. -Steve On Wed, Feb 13, 2013 at 9:32 PM, Kensuke Matsuzaki <mat...@ki...> wrote: > Hi, > > If .xib is OK, there is --skeleton=iphone-hybrid option. > -- > mat...@ki... > 松崎 憲介 (MATSUZAKI Kensuke) > URL : http://www.kitec.co.jp/ > > ------------------------------------------------------------------------------ > Free Next-Gen Firewall Hardware Offer > Buy your Sophos next-gen firewall before the end March 2013 > and get the hardware for free! Learn more. > http://p.sf.net/sfu/sophos-d2d-feb > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users -- Steve Hannah Web Lite Solutions Corp. |
From: Binjam G. <geb...@ya...> - 2013-02-14 10:20:03
|
Hello Guys, could someone makes an VideoTutorial on how to Cross Comiling ANDROID to IPHONE ? I saw the Video with Arno Puder, but it would be great to see an Steb bye Step VideoTutorial. best Binjam Binjam Gebre ----------------------------------------------------------------------------------------------- 3D XXL Elsterstraße 2 70806 Kornwestheim Germany http://3dxxl.jimdo.com/ |
From: Kensuke M. <mat...@ki...> - 2013-02-14 07:59:17
|
1) I posted patch to handle storyboard in iphone-hybrid mode. http://xmlvm-reviews.appspot.com/246001/ 2) I'm trying attached patch. This add obj-c files in given directory to .xproject (not copy to build/xcode/app like iphone-hybrid). It doesn't generate lib file, but it may be helpful to edit obj-c/storyboard with Xcode. On 2013/02/04 18:42, Panayotis Katsaloulis wrote: > 1) Unfortunately, not yet. > Storyboard is not directly supported by the library. > On the other hand, if you know how storyboards interact with the iOS system, this would be a nice addition, if you have the time to port it to > XMLVM. > > 2) The production of XMLVM is source code, and as such you can do anything you want with it - leave it as is, make it an archive (ar) file, > build a dylib file ... it's up to you to do whatever fits you most. > > > On Mon, Feb 4, 2013 at 7:17 AM, Kurayami Tenshi <kur...@gm... <mailto:kur...@gm...>> wrote: > > Hi folks > Thanks for answering all my questions previously! > > I have a few more :p > > 1 - As the subject suggests, I would like to use Xcode to develop the UI, aka storyboard. It'll be much more convenient than going through code. > Can and how do I do this? > Can I just add a storyboard in the generated project and link it off with a controller? > > 2 - Even if (1) works, the difficulty is also in the transient nature of the Xcode project. I wouldn't want to write native code in the > project in case they get lost if I forget and do a `ant clean` for the source Java code. > Can I use xmlvm to compile the Java code to a dylib project and link it in with a true blue Xcode project? > If so, how can I do that? > > Thanks!! |
From: Kensuke M. <mat...@ki...> - 2013-02-14 05:50:16
|
Hi, If .xib is OK, there is --skeleton=iphone-hybrid option. -- mat...@ki... 松崎 憲介 (MATSUZAKI Kensuke) URL : http://www.kitec.co.jp/ |
From: Steve H. <st...@we...> - 2013-02-13 23:30:57
|
Hi All, I'm just experimenting with XMLVM to get a feel for the development process as it pertains to iOS apps. After looking a little bit through the code it seems like the xmlvm compatibility library doesn't include the ability to use a Nib file for the UI. Is this correct? My next step is to just use a native method to handle this, but if there is an easier way, please let me know. Steve |
From: Panayotis K. <pan...@pa...> - 2013-02-04 09:42:40
|
1) Unfortunately, not yet. Storyboard is not directly supported by the library. On the other hand, if you know how storyboards interact with the iOS system, this would be a nice addition, if you have the time to port it to XMLVM. 2) The production of XMLVM is source code, and as such you can do anything you want with it - leave it as is, make it an archive (ar) file, build a dylib file ... it's up to you to do whatever fits you most. On Mon, Feb 4, 2013 at 7:17 AM, Kurayami Tenshi <kur...@gm...>wrote: > Hi folks > Thanks for answering all my questions previously! > > I have a few more :p > > 1 - As the subject suggests, I would like to use Xcode to develop the UI, > aka storyboard. It'll be much more convenient than going through code. > Can and how do I do this? > Can I just add a storyboard in the generated project and link it off with > a controller? > > 2 - Even if (1) works, the difficulty is also in the transient nature of > the Xcode project. I wouldn't want to write native code in the project in > case they get lost if I forget and do a `ant clean` for the source Java > code. > Can I use xmlvm to compile the Java code to a dylib project and link it in > with a true blue Xcode project? > If so, how can I do that? > > Thanks!! > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_jan > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > -- Panayotis Katsaloulis |
From: Kurayami T. <kur...@gm...> - 2013-02-04 05:18:12
|
Hi folks Thanks for answering all my questions previously! I have a few more :p 1 - As the subject suggests, I would like to use Xcode to develop the UI, aka storyboard. It'll be much more convenient than going through code. Can and how do I do this? Can I just add a storyboard in the generated project and link it off with a controller? 2 - Even if (1) works, the difficulty is also in the transient nature of the Xcode project. I wouldn't want to write native code in the project in case they get lost if I forget and do a `ant clean` for the source Java code. Can I use xmlvm to compile the Java code to a dylib project and link it in with a true blue Xcode project? If so, how can I do that? Thanks!! |
From: Markus H. <ma...@ti...> - 2013-01-28 18:19:03
|
Hi, I have a github mirror at https://github.com/tisoft/xmlvm Branch trunk is the trunk from the svn. The master branch contains my own custom changes. Markus Am 28.01.2013 um 18:48 schrieb Markus Neubrand <mar...@gm...>: > Hi Andrew, > > Afaik there is no official mirror right now. Interrupted svn checkouts can be resumed by "svn cleanup" followed by "svn update" though. > > Cheers, > Markus > > On Mon, Jan 28, 2013 at 9:45 AM, Andrew Pennebaker <and...@gm...> wrote: > I started "svn co ...", but the download takes so long that my connection cuts out before I can finish checking out all the files. > > Is there an XMLVM mirror on GitHub, something more distributed that doesn't require an uninterrupted connection in order to download the code? > > -- > Cheers, > > Andrew Pennebaker > www.yellosoft.us > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d_______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Markus N. <mar...@gm...> - 2013-01-28 17:49:00
|
Hi Andrew, Afaik there is no official mirror right now. Interrupted svn checkouts can be resumed by "svn cleanup" followed by "svn update" though. Cheers, Markus On Mon, Jan 28, 2013 at 9:45 AM, Andrew Pennebaker < and...@gm...> wrote: > I started "svn co ...", but the download takes so long that my connection > cuts out before I can finish checking out all the files. > > Is there an XMLVM mirror on GitHub, something more distributed that > doesn't require an uninterrupted connection in order to download the code? > > -- > Cheers, > > Andrew Pennebaker > www.yellosoft.us > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Andrew P. <and...@gm...> - 2013-01-28 17:45:49
|
I started "svn co ...", but the download takes so long that my connection cuts out before I can finish checking out all the files. Is there an XMLVM mirror on GitHub, something more distributed that doesn't require an uninterrupted connection in order to download the code? -- Cheers, Andrew Pennebaker www.yellosoft.us |
From: Paul P. <bay...@gm...> - 2013-01-27 23:33:06
|
Hi Andrew, XMLVM is an open source project developed by folks in their free time. If you've got the time, patches are welcome! Thanks, Paul Sent from my iPhone On Jan 27, 2013, at 5:20 PM, Andrew Pennebaker <and...@gm...> wrote: > Please provide one-click installers for XMLVM, such as .MSI's for Windows. > > Using a crosscompiler to get A language code running on B language platform is enough of a yak shaving exercise without having to manually compile XMLVM (The ant dependency doesn't have an installer either?! Sheesh.) > > Providing binary installers would significantly reduce the hassle of using the XMLVM toolchain. > > -- > Cheers, > > Andrew Pennebaker > www.yellosoft.us > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Andrew P. <and...@gm...> - 2013-01-27 23:20:14
|
Please provide one-click installers for XMLVM, such as .MSI's for Windows. Using a crosscompiler to get A language code running on B language platform is enough of a yak shaving exercise without having to manually compile XMLVM (The ant dependency doesn't have an installer either?! Sheesh.) Providing binary installers would significantly reduce the hassle of using the XMLVM toolchain. -- Cheers, Andrew Pennebaker www.yellosoft.us |
From: Markus N. <mar...@gm...> - 2013-01-27 20:55:54
|
Hi Andrew, I wrote the XMLVM WP7 backend as part of my master's project. It was designed to allow cross-compilation of the Xokoban XMLVM demo ( http://xmlvm.svn.sourceforge.net/viewvc/xmlvm/trunk/xmlvm/demo/android/xokoban/) from Android to WP7. The implemented features are more or less only ones which are necessary to run this demo. As input format only Java is supported at the moment. I don't plan on actively developing it any further as a lot has changed since WP8 was released. I also don't know of anybody else actively developing it or using it at the moment. In theory you could use JRuby as input format and extend the WP7 backend but it would be a huge project. I can give you some pointers if you're interested in doing this. Good luck with your search, Markus On Sun, Jan 27, 2013 at 12:35 PM, Andrew Pennebaker < and...@gm...> wrote: > I'd love to write apps for Windows Phone in Ruby. Sadly, IronRuby has been > dead for a year. Is it possible to use XMLVM to write Ruby apps for WP7? > Could someone provide a tutorial, or at least a demo app as a reference? > > Help me XMLVM, you're my only hope! > > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Andrew P. <and...@gm...> - 2013-01-27 20:35:37
|
I'd love to write apps for Windows Phone in Ruby. Sadly, IronRuby has been dead for a year. Is it possible to use XMLVM to write Ruby apps for WP7? Could someone provide a tutorial, or at least a demo app as a reference? Help me XMLVM, you're my only hope! |
From: Arno P. <ar...@pu...> - 2013-01-06 21:54:15
|
I wanted to mention a nice project that was funded by the Mozilla Foundation: cross-compile an Android app to HTML5 so that it can run in any browser: http://xmlvm.org/html5/ Credit goes to Victor Woeltjen for adding a Posix/SDL backend to XMLVM's Android Compat Lib (--target=sdlandroid) and to Alon Zakai from Mozilla to iron out some issues with emscripten. Arno |
From: Arno P. <ar...@pu...> - 2012-12-29 11:46:48
|
crossmobile can only handle iOS 4.3 right now. Arno On 12/25/12 6:54 AM, Kurayami Tenshi wrote: > Hi > This is a continuation to > https://sourceforge.net/mailarchive/message.php?msg_id=30114275 I > couldn't find a way to reply to the message on SF's mailing page. > > Thanks Arno for your reply. I'm trying to generate the iOS API using ant > gen-xmlvm-ios as suggested in > https://sourceforge.net/mailarchive/message.php?msg_id=28303835. > But I'm getting this error: > > java.lang.RuntimeException: type 'ACCOUNTS_CLASS_AVAILABLE(NA, 5_0) > @interface ACAccount : NSObject - (id)initWithAccountType:(ACAccountType > )' contains spaces > at org.crossmobile.source.ctype.CType.<init>(CType.java:112) > at > org.crossmobile.source.utils.ListOfArguments.parse(ListOfArguments.java:53) > at org.crossmobile.source.ctype.CArgument.create(CArgument.java:178) > > My settings: > crossmobile's xmlvm.properties sdk path modified to point to SDK 6.0 > > ===== > Also, if/when this is compiled properly, how do I use it properly? > Do I still need to pass in --xmlvm-new-ios-api when I compile my > project? I've tried it and it just bombs out with an NPE. > > > ------------------------------------------------------------------------------ > LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial > Remotely access PCs and mobile devices and provide instant support > Improve your efficiency, and focus on delivering more value-add services > Discover what IT Professionals Know. Rescue delivers > http://p.sf.net/sfu/logmein_12329d2d > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Arno P. <ar...@pu...> - 2012-12-29 10:55:23
|
On 12/25/12 7:15 AM, Kurayami Tenshi wrote: > I've been reading around and I'm confused as to which backend setting I > should use. The goal is to migrate to the C backend. The Objective-C backend is kept for backward compatibility reasons. The problem is that there is still work to do for the C backend (see my last message regarding crossmobile amongst others) but not enough volunteers. > So here are my questions > 1 - Backend: Can I use objc? If so, how do I fix the slew of warnings > about missing files? I would suggest you use the C backend. It is a lot more powerful than the aging ObjC backend. > 2 - If I have to use c, can anyone advice me on how I can call xmlvm > generated code in an Xcode objc project? Even the C backend still uses the ObjC compiler when you compile your project with Xcode (note that ObjC is a superset of C). I guess your question is about having manually written ObjC code that makes calls to generated C code. This can be tricky because you will have to understand the internals of the C backend. I would suggest you write some Java code that makes the calls to the Java API you plan to call from ObjC and take a look at the cross-compiled code. Arno |
From: Kurayami T. <kur...@gm...> - 2012-12-25 06:16:17
|
I've been reading around and I'm confused as to which backend setting I should use. The default for every created project is objc, but it doesn't work well (or in some cases, not at all). An example of the slew of errors is this: "MyArrayList.h: No such file ..." So this means that xmlvm is not translating/or copying? the ArrayList over. My only successes have been using the c backend. So here are my questions 1 - Backend: Can I use objc? If so, how do I fix the slew of warnings about missing files? I am using xmlvm --skeleton=iphone --out=OUTDIR --app-name=APPNAME to create my projects. 2 - If I have to use c, can anyone advice me on how I can call xmlvm generated code in an Xcode objc project? Thanks! |
From: Kurayami T. <kur...@gm...> - 2012-12-25 05:55:16
|
Hi This is a continuation to https://sourceforge.net/mailarchive/message.php?msg_id=30114275 I couldn't find a way to reply to the message on SF's mailing page. Thanks Arno for your reply. I'm trying to generate the iOS API using ant gen-xmlvm-ios as suggested in https://sourceforge.net/mailarchive/message.php?msg_id=28303835. But I'm getting this error: java.lang.RuntimeException: type 'ACCOUNTS_CLASS_AVAILABLE(NA, 5_0) @interface ACAccount : NSObject - (id)initWithAccountType:(ACAccountType )' contains spaces at org.crossmobile.source.ctype.CType.<init>(CType.java:112) at org.crossmobile.source.utils.ListOfArguments.parse(ListOfArguments.java:53) at org.crossmobile.source.ctype.CArgument.create(CArgument.java:178) My settings: crossmobile's xmlvm.properties sdk path modified to point to SDK 6.0 ===== Also, if/when this is compiled properly, how do I use it properly? Do I still need to pass in --xmlvm-new-ios-api when I compile my project? I've tried it and it just bombs out with an NPE. |
From: Steve H. <st...@we...> - 2012-12-14 18:15:51
|
Hi everyone, I'm having some trouble building a Java project in XMLVM with the C back-end. I have set xmlvm.properties setting "xmlvm.backend=c", and the Ant script indicates "Creating Xcode project with the C backend.", but I'm getting all kinds of errors when I try to build the resulting Xcode project that seem to indicate that it is trying to run in Objective-C mode. e.g. The first batch of errors I get is on a line #include "org_xmlvm_iphone_NSString.h" and the error is "Org_xmlvm_iphone_NSString.h: No such file or directory" The full section is located in native_org_xmlvm_runtime_XMLXMUtil.m: #ifdef __OBJC__ #ifndef XMLVM_NEW_IOS_API #include "org_xmlvm_iphone_NSString.h" #else #include "org_xmlvm_ios_NSString.h" #endif #endif So it looks like __OBJC__ is defined. Should this be the case if I built it with the C backend? Thanks for any pointers. Steve |