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: Paul P. <bay...@gm...> - 2012-02-14 18:11:35
|
It sounds like maybe you have multiple main methods, but have 1 particularly in mind for the C main? XMLVM assumes there is only a single main method in the project & that is the one that is executed. If you have more than 1 main method, you will get an error. Thanks, Paul Sent from my iPhone On Feb 14, 2012, at 10:24 AM, Ralf Tossenberger <ral...@co...> wrote: > Hello, > > I am trying to convert a Java project to posix but have no idea where the main(argc, **argv) entry has to be defined. Inside my Java classes there is one class containing the static main(args) method which should be started. Trying to compile (to link) the generated stuff, currently ends with a missing main() error. > > Thanks for help > RT > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2012-02-14 18:09:32
|
XMLVM should generate a C main() if it sees a Java main(). Make sure your Java main has the correct signature and that it is included in the cross compilation (--in). Also one thing to note is that your Java program should have exactly one main() method (Java allows multiple main() methods and you have to specify on the command line which main() method you want to invoke. This happens implicitly in XMLVM). Arno On 2/14/12 8:24 AM, Ralf Tossenberger wrote: > Hello, > > I am trying to convert a Java project to posix but have no idea where > the main(argc, **argv) entry has to be defined. Inside my Java classes > there is one class containing the static main(args) method which should > be started. Trying to compile (to link) the generated stuff, currently > ends with a missing main() error. > > Thanks for help > RT > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Ralf T. <ral...@co...> - 2012-02-14 16:37:48
|
Hello, I am trying to convert a Java project to posix but have no idea where the main(argc, **argv) entry has to be defined. Inside my Java classes there is one class containing the static main(args) method which should be started. Trying to compile (to link) the generated stuff, currently ends with a missing main() error. Thanks for help RT |
From: Arno P. <ar...@pu...> - 2012-02-13 22:08:02
|
you might try to use the C backend (--target=iphonec). The C backend makes use of Apache Harmony and you might have more luck. In case something in missing, you will get a so-called red-class exception. The console log will tell you this. Arno On 02/13/2012 02:02 PM, Devone wrote: > Thank you Paul. > What is the standard beaviour of xmlvm when it meet a not supported > class? It seems that the class is silently ignored, do you confirm it? > > Can you suggest me the better way to add java.util.Date to xmlvm? > > best regards > Devone > > > Il giorno 13/feb/2012, alle ore 06:25, Paul Poley ha scritto: > >> I don't believe Date & SimpleDateFormat are currently supported by XMLVM. >> >> Paul >> >> >> On Sun, Feb 12, 2012 at 4:20 PM, Devone <de...@ea... >> <mailto:de...@ea...>> wrote: >> >> Hi everyone, >> I migrated from android to iphone, but the Xcode generated project >> cannot be compiled due to this 2 classes non found: >> >> #import "java_text_SimpleDateFormat.h" >> #import "java_util_Date.h" >> >> This is the command to translate the project: >> xmlvm --in=/Users/devone/Documents/testsecure --target=iphone >> --iphone-app=testsecure --lib=android >> >> and this the error after the Xcode run: >> No such file or directory (for both files above) >> >> My question is; is it possible that java.text.SimpleDateFormat and >> java.util.Date are not included in android.jar or not supported by >> xmlvm? >> What I'm doing wrong? >> >> >> thanks in advance >> Devone >> >> ------------------------------------------------------------------------------ >> Virtualization & Cloud Management Using Capacity Planning >> Cloud computing makes use of virtualization - but cloud computing >> also focuses on allowing computing to be delivered as a service. >> http://www.accelacomm.com/jaw/sfnl/114/51521223/ >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> <mailto:xml...@li...> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> > > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Devone <de...@ea...> - 2012-02-13 22:05:16
|
Thank you Paul. What is the standard beaviour of xmlvm when it meet a not supported class? It seems that the class is silently ignored, do you confirm it? Can you suggest me the better way to add java.util.Date to xmlvm? best regards Devone Il giorno 13/feb/2012, alle ore 06:25, Paul Poley ha scritto: > I don't believe Date & SimpleDateFormat are currently supported by XMLVM. > > Paul > > > On Sun, Feb 12, 2012 at 4:20 PM, Devone <de...@ea...> wrote: > Hi everyone, > I migrated from android to iphone, but the Xcode generated project cannot be compiled due to this 2 classes non found: > > #import "java_text_SimpleDateFormat.h" > #import "java_util_Date.h" > > This is the command to translate the project: > xmlvm --in=/Users/devone/Documents/testsecure --target=iphone --iphone-app=testsecure --lib=android > > and this the error after the Xcode run: > No such file or directory (for both files above) > > My question is; is it possible that java.text.SimpleDateFormat and java.util.Date are not included in android.jar or not supported by xmlvm? > What I'm doing wrong? > > > thanks in advance > Devone > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Paul P. <bay...@gm...> - 2012-02-13 05:25:23
|
I don't believe Date & SimpleDateFormat are currently supported by XMLVM. Paul On Sun, Feb 12, 2012 at 4:20 PM, Devone <de...@ea...> wrote: > Hi everyone, > I migrated from android to iphone, but the Xcode generated project cannot > be compiled due to this 2 classes non found: > > #import "java_text_SimpleDateFormat.h" > #import "java_util_Date.h" > > This is the command to translate the project: > xmlvm --in=/Users/devone/Documents/testsecure --target=iphone > --iphone-app=testsecure --lib=android > > and this the error after the Xcode run: > No such file or directory (for both files above) > > My question is; is it possible that java.text.SimpleDateFormat and > java.util.Date are not included in android.jar or not supported by xmlvm? > What I'm doing wrong? > > > thanks in advance > Devone > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Devone <de...@ea...> - 2012-02-12 22:50:13
|
Hi everyone, I migrated from android to iphone, but the Xcode generated project cannot be compiled due to this 2 classes non found: #import "java_text_SimpleDateFormat.h" #import "java_util_Date.h" This is the command to translate the project: xmlvm --in=/Users/devone/Documents/testsecure --target=iphone --iphone-app=testsecure --lib=android and this the error after the Xcode run: No such file or directory (for both files above) My question is; is it possible that java.text.SimpleDateFormat and java.util.Date are not included in android.jar or not supported by xmlvm? What I'm doing wrong? thanks in advance Devone |
From: Markus H. <ma...@ti...> - 2012-02-07 21:56:57
|
I have added a sample that shows how to use the maven plugin with android: https://github.com/tisoft/xmlvm-maven-plugin/tree/master/src/test/resources/xmlvm-android-test Hope that helps. Markus Am 06.02.2012 um 18:53 schrieb Markus Heberling: > He seems to be using my xmlvm maven plugin from https://github.com/tisoft/xmlvm-maven-plugin > > I have never tested the plugin for an android build. I will try to add support for android builds in the next days. > > Markus > > Am 06.02.2012 um 18:33 schrieb Arno Puder: > >> >> >> On 2/5/12 6:58 AM, ju...@ed... wrote: >>> -DStatusBarHidden=false, -DApplicationExits=true, --debug=warning] >>> [02/05/12 15:38:34.516] ERROR: Couldn't create node for >>> android.app.Activity >> >> This seems to indicate that you are not compiling against the Android >> Compat Lib. Sorry, but there is no support for Maven. Again, I would >> suggest you start with a fresh skeleton project and then move your code >> over. >> >>> So, my 2nd question is : does -DXcodeProject=iphone use C or Obj-C backend ? >> >> This property is not related to the selection of the backend (which is >> determined by --target) but the kind of Xcode project that should be >> created. The -DXcodeProject=iphone specifies that an iphone project >> should be created (and not an ipad project). See --help for details. >> >> Arno >> >> ------------------------------------------------------------------------------ >> Try before you buy = See our experts in action! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-dev2 >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Markus H. <ma...@ti...> - 2012-02-06 18:11:51
|
He seems to be using my xmlvm maven plugin from https://github.com/tisoft/xmlvm-maven-plugin I have never tested the plugin for an android build. I will try to add support for android builds in the next days. Markus Am 06.02.2012 um 18:33 schrieb Arno Puder: > > > On 2/5/12 6:58 AM, ju...@ed... wrote: >> -DStatusBarHidden=false, -DApplicationExits=true, --debug=warning] >> [02/05/12 15:38:34.516] ERROR: Couldn't create node for >> android.app.Activity > > This seems to indicate that you are not compiling against the Android > Compat Lib. Sorry, but there is no support for Maven. Again, I would > suggest you start with a fresh skeleton project and then move your code > over. > >> So, my 2nd question is : does -DXcodeProject=iphone use C or Obj-C backend ? > > This property is not related to the selection of the backend (which is > determined by --target) but the kind of Xcode project that should be > created. The -DXcodeProject=iphone specifies that an iphone project > should be created (and not an ipad project). See --help for details. > > Arno > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2012-02-06 17:33:34
|
On 2/5/12 6:58 AM, ju...@ed... wrote: > -DStatusBarHidden=false, -DApplicationExits=true, --debug=warning] > [02/05/12 15:38:34.516] ERROR: Couldn't create node for > android.app.Activity This seems to indicate that you are not compiling against the Android Compat Lib. Sorry, but there is no support for Maven. Again, I would suggest you start with a fresh skeleton project and then move your code over. > So, my 2nd question is : does -DXcodeProject=iphone use C or Obj-C backend ? This property is not related to the selection of the backend (which is determined by --target) but the kind of Xcode project that should be created. The -DXcodeProject=iphone specifies that an iphone project should be created (and not an ipad project). See --help for details. Arno |
From: <ju...@ed...> - 2012-02-05 14:58:27
|
From this thread: [xmlvm-users] --target=iphonec NullPointerException https://sourceforge.net/mailarchive/message.php?msg_id=28772376 Arno has identified that an invocation of ant target 'run-XCode' is required against a skeleton project in order to avoid this error: >> [02/01/12 19:07:18.633] ERROR: Couldn't create node for >> android.app.Activity Running this ant target on a skeleton project does create all of the necessary artifacts to avoid this error: xcode things are generated nicely. NOW, I have *existing* Maven projects against which I have run the xmlvm-maven-plugin [0.0.1-SNAPSHOT] (which is itself built locally). HOWEVER, during the build I see the same error as that discussed above: [INFO] --- xmlvm-maven-plugin:0.0.1-SNAPSHOT:generate-xmlvm (generate) @ AndroidXMLVMXCodePOC --- [INFO] Running XMLVM with command line: [--in=/path/to/project/target/classes, --out=/path/to/project/target/AndroidXMLVMXCodePOC, --target=posix, --app-name=AndroidXMLVMXCodePOC, -DXcodeProject=iphone, -DBundleIdentifier=apkg.AndroidXMLVMXCodePOC, -DBundleVersion=0.0.1-SNAPSHOT, -DPrerenderedIcon=false, -DStatusBarHidden=false, -DApplicationExits=true, --debug=warning] [02/05/12 15:38:34.516] ERROR: Couldn't create node for android.app.Activity So, my 1st, and more important, question is: Is it possible to have the necessary boilerplate artifacts generated during this process of converting a maven project ? SECONDLY, I notice the -DXcodeProject-iphone argument, but from Arno's response in the thread: [xmlvm-users] XStream : Android -> iOS https://sourceforge.net/mailarchive/message.php?msg_id=28770943 Arno says <quote> --target=iphonec is required as the obj-C backend cannot support this. </quote> So, my 2nd question is : does -DXcodeProject=iphone use C or Obj-C backend ? Julian |
From: Arno P. <ar...@pu...> - 2012-02-01 18:46:58
|
On 2/1/12 9:53 AM, ju...@ed... wrote: > aside 1: XStream is I think the best bang for the buck if u need to just > de/serialize objects/xml. > If you're interested, just look here: > http://xstream.codehaus.org/ I looked at it and I think there might be a good chance it works out of the box. > aside 2 : With this darn Mac OS X environment...is this combination > reliable for XMLVM purposes ?: > 10.5.5, XCode 3.1, IOS SDK 3.1 I'm not sure if the Xcode project that XMLVM creates is still compatible with Xcode 3.1. Panayotis might know. Arno |
From: Arno P. <ar...@pu...> - 2012-02-01 18:46:08
|
unfortunately the online doc is a little out of date. After creating a skeleton project you should use the generated ant-script for cross-compiling your app: ant run-Xcode Arno On 2/1/12 10:40 AM, ju...@ed... wrote: > My xmlvm trunk version is 2118 (I updated today). > > I created a skeleton project: > xmlvm --skeleton=android --out=/path/to/TestAndroidXMLVMAppFolder > --app-name=TestAndroidXMLVMApp > No modifications whatsoever to the skeleton project. > > ------------------------------------------------------------------------------------------------- > SUCESS with : xmlvm --in=bin/classes > --iphone-app=TestIPhoneXMLVMApp_IPHONE --target=iphone > ------------------------------------------------------------------------------------------------- > Artifact tree created: > /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE > /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/build > /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/build/xcode > /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/build/xcode/src > /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/build/xcode/sys > /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/dist > /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/dist/TestIPhoneXMLVMApp_IPHONE.xcodeproj > /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/dist/Makefile > > ------------------------------------------------------------------------------------------------- > FAILURE with : xmlvm --in=bin/classes > --iphone-app=TestIPhoneXMLVMApp_IPHONEC --target=iphonec > ------------------------------------------------------------------------------------------------- > Here is the complete stack trace: > /path/to/TestAndroidXMLVMAppFolder$ xmlvm --in=bin/classes > --iphone-app=TestIPhoneXMLVMApp_IPHONEC --target=iphonec > [02/01/12 19:06:23.213] WARNING: Using 'TestIPhoneXMLVMApp_IPHONEC' > as output directory > [02/01/12 19:07:18.633] ERROR: Couldn't create node for > android.app.Activity > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > 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.util.ObjectHierarchyHelper.insertClass(ObjectHierarchyHelper.java:282) > at > org.xmlvm.util.ObjectHierarchyHelper.insertResource(ObjectHierarchyHelper.java:254) > at org.xmlvm.util.ObjectHierarchyHelper.<init>(ObjectHierarchyHelper.java:82) > at > org.xmlvm.proc.out.VtableOutputProcess.processPhase2(VtableOutputProcess.java:108) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:223) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) > at > org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) > at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:162) > at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:137) > at org.xmlvm.Main.main(Main.java:53) > ... 6 more > > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: <ju...@ed...> - 2012-02-01 18:40:07
|
My xmlvm trunk version is 2118 (I updated today). I created a skeleton project: xmlvm --skeleton=android --out=/path/to/TestAndroidXMLVMAppFolder --app-name=TestAndroidXMLVMApp No modifications whatsoever to the skeleton project. ------------------------------------------------------------------------------------------------- SUCESS with : xmlvm --in=bin/classes --iphone-app=TestIPhoneXMLVMApp_IPHONE --target=iphone ------------------------------------------------------------------------------------------------- Artifact tree created: /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/build /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/build/xcode /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/build/xcode/src /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/build/xcode/sys /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/dist /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/dist/TestIPhoneXMLVMApp_IPHONE.xcodeproj /TestAndroidXMLVMApp/TestIPhoneXMLVMApp_IPHONE/dist/Makefile ------------------------------------------------------------------------------------------------- FAILURE with : xmlvm --in=bin/classes --iphone-app=TestIPhoneXMLVMApp_IPHONEC --target=iphonec ------------------------------------------------------------------------------------------------- Here is the complete stack trace: /path/to/TestAndroidXMLVMAppFolder$ xmlvm --in=bin/classes --iphone-app=TestIPhoneXMLVMApp_IPHONEC --target=iphonec [02/01/12 19:06:23.213] WARNING: Using 'TestIPhoneXMLVMApp_IPHONEC' as output directory [02/01/12 19:07:18.633] ERROR: Couldn't create node for android.app.Activity Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) 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.util.ObjectHierarchyHelper.insertClass(ObjectHierarchyHelper.java:282) at org.xmlvm.util.ObjectHierarchyHelper.insertResource(ObjectHierarchyHelper.java:254) at org.xmlvm.util.ObjectHierarchyHelper.<init>(ObjectHierarchyHelper.java:82) at org.xmlvm.proc.out.VtableOutputProcess.processPhase2(VtableOutputProcess.java:108) at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:223) at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) at org.xmlvm.proc.XmlvmProcessImpl.forwardOrProcessPhase2(XmlvmProcessImpl.java:220) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:162) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:137) at org.xmlvm.Main.main(Main.java:53) ... 6 more |
From: <ju...@ed...> - 2012-02-01 17:53:33
|
Thanks Arno. Will get my Leopard VM image set up and do as you suggest. aside 1: XStream is I think the best bang for the buck if u need to just de/serialize objects/xml. If you're interested, just look here: http://xstream.codehaus.org/ aside 2 : With this darn Mac OS X environment...is this combination reliable for XMLVM purposes ?: 10.5.5, XCode 3.1, IOS SDK 3.1 I will post back on the outcome. Best Regards Julian Quoting Arno Puder <ar...@pu...>: > > I am not familiar with xstream, but the question whether XMLVM can > cross-compile this to iOS largely depends on the API that xstream itself > depends on. XMLVM supports XML API (including JAXP) so chances are > pretty good. The only way to know for sure is to write a little iOS > Hello World (take one of the tutorials in xmlvm/tutorial/ios/helloworld > as a basis) and give it a try. Note that this will definitely *not* work > with the Objective-C backend. You need to select --target=iphonec. > > Arno > > > On 2/1/12 5:23 AM, ju...@ed... wrote: >> Has anybody attempted to cross compile a java (android) application >> which uses xstream (1.3.1 or the more stable 1.4.2) ? >> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Arno P. <ar...@pu...> - 2012-02-01 17:42:40
|
I am not familiar with xstream, but the question whether XMLVM can cross-compile this to iOS largely depends on the API that xstream itself depends on. XMLVM supports XML API (including JAXP) so chances are pretty good. The only way to know for sure is to write a little iOS Hello World (take one of the tutorials in xmlvm/tutorial/ios/helloworld as a basis) and give it a try. Note that this will definitely *not* work with the Objective-C backend. You need to select --target=iphonec. Arno On 2/1/12 5:23 AM, ju...@ed... wrote: > Has anybody attempted to cross compile a java (android) application > which uses xstream (1.3.1 or the more stable 1.4.2) ? > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: <ju...@ed...> - 2012-02-01 13:41:35
|
Has anybody attempted to cross compile a java (android) application which uses xstream (1.3.1 or the more stable 1.4.2) ? |
From: Francesco <iro...@ti...> - 2012-01-25 12:20:10
|
<html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-15"> </head> <body bgcolor="#FFFFFF" text="#000000"> I am confused: is it possible to cross-compile Java-based Android applications to native iPhone applications, as stated in <a class="moz-txt-link-freetext" href="http://xmlvm.org/android">http://xmlvm.org/android</a>?<br> Instead:<br> - in <a class="moz-txt-link-freetext" href="http://xmlvm.org/tutorial/">http://xmlvm.org/tutorial/</a> is reported <i>"iOS development can only be done on a Mac OS X system. No support for Windows or Linux!</i>";<br> - in the forum it seems that I can develop for iOs in Java, but I cannot have a cross-compilation;<br> - the switch "--target=android-on-iphone" no longer exist.<br> <br> Is there a clear tutorial/video on the exact steps to cross-compile an existing Android app?<br> <br> Thanks<br> <br> <br> </body> </html> |
From: Arno P. <ar...@pu...> - 2012-01-05 17:36:50
|
the Objective-C backend still uses reference counting. This will never change since there is no way to intercept alloc/init to make it work with the GC. The C backend has a fully functional GC that gets bundled with the generated Xcode project (--target=iphonec). We already use the finalize() mechanism of the GC in the wrapper classes to release iOS resources. Arno On 1/5/12 6:35 AM, Mark Wolfskehl wrote: > Hi, > > What is the current state of the garbage collection in xmlvm? Is a full > garbage collector implemented, or is it limited to reference counting? > > Thanks! > Mark Wolfskehl > > PS In regards to the person who was interested in .NET to iOS support, > why not just use MonoTouch, which supports C# on iOS and Android? > -- > Sent from my Android phone with K-9 Mail. Please excuse my brevity. > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Mark W. <ma...@ma...> - 2012-01-05 14:55:59
|
Hi, What is the current state of the garbage collection in xmlvm? Is a full garbage collector implemented, or is it limited to reference counting? Thanks! Mark Wolfskehl PS In regards to the person who was interested in .NET to iOS support, why not just use MonoTouch, which supports C# on iOS and Android? -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. |
From: Arno P. <ar...@pu...> - 2012-01-05 07:40:30
|
you can reference additional .jar files via --in=... Those .jar files will automatically be cross-compiled as well. As long as this .jar file is self-contained everything should be fine. Problems might arise if this .jar file references API that is not supported by XMLVM or if the .jar file contains native methods. My suggestion is to give it a try and include your .jar file via --in and see what happens. Arno On 1/4/12 11:13 AM, Alexandre Bouenard wrote: > Hi XMLVM folks ! > > I am very interested in using XMLVM for translating a JAVA app to a > mobile app (iphone/android). > My big concern is related to external dependencies: let say that my JAVA > app depends on a set of .jar libraries, how XMLVM treats those to > produce iphone- or android-compliant code ? > > Thanks for your answers, > > Best, > Alex > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Alexandre B. <abo...@gm...> - 2012-01-04 19:13:57
|
Hi XMLVM folks ! I am very interested in using XMLVM for translating a JAVA app to a mobile app (iphone/android). My big concern is related to external dependencies: let say that my JAVA app depends on a set of .jar libraries, how XMLVM treats those to produce iphone- or android-compliant code ? Thanks for your answers, Best, Alex |
From: Arno P. <ar...@pu...> - 2011-12-23 09:10:23
|
absolutely! Please upload your patch to our review system: http://xmlvm.org/contribute/ Thanks! Arno On 12/22/11 2:04 PM, Sam Posner wrote: > Hello XMLVM community! > > I'm building an Android-iPhone game framework using XMLVM. I've been working on implementing device orientation processing for motion controls - with the vanilla Android SDK I did this by giving the accelerometer and magnetometer readings to SensorManager's getRotationMatrix and getOrientation class methods, which are not implemented in the XMLVM compatibility library. So, I took a look at the Android source and reimplemented them in my project! This works to calculate orientation on my Android phone and the cross-compiled iPhone app runs in the simulator, though I don't have an iOS device to actually test the orientation processing (Apple's emulators don't simulate hardware sensors). If this makes sense to anyone else would a contributor be willing to add those methods to XMLVM's SensorManager? > > Sam > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2011-12-23 09:04:07
|
yes, standard J2SE API is available when using the C backend. Depending on which API you use you may run into an unimplemented native method, but the majority of API is ready to use. Arno On 12/21/11 8:52 AM, Mark Wolfskehl wrote: > What is the status of the standard Java runtime libraries when used with > xmlvm for iPhone? Are the standard Java classes available? > > Thanks, > Mark Wolfskehl > -- > Sent from my Android tablet with K-9 Mail. Please excuse my brevity. > > > ------------------------------------------------------------------------------ > Write once. Port to many. > Get the SDK and tools to simplify cross-platform app development. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Sam P. <sm...@gm...> - 2011-12-22 22:04:49
|
Hello XMLVM community! I'm building an Android-iPhone game framework using XMLVM. I've been working on implementing device orientation processing for motion controls - with the vanilla Android SDK I did this by giving the accelerometer and magnetometer readings to SensorManager's getRotationMatrix and getOrientation class methods, which are not implemented in the XMLVM compatibility library. So, I took a look at the Android source and reimplemented them in my project! This works to calculate orientation on my Android phone and the cross-compiled iPhone app runs in the simulator, though I don't have an iOS device to actually test the orientation processing (Apple's emulators don't simulate hardware sensors). If this makes sense to anyone else would a contributor be willing to add those methods to XMLVM's SensorManager? Sam |