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...> - 2011-11-09 23:03:02
|
Hi Ray, I currently execute posix targets on Windows/Cygwin & also on OSX, but not on Debian. Here is a sample of an ant block I use: <target name="xmlvm"> <java jar="../xmlvm/dist/xmlvm.jar" failonerror="true" fork="true" maxmemory="1024m"> <arg value="--in=build/bin"/> <arg value="--out=build/xbin"/> <arg value="--target=posix"/> <arg value="--no-cache"/> <arg value="--app-name=HelloWorld"/> </java> </target> I do not have to make any modifications to the make file afterwards. Your issue is likely due to the differences on Debian, as I would bet you're the first one trying that, believe it or not, since I gather most folks are interested in iPhone development on OSX. If you look at some of our code, you'll find some platform specific code (a lot from Apache Harmony). E.g. #if defined (FREEBSD) || defined(MACOSX) It sounds like you have some C experience, so if you would be able to nail down those differences in a patch, I'm sure we could remedy the issue. Thanks, Paul On Wed, Nov 9, 2011 at 3:25 PM, Ray Leland <ray...@gm...> wrote: > Hello all, > > I am new to XMLVM and I am trying to compile a simple Hello World to c > (I am on Debian) with: > $ java -Xmx1G -jar dist/xmlvm.jar --in=HelloWorld.class --target=posix > But I get a lot of compilation problems. > > Currently I am running into an undefined portLibrary, which I believe > it should be defined in one of Harmony's files, but I could not find > it with a simple grep on the generated posix/src directory. The error > message is: > > gcc -w -std=gnu99 -DALL_INTERIOR_POINTERS -DGC_THREADS > -DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK -DUSE_MMAP -DUSE_MUNMAP > -DNO_DYLD_BIND_FULLY_IMAGE -I../src -DXMLVM_NO_GC -DLINUX -c > ../src/xmlvm-util.c -o build/obj/xmlvm-util.o > ../src/xmlvm-sock.c: In function ‘hysock_getnameinfo’: > ../src/xmlvm-sock.c:769: error: ‘portLibrary’ undeclared (first use in > this function) > ../src/xmlvm-sock.c:769: error: (Each undeclared identifier is > reported only once > ../src/xmlvm-sock.c:769: error: for each function it appears in.) > make: *** [build/obj/xmlvm-sock.o] Error 1 > > Following are some steps I have already taken: > 1. I added -DXMLVM_NO_GC to the CFLAGS to simplify things. > 2. I changed S_IFDIR to __S_IFDIR in src/native_java_io_File.h (I am > not so sure why the definition in sys.stat.h does not work). > 3. Also changed --std=c99 to --std=gnu99 in CFLAGS, for otherwise I > got an undefined ip_mreq. > 4. I added -DLINUX to the CFLAGS, for otherwise the definition in > hycomp.h does not kick in. > > Could someone tell me what are the steps needed to compile a simple > HelloWorld with --target=posix? Surely I am not the first to try > that... > > Ray > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Ray L. <ray...@gm...> - 2011-11-09 21:25:19
|
Hello all, I am new to XMLVM and I am trying to compile a simple Hello World to c (I am on Debian) with: $ java -Xmx1G -jar dist/xmlvm.jar --in=HelloWorld.class --target=posix But I get a lot of compilation problems. Currently I am running into an undefined portLibrary, which I believe it should be defined in one of Harmony's files, but I could not find it with a simple grep on the generated posix/src directory. The error message is: gcc -w -std=gnu99 -DALL_INTERIOR_POINTERS -DGC_THREADS -DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK -DUSE_MMAP -DUSE_MUNMAP -DNO_DYLD_BIND_FULLY_IMAGE -I../src -DXMLVM_NO_GC -DLINUX -c ../src/xmlvm-util.c -o build/obj/xmlvm-util.o ../src/xmlvm-sock.c: In function ‘hysock_getnameinfo’: ../src/xmlvm-sock.c:769: error: ‘portLibrary’ undeclared (first use in this function) ../src/xmlvm-sock.c:769: error: (Each undeclared identifier is reported only once ../src/xmlvm-sock.c:769: error: for each function it appears in.) make: *** [build/obj/xmlvm-sock.o] Error 1 Following are some steps I have already taken: 1. I added -DXMLVM_NO_GC to the CFLAGS to simplify things. 2. I changed S_IFDIR to __S_IFDIR in src/native_java_io_File.h (I am not so sure why the definition in sys.stat.h does not work). 3. Also changed --std=c99 to --std=gnu99 in CFLAGS, for otherwise I got an undefined ip_mreq. 4. I added -DLINUX to the CFLAGS, for otherwise the definition in hycomp.h does not kick in. Could someone tell me what are the steps needed to compile a simple HelloWorld with --target=posix? Surely I am not the first to try that... Ray |
From: Sander K. <s.k...@de...> - 2011-11-09 10:13:16
|
Hi all, I'm having trouble running the demos as Android projects. When I type: 'ant run-Android', I get the following message: --- BEGIN LISTING --- BUILD FAILED /Users/sander/xmlvm/demo/android/sayhello/nbproject/xmlvm.xml:60: The following error occurred while executing this line: /Users/sander/xmlvm/demo/android/sayhello/nbproject/build-Android.xml:18: Error. You are using an obsolete build.xml You need to delete it and regenerate it using android update project --- END LISTING --- When I run 'android update project' with the required parameters and edit build.xml to include the right xmlvm-specific files, the result is still the same. Either way, since it complains about line 18 in build-Android.xml I decided to take a look at what's there. Turns out that line only contains "<setup />", not very spectaculair and since it's obsolete I might as well comment it out. So that's what I did and then 'ant run-Android' gives me: --- BEGIN LISTING --- BUILD FAILED /Users/sander/xmlvm/demo/android/sayhello/nbproject/xmlvm.xml:60: The following error occurred while executing this line: Target "debug" does not exist in the project "Android-impl". It is used from target "-target-run". --- END LISTING --- So, it seems like there's a build target missing, but since I'm no expert at ant I'm getting stuck here... Is there anyone who could help me with this? Thanks in advance! Best regards, Sander Knopper Netservice de Toekomst |
From: Panayotis K. <pan...@pa...> - 2011-10-18 12:48:27
|
On 17 Οκτ 2011, at 11:10 μ.μ., Panayotis Katsaloulis wrote: > > Any app, unfortunately. > > I will partially address the issue, by setting "by default" the GCC compiler instead of the "default apple compiler" (which is Clang). > But I believe to be future proof, it would be better to look how to make the C code compatible with Clang... I just committed a patch that selected GCC 4.2 as the default compiler (overriding Apple's default settings). Although more or less works now, I think it is important to address this issue anyway. |
From: Panayotis K. <pan...@pa...> - 2011-10-17 20:10:46
|
On 17 Οκτ 2011, at 7:39 μ.μ., Arno Puder wrote: > > a minimalistic sample app that reproduces the problem would help. > > Arno Any app, unfortunately. I will partially address the issue, by setting "by default" the GCC compiler instead of the "default apple compiler" (which is Clang). But I believe to be future proof, it would be better to look how to make the C code compatible with Clang... |
From: Arno P. <ar...@pu...> - 2011-10-17 16:39:14
|
a minimalistic sample app that reproduces the problem would help. Arno On 10/17/11 8:04 AM, Panayotis Katsaloulis wrote: > I have just updated to Xcode 4.2 (the current Xcode version, compatible with iOS 5), and I found that the produced code (in C and obj-c) is not compilable any more. > THe problem is with an object defined as a @class, and later on redefined using the typedef notation. > > After some experimentation, it seems that this is an issue with GCC& Clang. > For some reason, Clang is more strict on this issue, while GCC is not. > At least for the ObjC backend, if I change the compiler form Clang to GCC solved this issue. > With C backend though I was not equally lucky (but I have to admit I didn't dig more into it). > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Panayotis K. <pan...@pa...> - 2011-10-17 15:05:05
|
I have just updated to Xcode 4.2 (the current Xcode version, compatible with iOS 5), and I found that the produced code (in C and obj-c) is not compilable any more. THe problem is with an object defined as a @class, and later on redefined using the typedef notation. After some experimentation, it seems that this is an issue with GCC& Clang. For some reason, Clang is more strict on this issue, while GCC is not. At least for the ObjC backend, if I change the compiler form Clang to GCC solved this issue. With C backend though I was not equally lucky (but I have to admit I didn't dig more into it). |
From: Sascha H. <sa...@xm...> - 2011-10-14 20:41:36
|
I silently introduced a new parameter recently that you can try out: Call xmlvm with "--libraries=yourlib.jar". This should make XMLVM to pick it up. Now depending on what that library does, you might run into APIs that are not yet fully supported. So please report back when you get errors with the --libraries argument. // Sascha On Fri, Oct 14, 2011 at 10:09 PM, Daniel Naus <dan...@gm...> wrote: > Hello, > > I am trying to cross-compile a simple java application making use of an > external java jar library (antlr) to iphone and getting null pointer > exception in the process: > > [10/14/11 14:24:47.677] ERROR: Couldn't create node for <..3rd > party jar library class here...> > Exception in thread "main" java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > 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.getXmlvmResource(ObjectHierarchyHelper.java:182) > at > org.xmlvm.util.ObjectHierarchyHelper.<init>(ObjectHierarchyHelper.java:112) > 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:55) > > I am a newbie with xmlvm and was not able to figure out how to > properly include jars in the cross compile process (simple hello world > demo works fine) - would anyone please have a suggestion as to how to > do this? > > Thanks a lot, > Daniel > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Daniel N. <dan...@gm...> - 2011-10-14 20:10:01
|
Hello, I am trying to cross-compile a simple java application making use of an external java jar library (antlr) to iphone and getting null pointer exception in the process: [10/14/11 14:24:47.677] ERROR: Couldn't create node for <..3rd party jar library class here...> Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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.getXmlvmResource(ObjectHierarchyHelper.java:182) at org.xmlvm.util.ObjectHierarchyHelper.<init>(ObjectHierarchyHelper.java:112) 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:55) I am a newbie with xmlvm and was not able to figure out how to properly include jars in the cross compile process (simple hello world demo works fine) - would anyone please have a suggestion as to how to do this? Thanks a lot, Daniel |
From: William W. <flu...@gm...> - 2011-10-06 07:39:54
|
Hello all again, I'm curious what the limitations on XMLVM are when translating from Android to iPhone. For instance, I think I can assume that any non-native code should be translatable (even if it's been through a bytecode obfuscator or is written in another JVM language besides Java), but whether it will actually work will depend on the capabilities of the emulation layer on the receiving platform. For instance, Android preferences are sort of like Apple's property lists, but the exact capabilities are not the same. Android application lifecycle is a little different from iOS, especially if you run a service (even if the service isn't exposed through aidl). These are just examples of cases where the platforms are different in a way that is more than just the language they support. The purpose of this message is not to complain that the functionality is inadequate, but to inquire as to how I can best determine if any particular piece of functionality is present. A second question is if some functionality should turn out to not work or be missing, what's the best way to re-implement just that functionality on iOS while keeping the rest of the ported application? Will I get an error in the translation process, or some sort of stub in the generated code? |
From: Panayotis K. <pan...@pa...> - 2011-10-02 09:41:29
|
On 2 Οκτ 2011, at 12:14 μ.μ., Joseph Rukshan Fonseka wrote: >>> I would like to run a custom build so that I can do some preprocessing on the java files before xmlvm compiles them. >>> >>> Because I have some android specific code that I do want to get cross compiled to C I was thinking I will mark them with a special comment such as. >>> >>> >>> /* !XMLVM */ import com.xxx.library; >>> >>> My question is how can I call my custom script that will preprocess and generate a new .java file for xmlvm to compile in the current build system? Depending on the target (Java, Xcode or Android) there is a build-*target*.xml file inside the nbproject directory. This file calls the actual build commands. You can modify these files to suit your needs. |
From: Joseph R. F. <ruk...@op...> - 2011-10-02 09:35:24
|
>> I would like to run a custom build so that I can do some preprocessing on the java files before xmlvm compiles them. >> >> Because I have some android specific code that I do want to get cross compiled to C I was thinking I will mark them with a special comment such as. >> >> >> /* !XMLVM */ import com.xxx.library; >> >> My question is how can I call my custom script that will preprocess and generate a new .java file for xmlvm to compile in the current build system? |
From: William W. <flu...@gm...> - 2011-10-02 08:10:01
|
Thank you very much! I copied the resource files also to the Mac and edited the path in the XCode project and now it is working. It is a little awkward, but it will do for now. On Sat, Oct 1, 2011 at 1:56 AM, Panayotis Katsaloulis < pan...@pa...> wrote: > > On 1 Οκτ 2011, at 9:58 π.μ., William Wilson wrote: > > As for the relative vs absolute path issue, I really don't think that is > the issue, else I would expect an error in the build phase in Xcode. I > looked in the generated xcodeproj and found no references to any kind of xml > file, whether relative or absolute paths. In any case doing my Android > development on the Mac is a non starter even if I did think it would work. > > > This is the expected behavior. No resource files are visible in the Xcode > project, and if something is missing, no error can be seen. > > I understand you need to fine tune this build stage. > In the Xcode project, there is a list of build stages; the last one is an > execution of a bash script. What is does is to copy the resource files to > the produced iOS application bundle, at the end of the compilation. > Have a look at this file and make sure that the resources are found inside > the produced *.app folder. > > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Panayotis K. <pan...@pa...> - 2011-10-01 07:58:27
|
On 1 Οκτ 2011, at 9:58 π.μ., William Wilson wrote: > As for the relative vs absolute path issue, I really don't think that is the issue, else I would expect an error in the build phase in Xcode. I looked in the generated xcodeproj and found no references to any kind of xml file, whether relative or absolute paths. In any case doing my Android development on the Mac is a non starter even if I did think it would work. This is the expected behavior. No resource files are visible in the Xcode project, and if something is missing, no error can be seen. I understand you need to fine tune this build stage. In the Xcode project, there is a list of build stages; the last one is an execution of a bash script. What is does is to copy the resource files to the produced iOS application bundle, at the end of the compilation. Have a look at this file and make sure that the resources are found inside the produced *.app folder. |
From: William W. <flu...@gm...> - 2011-10-01 07:27:21
|
I went ahead and copied AndroidManifest.xml and the main.xml and strings.xml into the project resources manually and now I no longer have the previous issue. Instead I have the following errors: <I><Resources>: Unable to resolve resources for com.myproject.AndroidTestApp1: id <I><Resources>: Unable to resolve resources for com.myproject.AndroidTestApp1: array <I><Resources>: Unable to resolve resources for com.myproject.AndroidTestApp1: dimen <I><Resources>: Unable to resolve resources for com.myproject.AndroidTestApp1: raw These four errors are then repeated one time. Unfortunately, I'm not sure what these errors mean, so I don't know where to go from here. On Sat, Oct 1, 2011 at 12:58 AM, William Wilson <flu...@gm...>wrote: > Unfortunately this doesn't seem to be working either. Creating a project > using the xmlvm android skeleton works but has the same problem - neither > the AndroidManifest.xml file nor any other resource exist anywhere in the > --out directory and are not referenced in the xcodeproj file or Makefile. > > As for the relative vs absolute path issue, I really don't think that is > the issue, else I would expect an error in the build phase in Xcode. I > looked in the generated xcodeproj and found no references to any kind of xml > file, whether relative or absolute paths. In any case doing my Android > development on the Mac is a non starter even if I did think it would work. > > Is there any way I can just add these resource files manually to the iPhone > project? The cross compilation part, which is what I am actually interested > in, is working fine. I just don't know where to put them. > > As an alternative, would it be possible for me to just cross-compile the > logic of my application and copy it into an ordinary iphone app, which I > could then invoke from my own Objective-C code? This way I would build the > UI again, but not the meat of the app, which would probably be fine - and > then I don't need to worry about the cocoa compatibility library. My app is > mostly networking and cryptography anyway, I can afford (and halfway expect) > to redo the UI. > > > On Fri, Sep 30, 2011 at 12:16 PM, Arno Puder <ar...@pu...> wrote: > >> >> that should work. There is probably a problem with --resource. I would >> suggest you let XMLVM generate an empty skeleton project: >> >> xmlvm --skeleton=android --out=OUTDIR --app-name=APPNAME >> >> and then edit it the way you need. >> >> Arno >> >> >> On 9/30/11 2:24 AM, William Wilson wrote: >> > Hello all, >> > I'm new to xmlvm and am running into a problem with my "hello world". >> > My goal is to cross compile Android applications to iPhone. Although I >> > don't think it matters, I'm running xmlvm on Linux and then copying the >> > generated projects to MacOS. >> > >> > I created my Hello World which is the same as the standard Google hello >> > world for Android - it simply defines the onCreate method with >> > setContentView(R.layout.main). There is a main.xml and a strings.xml >> > and also the AndroidManifest.xml that is always there. The app runs >> > fine on Google's Android simulator. >> > >> > I'm able to build my app in XCode and run it in XCode's iPhone >> > simulator, but it crashes on startup. The error displayed in the >> > debugger output is: >> > <E> <xmlvm>: Unable to locate AndroidManifest.xml file >> > >> > After some brief looking I see that the manifest, main and strings xml >> > files are not output into the generated xcode project. I've tried using >> > the --resource commandline option as well as the xmlvm.resource property >> > to try to specify that I want these files, but it doesn't seem to make >> > any difference. >> > >> > I've encountered the same problem with the files in the android demo >> > directory, or at least with afireworks, which is what I tried. >> > >> > Do I need to manually copy these resource files? If so, where shall I >> > put them? >> > >> > >> > >> ------------------------------------------------------------------------------ >> > All of the data generated in your IT infrastructure is seriously >> valuable. >> > Why? It contains a definitive record of application performance, >> security >> > threats, fraudulent activity, and more. Splunk takes this data and makes >> > sense of it. IT sense. And common sense. >> > http://p.sf.net/sfu/splunk-d2dcopy2 >> > >> > >> > >> > _______________________________________________ >> > xmlvm-users mailing list >> > xml...@li... >> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> >> ------------------------------------------------------------------------------ >> All of the data generated in your IT infrastructure is seriously valuable. >> Why? It contains a definitive record of application performance, security >> threats, fraudulent activity, and more. Splunk takes this data and makes >> sense of it. IT sense. And common sense. >> http://p.sf.net/sfu/splunk-d2dcopy2 >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > > |
From: William W. <flu...@gm...> - 2011-10-01 06:59:00
|
Unfortunately this doesn't seem to be working either. Creating a project using the xmlvm android skeleton works but has the same problem - neither the AndroidManifest.xml file nor any other resource exist anywhere in the --out directory and are not referenced in the xcodeproj file or Makefile. As for the relative vs absolute path issue, I really don't think that is the issue, else I would expect an error in the build phase in Xcode. I looked in the generated xcodeproj and found no references to any kind of xml file, whether relative or absolute paths. In any case doing my Android development on the Mac is a non starter even if I did think it would work. Is there any way I can just add these resource files manually to the iPhone project? The cross compilation part, which is what I am actually interested in, is working fine. I just don't know where to put them. As an alternative, would it be possible for me to just cross-compile the logic of my application and copy it into an ordinary iphone app, which I could then invoke from my own Objective-C code? This way I would build the UI again, but not the meat of the app, which would probably be fine - and then I don't need to worry about the cocoa compatibility library. My app is mostly networking and cryptography anyway, I can afford (and halfway expect) to redo the UI. On Fri, Sep 30, 2011 at 12:16 PM, Arno Puder <ar...@pu...> wrote: > > that should work. There is probably a problem with --resource. I would > suggest you let XMLVM generate an empty skeleton project: > > xmlvm --skeleton=android --out=OUTDIR --app-name=APPNAME > > and then edit it the way you need. > > Arno > > > On 9/30/11 2:24 AM, William Wilson wrote: > > Hello all, > > I'm new to xmlvm and am running into a problem with my "hello world". > > My goal is to cross compile Android applications to iPhone. Although I > > don't think it matters, I'm running xmlvm on Linux and then copying the > > generated projects to MacOS. > > > > I created my Hello World which is the same as the standard Google hello > > world for Android - it simply defines the onCreate method with > > setContentView(R.layout.main). There is a main.xml and a strings.xml > > and also the AndroidManifest.xml that is always there. The app runs > > fine on Google's Android simulator. > > > > I'm able to build my app in XCode and run it in XCode's iPhone > > simulator, but it crashes on startup. The error displayed in the > > debugger output is: > > <E> <xmlvm>: Unable to locate AndroidManifest.xml file > > > > After some brief looking I see that the manifest, main and strings xml > > files are not output into the generated xcode project. I've tried using > > the --resource commandline option as well as the xmlvm.resource property > > to try to specify that I want these files, but it doesn't seem to make > > any difference. > > > > I've encountered the same problem with the files in the android demo > > directory, or at least with afireworks, which is what I tried. > > > > Do I need to manually copy these resource files? If so, where shall I > > put them? > > > > > > > ------------------------------------------------------------------------------ > > All of the data generated in your IT infrastructure is seriously > valuable. > > Why? It contains a definitive record of application performance, security > > threats, fraudulent activity, and more. Splunk takes this data and makes > > sense of it. IT sense. And common sense. > > http://p.sf.net/sfu/splunk-d2dcopy2 > > > > > > > > _______________________________________________ > > xmlvm-users mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Panayotis K. <pan...@pa...> - 2011-09-30 20:30:39
|
30 Σεπ 2011, 12:24 μ.μ., ο/η William Wilson <flu...@gm...> έγραψε: > Hello all, > I'm new to xmlvm and am running into a problem with my "hello world". My goal is to cross compile Android applications to iPhone. Although I don't think it matters, I'm running xmlvm on Linux and then copying the generated projects to MacOS. > In general, this is not a good idea. Although the produced Xcode project tries to use relative pathnames where possible, it might be a situation that this wasn't possible, and absolute pathnames were created (which of course where broken when you moved the project to another system). In general the idea is the Xcode project to be consumable, like the other intermediate files. It is not a full & free Xcode project like others. If you want to compile an Xcode project, I'd strongly suggest to create this project in a Mac. |
From: Arno P. <ar...@pu...> - 2011-09-30 18:46:22
|
that should work. There is probably a problem with --resource. I would suggest you let XMLVM generate an empty skeleton project: xmlvm --skeleton=android --out=OUTDIR --app-name=APPNAME and then edit it the way you need. Arno On 9/30/11 2:24 AM, William Wilson wrote: > Hello all, > I'm new to xmlvm and am running into a problem with my "hello world". > My goal is to cross compile Android applications to iPhone. Although I > don't think it matters, I'm running xmlvm on Linux and then copying the > generated projects to MacOS. > > I created my Hello World which is the same as the standard Google hello > world for Android - it simply defines the onCreate method with > setContentView(R.layout.main). There is a main.xml and a strings.xml > and also the AndroidManifest.xml that is always there. The app runs > fine on Google's Android simulator. > > I'm able to build my app in XCode and run it in XCode's iPhone > simulator, but it crashes on startup. The error displayed in the > debugger output is: > <E> <xmlvm>: Unable to locate AndroidManifest.xml file > > After some brief looking I see that the manifest, main and strings xml > files are not output into the generated xcode project. I've tried using > the --resource commandline option as well as the xmlvm.resource property > to try to specify that I want these files, but it doesn't seem to make > any difference. > > I've encountered the same problem with the files in the android demo > directory, or at least with afireworks, which is what I tried. > > Do I need to manually copy these resource files? If so, where shall I > put them? > > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: William W. <flu...@gm...> - 2011-09-30 09:24:40
|
Hello all, I'm new to xmlvm and am running into a problem with my "hello world". My goal is to cross compile Android applications to iPhone. Although I don't think it matters, I'm running xmlvm on Linux and then copying the generated projects to MacOS. I created my Hello World which is the same as the standard Google hello world for Android - it simply defines the onCreate method with setContentView(R.layout.main). There is a main.xml and a strings.xml and also the AndroidManifest.xml that is always there. The app runs fine on Google's Android simulator. I'm able to build my app in XCode and run it in XCode's iPhone simulator, but it crashes on startup. The error displayed in the debugger output is: <E> <xmlvm>: Unable to locate AndroidManifest.xml file After some brief looking I see that the manifest, main and strings xml files are not output into the generated xcode project. I've tried using the --resource commandline option as well as the xmlvm.resource property to try to specify that I want these files, but it doesn't seem to make any difference. I've encountered the same problem with the files in the android demo directory, or at least with afireworks, which is what I tried. Do I need to manually copy these resource files? If so, where shall I put them? |
From: Arno P. <ar...@pu...> - 2011-09-28 22:06:47
|
short answer: no. You can use a subset of J2SE (data structures, XML parsing, etc) but there are some notable omissions: AWT and Swing. It doesn't make sense to 'shrink' a desktop interface, you have to 're-think' it for mobile devices. That is why XMLVM support the native UI widgets of iOS and Android. Arno On 9/28/11 12:41 AM, hiba osama wrote: > please can you tell me if i developed a desktop application using java > which means (J2SE) package , can i > cross compile it using XMLVM???? > > > -- > ------------------------------------------------------------------------------------- > *Eng.* *H*iba *O*sama *M*ohamed *Z*aki > */Intelligent Solutions for Consultancy & Software./* > *E-mail :* www.int-sols.com <http://www.int-sols.com/> > *P.O.Box:* 3434 - Khartoum > */Programmer and Software Developer ,/* > *Mob:* +249-123500650 , +249-912836087 > > *E-mail*: hib...@gm... <mailto:hib...@gm...> , > hib...@ya... <mailto:hib...@ya...> > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: hiba o. <hib...@gm...> - 2011-09-28 07:41:28
|
please can you tell me if i developed a desktop application using java which means (J2SE) package , can i cross compile it using XMLVM???? -- ------------------------------------------------------------------------------------- *Eng.* *H*iba *O*sama *M*ohamed *Z*aki *Intelligent Solutions for Consultancy & Software.* *E-mail :* www.int-sols.com *P.O.Box:* 3434 - Khartoum *Programmer and Software Developer ,* *Mob:* +249-123500650 , +249-912836087 *E-mail*: hib...@gm... , hib...@ya... |
From: Arno P. <ar...@pu...> - 2011-09-27 19:10:49
|
XMLVM does not support J2ME. None of the classes you've listed below are part of XMLVM. I took a quick look at Netmite (the tool you mentioned) and it seems that they have some sort of interpreter to run J2ME apps on Android. In theory it might be possible to cross-compile the Netmite Runner, but that would not be a trivial task. Sorry, but I'm afraid XMLVM can't help you much. Arno On 9/27/11 4:58 AM, hiba osama wrote: > Dear Mr.Sascha , All > First of all ,Thanks alot for replying , and sorry if i used the wrong > email . > and the application i developed is not an android application , it is > developed in J2ME technology > but i used the netmite website to covert it to .apk application in order > to be compatible to work on > android mobile phones. > My application is combinations of services consisting of 23 banking > services , i used alot of packages > as follows: > java.io.* > java.util.* > javax.microedition.midlet.* > javax.microedition.lcdui.* > javax.microedition.io.Connector > javax.microedition.io.HttpConnection > org.netbeans.microedition.lcdui.SplashScreen > org.netbeans.microedition.lcdui.WaitScreen > org.netbeans.microedition.util.SimpleCancellableTask > in order for the user to input data in forms , to be submitted as HTTP > request , then read the > feedback information about the transaction from a webpage and display it > in a J2ME form back > to the user. > and now all the Banks' users except the iPhone users are using the > applications , and am trying to solve > this issue , so if you have any idea to support me kindly do. > Thankx alot, > Kind regards, > -- > ------------------------------------------------------------------------------------- > *Eng.* *H*iba *O*sama *M*ohamed *Z*aki > */Intelligent Solutions for Consultancy & Software./* > *E-mail :* www.int-sols.com <http://www.int-sols.com/> > *P.O.Box:* 3434 - Khartoum > */Programmer and Software Developer ,/* > *Mob:* +249-123500650 , +249-912836087 > > *E-mail*: hib...@gm... <mailto:hib...@gm...> , > hib...@ya... <mailto:hib...@ya...> > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: hiba o. <hib...@gm...> - 2011-09-27 16:42:08
|
*cross compiling J2ME Application to iPhone * Dear Mr.Sascha , All First of all ,Thanks alot for replying , and sorry if i used the wrong email . and the application i developed is not an android application , it is developed in J2ME technology but i used the netmite website to covert it to .apk application in order to be compatible to work on android mobile phones. My application is combinations of services consisting of 23 banking services , i used alot of packages as follows: java.io.* java.util.* javax.microedition.midlet.* javax.microedition.lcdui.* javax.microedition.io.Connector javax.microedition.io.HttpConnection org.netbeans.microedition.lcdui.SplashScreen org.netbeans.microedition.lcdui.WaitScreen org.netbeans.microedition.util.SimpleCancellableTask in order for the user to input data in forms , to be submitted as HTTP request , then read the feedback information about the transaction from a webpage and display it in a J2ME form back to the user. and now all the Banks' users except the iPhone users are using the applications , and am trying to solve this issue , so if you have any idea to support me kindly do. Thankx alot, Kind regards, -- ------------------------------------------------------------------------------------- *Eng.* *H*iba *O*sama *M*ohamed *Z*aki *Intelligent Solutions for Consultancy & Software.* *E-mail :* www.int-sols.com *P.O.Box:* 3434 - Khartoum *Programmer and Software Developer ,* *Mob:* +249-123500650 , +249-912836087 *E-mail*: hib...@gm... , hib...@ya... -- ------------------------------------------------------------------------------------- *Eng.* *H*iba *O*sama *M*ohamed *Z*aki *Intelligent Solutions for Consultancy & Software.* *E-mail :* www.int-sols.com *P.O.Box:* 3434 - Khartoum *Programmer and Software Developer ,* *Mob:* +249-123500650 , +249-912836087 *E-mail*: hib...@gm... , hib...@ya... |
From: hiba o. <hib...@gm...> - 2011-09-27 11:58:34
|
Dear Mr.Sascha , All First of all ,Thanks alot for replying , and sorry if i used the wrong email . and the application i developed is not an android application , it is developed in J2ME technology but i used the netmite website to covert it to .apk application in order to be compatible to work on android mobile phones. My application is combinations of services consisting of 23 banking services , i used alot of packages as follows: java.io.* java.util.* javax.microedition.midlet.* javax.microedition.lcdui.* javax.microedition.io.Connector javax.microedition.io.HttpConnection org.netbeans.microedition.lcdui.SplashScreen org.netbeans.microedition.lcdui.WaitScreen org.netbeans.microedition.util.SimpleCancellableTask in order for the user to input data in forms , to be submitted as HTTP request , then read the feedback information about the transaction from a webpage and display it in a J2ME form back to the user. and now all the Banks' users except the iPhone users are using the applications , and am trying to solve this issue , so if you have any idea to support me kindly do. Thankx alot, Kind regards, -- ------------------------------------------------------------------------------------- *Eng.* *H*iba *O*sama *M*ohamed *Z*aki *Intelligent Solutions for Consultancy & Software.* *E-mail :* www.int-sols.com *P.O.Box:* 3434 - Khartoum *Programmer and Software Developer ,* *Mob:* +249-123500650 , +249-912836087 *E-mail*: hib...@gm... , hib...@ya... |
From: Paul P. <bay...@gm...> - 2011-09-23 00:16:55
|
Big news indeed! Congratulations! Paul On Thu, Sep 22, 2011 at 1:48 PM, Arno Puder <ar...@pu...> wrote: > > Guys, > > some of you may know that XMLVM features a little showcase application: > Xokoban (sources are in xmlvm/demo/android/xokoban). We've had Xokoban > in the Apple AppStore for over two years and Apple has just accepted an > updated version. The visual has not changed much but the internal > implementation has radically changed. For one, Xokoban now makes use of > advanced Android API (activity lifecycle, layout manager, > internationalization). One benefit of using Android's layout manager is > that Xokoban now is a universal binary that runs on iPhone as well as iPad. > > However the biggest change is that the new version of Xokoban was > cross-compiled with the new C backend. This is a radical departure from > the old Objective-C backend. One of the many changes is that > applications cross-compiled with the C backend now bundle a garbage > collector for better Java compliance. Xokoban is (to my knowledge) the > first app that Apple accepted and that was generated with the new C > backend. An important milestone. > > The new version of Xokoban is the combined effort of many people. If you > are on this mailing list you will know who they are. Many thanks to all > of them! > > New big changes are in the pipeline. Look forward to source-code-level > debugging from Eclipse/Netbeans of cross-compiled Java applications. :) > > Arno > > http://itunes.apple.com/us/app/xokoban/id322302746?ls=1&mt=8 > > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Xmlvm-developers mailing list > Xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-developers > |