From: Arno P. <ar...@pu...> - 2011-01-10 23:48:01
|
that would be possible. Right now we have red-listed certain classes from J2SE that don't make sense under iOS (such as AWT or Swing). However, I can imagine of having a flexible way of defining which classes to red-list based on the target. In order to support AWT on a different platform you would have to implement the corresponding native methods that pertain to AWT. I added a few slides to our master slide set that give some details to the C backend: xmlvm/doc/slides Arno On 1/10/11 2:33 PM, Leo Izen wrote: > I know most of the xmlvm hype is about the iphone, but I'm quite > interested in seeing AWT ported to Xlib or GTK+. Would this be possible? > Thanx! > > On Mon, Jan 10, 2011 at 12:27 PM, Arno Puder <ar...@pu... > <mailto:ar...@pu...>> wrote: > > > Guys, > > a few days ago I posted a reply giving two examples on how to use the C > backend. We have since integrated the C backend better into the XMLVM > processing pipeline. Here is how to do the two examples I mentioned > earlier using the latest version of XMLVM: > > java -Xmx700m -jar dist/xmlvm.jar --target=posix \ > --in=bin/org/xmlvm/test/ReflectionTest.class \ > --out=ReflectionTest > cd ReflectionTest/dist > make > ./build/ReflectionTest > > Note that there is a --target=posix now. This target will generate a > self-contained project as well as a Makefile to make compiling easier. > For the posix target we also now include the garbage collector. This > means that you can cross-compile a Java program to any standard Posix > platform! > > Here is how to compile iFireworks with the simplified XMLVM pipeline: > > cd demo/iphone/ifireworks > ant > cd - > java -Xmx700m -jar dist/xmlvm.jar --target=iphone-c \ > --app-name=iFireworks \ > --resource=demo/iphone/ifireworks/res/ \ > --in=demo/iphone/ifireworks/build/classes/ \ > --out=ifireworks > open ifireworks/dist/iFireworks.xcodeproj > > What is still missing is the implementation of native methods as well as > the Cocoa wrapper for iOS applications. But things are moving along > nicely. > > Arno > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of > any company > that requires sensitive data to be transmitted over the Web. Learn > how to > best implement a security strategy that keeps consumers' information > secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > xmlvm-users mailing list > xml...@li... > <mailto:xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > ------------------------------------------------------------------------------ > Gaining the trust of online customers is vital for the success of any company > that requires sensitive data to be transmitted over the Web. Learn how to > best implement a security strategy that keeps consumers' information secure > and instills the confidence they need to proceed with transactions. > http://p.sf.net/sfu/oracle-sfdevnl > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |