From: Sascha H. <sa...@gm...> - 2009-07-26 14:27:39
|
Update: I just checked in a change that adds XMLVM output support. So if you don't set any target or you set the xmlvm target explicitly, XMLVM files will be written. // Sascha On Fri, Jul 24, 2009 at 11:13 PM, Sascha Haeberling <sa...@gm...>wrote: > Please see my comments inline... > > On Fri, Jul 24, 2009 at 6:34 PM, Daniel Branco <db...@gm...> wrote: > > ... > > >> >> Changing the subject, can anyone explain me how to use the code, generated >> by the xmlvm, in the iphone when I compiled the class with the following: >> >> %xmlvm% --in=holaMundo.class --target=iphone --iphone-app=holaMundo >> --out="./salida/" >> >> take into account that %xmlvm% is equal to "java -jar xmlvm.jar". > > > You basically have two options here, but bare in mind that you need to have > OSX 10.5 in order to compile the generated Objective-C code to an > iPhone/iPod application. > > This command line should generate you a Makefile along with the compiled > code. This Makefile can be used on OSX 10.5 to compile the application and > to launch it in Apples iPhone emulator. At least with the iPhone SDK 2.X > this works. I've heard Arno saying that they changed something in 3.0 so > this method is currently not working with the 3.0 SDK. > > You other option is to use Xcode. You simply create an iPhone application > in Xcode, just the way you would do it when you want to code a normal iPhone > app. You then simply add all the generated files to that project and off you > go. You can run the code in Apple's simulator or you can create a package > that you can then sign and push to an iPhone. > > >> >> >> My goal is to pass the compile code to a friend and he test it in his >> iphone (I don't have Iphone or Itouch in the meanwhile) > > > As I said above, you definitely need OSX 10.5 for this. There is currently > now way to compile iPhone/iPod apps anywhere else to my knowledge. > > >> >> >> Can I use the code in a simple ipod? Of course without the wireless >> connection and touchscreen functions. > > > iPod is not problem at all. What do you mean by without touchscreen > functions? An iPod and iPhone are no different when it comes to the > touchscreen. > > >> >> >> I noticed that the project is not document and making use of the javadoc >> functionality. Sorry for being annoying, but will you document it?, should >> be a great help. > > > First of all, plenty of JavaDoc exists, we just don't generate it yet. > JavaDoc wouldn't be so helpful as long as you just want to use XMLVM. If you > want to extend it, then JavaDoc is important. But then you can easily > generate it youself using Eclipse for example. We are aware, that there is > still plenty of JavaDoc missing and we are working on it. > > >> >> >> *HINT:* you should include the images of the Iphone into one of the JARs, >> at the beggining I was expecting to run the helloWorld and see a pop-up >> screen with the result instead of a displaying error. >> >> *PS.:* excuse my English, I'm improving it. > > > It's absolutely fine, no worries! :) > > >> >> *PS.:* I will try to make a plugin to eclipse in order to use your >> project. (Just to learn how to make a plugin and who knows if that helps the >> users) > > > What would this plugin do? > > >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> > |