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: 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-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: 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 |