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: Panayotis K. <pan...@pa...> - 2011-04-07 15:16:50
|
On 07 Απρ 2011, at 4:53 μ.μ., John Comeau wrote: > I hadn't, but just tried, and got the same errors beginning with: Before speaking about the error messages, I clearly want to understand what you do. Have you tried the unmodified aFireworks project with your configuration? Did it worked? If it didn't, which version of Google API's are you using? Here, in XMLVM we practically only support 2.1 onwards and JDK 1.6.\ |
From: John C. <jc...@un...> - 2011-04-07 13:53:39
|
I hadn't, but just tried, and got the same errors beginning with: E/dalvikvm( 656): Could not find method android.content.Intent.setData, referenced from method org.xmlvm.demo.afireworks.AndroidFireworks.viewUri On Thu, Apr 7, 2011 at 4:55 AM, Arno Puder <ar...@pu...> wrote: > Did you try: > > ant run-Android > > in the aFireworks directory? > > Arno > > On Apr 7, 2011, at 1:58 AM, John Comeau <jc...@un...> wrote: > >> I'm able to run the afireworks demo fine using "ant run-Java", but >> trying to run it on a Google APIs 1.6 emulator using "ant install" >> gives an error "rejecting opcode 0x6e at 0x0007": see >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what >> I'm doing wrong? >> -- >> John Comeau <jc...@un...> http://jc.unternet.net/ >> "A place for everything, and everything >> all over the place" >> >> ------------------------------------------------------------------------------ >> Xperia(TM) PLAY >> It's a major breakthrough. An authentic gaming >> smartphone on the nation's most reliable network. >> And it wants your games. >> http://p.sf.net/sfu/verizon-sfdev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Arno P. <ar...@pu...> - 2011-04-07 11:55:52
|
Did you try: ant run-Android in the aFireworks directory? Arno On Apr 7, 2011, at 1:58 AM, John Comeau <jc...@un...> wrote: > I'm able to run the afireworks demo fine using "ant run-Java", but > trying to run it on a Google APIs 1.6 emulator using "ant install" > gives an error "rejecting opcode 0x6e at 0x0007": see > http://pastebin.com/EptG0Zid for logcat output. Any clue as to what > I'm doing wrong? > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: John C. <jc...@un...> - 2011-04-07 05:52:25
|
I was finally able to get afireworks to run on Android, by making a completely new project, copying the sources, resources, and AndroidManifest.xml to the new project directory, and rebuilding: 10398 bzr mv afireworks afireworks.demo 10399 make afireworks.project 10402 cp -a afireworks.demo/src/org afireworks/src 10406 find afireworks/src/ -name .svn -exec rm -rf "{}" \; 10409 rm -rf afireworks/src/com/ 10428 mkdir afireworks/res/drawable 10430 cp afireworks.demo/res/drawable/* afireworks/res/drawable/ 10432 cp afireworks.demo/res/layout/main.xml afireworks/res/layout/ 10433 cp afireworks.demo/res/values/strings.xml afireworks/res/values/ 10440 cp afireworks.demo/AndroidManifest.xml afireworks/ 10441 make afireworks.build (relevant parts of my history file). But then I migrated the project and attempted to run on the iPhone emulator: jcomeau@intrepid:~/rentacoder/marchie$ make afireworks.migrate make[1]: Entering directory `/home/jcomeau/rentacoder/marchie' java -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar --skeleton=android:migrate --out=afireworks [04/06/11 22:37:51.810] WARNING: Using afireworks as application name [04/06/11 22:37:51.829] WARNING: InputProcess.getOutputFiles(): Input File does not exist or is not a file. [04/06/11 22:37:51.862] WARNING: Renaming afireworks//build.xml to afireworks//build.xml.back [04/06/11 22:37:51.876] WARNING: Currently the Android plugin for Netbeans does not support local.properties file and has a bug which prevents the usage of GUI platform customization. It is required to MANUALLY set your platfom under "nbproject/project.properties" by editing property "platform.active" or else Netbeans might crash. make[1]: Leaving directory `/home/jcomeau/rentacoder/marchie' jcomeau@intrepid:~/rentacoder/marchie$ make afireworks.runjava make[1]: Entering directory `/home/jcomeau/rentacoder/marchie' cd afireworks && ant run-Java Buildfile: /home/jcomeau/rentacoder/marchie/afireworks/build.xml [snipped some of output -- jc] -trigger-java-simulator-task: [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: id [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: array [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: dimen [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: raw [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: id [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: array [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: dimen [java] <I> <Resources>: Unable to resolve resources for org.xmlvm.demo.afireworks: raw [java] Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException [java] at org.xmlvm.iphone.NSObject$1.run(NSObject.java:83) [java] at org.xmlvm.iphone.NSObject.performSelector(NSObject.java:90) [java] at org.xmlvm.iphone.NSObject.performSelectorOnMainThread(NSObject.java:40) [java] at android.app.Activity.xmlvmCreate(Activity.java:105) [java] at android.content.Context.startActivityForResult(Context.java:256) [java] at android.content.Context.startActivity(Context.java:260) [java] at android.app.Application.onCreate(Application.java:46) [java] at android.internal.AndroidAppLauncher.applicationDidFinishLaunching(AndroidAppLauncher.java:36) [java] at org.xmlvm.iphone.UIApplication$1.run(UIApplication.java:142) [java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) [java] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642) [java] at java.awt.EventQueue.access$000(EventQueue.java:85) [java] at java.awt.EventQueue$1.run(EventQueue.java:603) [java] at java.awt.EventQueue$1.run(EventQueue.java:601) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:612) [java] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) [java] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) [java] Caused by: java.lang.reflect.InvocationTargetException [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:597) [java] at org.xmlvm.iphone.NSObject$1.run(NSObject.java:77) [java] ... 22 more [java] Caused by: java.lang.IncompatibleClassChangeError: Found class android.view.WindowManager, but interface was expected [java] at org.xmlvm.demo.afireworks.AndroidFireworks.onContentChanged(AndroidFireworks.java:73) [java] at android.app.Activity.create(Activity.java:130) [java] ... 27 more On Wed, Apr 6, 2011 at 6:13 PM, John Comeau <jc...@un...> wrote: > OAuth is for other projects for this same client, I'm not using it for > afireworks. Changed minSdkVersion to 10 as requested, but still fails > on Android emulator. > > On Wed, Apr 6, 2011 at 6:06 PM, Sascha Haeberling <sa...@xm...> wrote: >> Thanks John, from what i can see this looks good. But you adding other JARs >> to the project, like the OAuth library? It could be that something you use >> is not supported by the API. >> To check this, can you increase the mindSdkVersion in the manifest file to >> "10" please? This number represents Android 2.3.3, so it will match your >> emulator version. >> // Sascha > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Sascha H. <sa...@xm...> - 2011-04-07 01:07:14
|
Thanks John, from what i can see this looks good. But you adding other JARs to the project, like the OAuth library? It could be that something you use is not supported by the API. To check this, can you increase the mindSdkVersion in the manifest file to "10" please? This number represents Android 2.3.3, so it will match your emulator version. // Sascha On Thu, Apr 7, 2011 at 2:58 AM, John Comeau <jc...@un...> wrote: > OK, sorry for the misunderstanding. Here is the sanitized Makefile: > http://pastebin.com/AxDDpLdp, hopefully I didn't remove anything vital > for understanding the problem. > > On Wed, Apr 6, 2011 at 5:44 PM, Sascha Haeberling <sa...@xm...> > wrote: > > John, I didn't want you to explain Makefiles to me, I am very well aware > of > > what that is :D > > I wanted you to tell me what your custom Makefile does. Can you please > paste > > the contents? > > > > On Thu, Apr 7, 2011 at 2:43 AM, John Comeau <jc...@un...> wrote: > >> > >> A Makefile is what people used in the days before IDEs, and still use > >> today. It is a precursor of ant, using plain text files rather than > >> XML to specify the build process. I expect Android development will be > >> somewhat difficult without Eclipse, but far from impossible. If people > >> don't know how to build something without Eclipse, then they don't > >> know how to build it. I'd rather know what I'm doing. > >> > >> On Wed, Apr 6, 2011 at 5:33 PM, Sascha Haeberling <sa...@xm...> > >> wrote: > >> > What do you mean by custom makefile? What is this doing? > >> > I have to say, if you hate IDEs, Android development will be > everything > >> > from > >> > hard to impossible. I would highly recommend you to install Eclipse > with > >> > the > >> > Android plugins. > >> > // Sascha > >> > > >> > On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: > >> >> > >> >> Hi Sascha, the AndroidManifest.xml that came with the demo shows a > >> >> versionCode of 3 and a minSdkVersion of 4 (if that means anything; > I'm > >> >> new to Android as well). I built it with a custom Makefile (I hate > >> >> IDEs) using "make afireworks.android", the result of which is to "cd > >> >> afireworks && ant -s build.xml.back install". Just tried it on a > 2.3.3 > >> >> level 10 emulator, same result. > >> >> > >> >> The build.xml.back existed because after the first failure I moved > the > >> >> existing build.xml to /tmp; updated the project using "android update > >> >> project --path afireworks"; and migrated it to xvmlm again using > "java > >> >> -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar > >> >> --skeleton=android:migrate --out=afireworks". Then checked again that > >> >> it ran fine in the iPhone emulator, despite several warnings about > >> >> "Unable to resolve resources" (which seem to occur with every xmlvm > >> >> project). > >> >> > >> >> The main reason I'm attempting this is because I can't seem to get > >> >> anything non-trivial working on both Android and xmlvm, and I'm > hoping > >> >> your demos can help me bridge the gap. > >> >> > >> >> Thanks -- jc > >> >> > >> >> On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> > >> >> wrote: > >> >> > Hi John, > >> >> > how did you compile and install the application? > >> >> > Btw: 1.6 is a really old API. Maybe you compiled it for a new > >> >> > version. > >> >> > Try > >> >> > it with a 2.3 emulator. Google APIs are not needed. > >> >> > // Sascha > >> >> > > >> >> > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> > wrote: > >> >> >> > >> >> >> I'm able to run the afireworks demo fine using "ant run-Java", but > >> >> >> trying to run it on a Google APIs 1.6 emulator using "ant install" > >> >> >> gives an error "rejecting opcode 0x6e at 0x0007": see > >> >> >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to > what > >> >> >> I'm doing wrong? > >> >> >> -- > >> >> >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> >> >> "A place for everything, and everything > >> >> >> all over the place" > >> >> >> > >> >> >> > >> >> >> > >> >> >> > >> >> >> > ------------------------------------------------------------------------------ > >> >> >> Xperia(TM) PLAY > >> >> >> It's a major breakthrough. An authentic gaming > >> >> >> smartphone on the nation's most reliable network. > >> >> >> And it wants your games. > >> >> >> http://p.sf.net/sfu/verizon-sfdev > >> >> >> _______________________________________________ > >> >> >> xmlvm-users mailing list > >> >> >> xml...@li... > >> >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >> >> > > >> >> > > >> >> > >> >> > >> >> > >> >> -- > >> >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> >> "A place for everything, and everything > >> >> all over the place" > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------------------------------ > >> >> Xperia(TM) PLAY > >> >> It's a major breakthrough. An authentic gaming > >> >> smartphone on the nation's most reliable network. > >> >> And it wants your games. > >> >> http://p.sf.net/sfu/verizon-sfdev > >> >> _______________________________________________ > >> >> xmlvm-users mailing list > >> >> xml...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >> > > >> > > >> > >> > >> > >> -- > >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> "A place for everything, and everything > >> all over the place" > > > > > > > > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > |
From: John C. <jc...@un...> - 2011-04-07 00:58:22
|
OK, sorry for the misunderstanding. Here is the sanitized Makefile: http://pastebin.com/AxDDpLdp, hopefully I didn't remove anything vital for understanding the problem. On Wed, Apr 6, 2011 at 5:44 PM, Sascha Haeberling <sa...@xm...> wrote: > John, I didn't want you to explain Makefiles to me, I am very well aware of > what that is :D > I wanted you to tell me what your custom Makefile does. Can you please paste > the contents? > > On Thu, Apr 7, 2011 at 2:43 AM, John Comeau <jc...@un...> wrote: >> >> A Makefile is what people used in the days before IDEs, and still use >> today. It is a precursor of ant, using plain text files rather than >> XML to specify the build process. I expect Android development will be >> somewhat difficult without Eclipse, but far from impossible. If people >> don't know how to build something without Eclipse, then they don't >> know how to build it. I'd rather know what I'm doing. >> >> On Wed, Apr 6, 2011 at 5:33 PM, Sascha Haeberling <sa...@xm...> >> wrote: >> > What do you mean by custom makefile? What is this doing? >> > I have to say, if you hate IDEs, Android development will be everything >> > from >> > hard to impossible. I would highly recommend you to install Eclipse with >> > the >> > Android plugins. >> > // Sascha >> > >> > On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: >> >> >> >> Hi Sascha, the AndroidManifest.xml that came with the demo shows a >> >> versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm >> >> new to Android as well). I built it with a custom Makefile (I hate >> >> IDEs) using "make afireworks.android", the result of which is to "cd >> >> afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 >> >> level 10 emulator, same result. >> >> >> >> The build.xml.back existed because after the first failure I moved the >> >> existing build.xml to /tmp; updated the project using "android update >> >> project --path afireworks"; and migrated it to xvmlm again using "java >> >> -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar >> >> --skeleton=android:migrate --out=afireworks". Then checked again that >> >> it ran fine in the iPhone emulator, despite several warnings about >> >> "Unable to resolve resources" (which seem to occur with every xmlvm >> >> project). >> >> >> >> The main reason I'm attempting this is because I can't seem to get >> >> anything non-trivial working on both Android and xmlvm, and I'm hoping >> >> your demos can help me bridge the gap. >> >> >> >> Thanks -- jc >> >> >> >> On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> >> >> wrote: >> >> > Hi John, >> >> > how did you compile and install the application? >> >> > Btw: 1.6 is a really old API. Maybe you compiled it for a new >> >> > version. >> >> > Try >> >> > it with a 2.3 emulator. Google APIs are not needed. >> >> > // Sascha >> >> > >> >> > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: >> >> >> >> >> >> I'm able to run the afireworks demo fine using "ant run-Java", but >> >> >> trying to run it on a Google APIs 1.6 emulator using "ant install" >> >> >> gives an error "rejecting opcode 0x6e at 0x0007": see >> >> >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what >> >> >> I'm doing wrong? >> >> >> -- >> >> >> John Comeau <jc...@un...> http://jc.unternet.net/ >> >> >> "A place for everything, and everything >> >> >> all over the place" >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> >> Xperia(TM) PLAY >> >> >> It's a major breakthrough. An authentic gaming >> >> >> smartphone on the nation's most reliable network. >> >> >> And it wants your games. >> >> >> http://p.sf.net/sfu/verizon-sfdev >> >> >> _______________________________________________ >> >> >> xmlvm-users mailing list >> >> >> xml...@li... >> >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> John Comeau <jc...@un...> http://jc.unternet.net/ >> >> "A place for everything, and everything >> >> all over the place" >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Xperia(TM) PLAY >> >> It's a major breakthrough. An authentic gaming >> >> smartphone on the nation's most reliable network. >> >> And it wants your games. >> >> http://p.sf.net/sfu/verizon-sfdev >> >> _______________________________________________ >> >> xmlvm-users mailing list >> >> xml...@li... >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > >> > >> >> >> >> -- >> John Comeau <jc...@un...> http://jc.unternet.net/ >> "A place for everything, and everything >> all over the place" > > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Sascha H. <sa...@xm...> - 2011-04-07 00:45:26
|
John, I didn't want you to explain Makefiles to me, I am very well aware of what that is :D I wanted you to tell me what your custom Makefile does. Can you please paste the contents? On Thu, Apr 7, 2011 at 2:43 AM, John Comeau <jc...@un...> wrote: > A Makefile is what people used in the days before IDEs, and still use > today. It is a precursor of ant, using plain text files rather than > XML to specify the build process. I expect Android development will be > somewhat difficult without Eclipse, but far from impossible. If people > don't know how to build something without Eclipse, then they don't > know how to build it. I'd rather know what I'm doing. > > On Wed, Apr 6, 2011 at 5:33 PM, Sascha Haeberling <sa...@xm...> > wrote: > > What do you mean by custom makefile? What is this doing? > > I have to say, if you hate IDEs, Android development will be everything > from > > hard to impossible. I would highly recommend you to install Eclipse with > the > > Android plugins. > > // Sascha > > > > On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: > >> > >> Hi Sascha, the AndroidManifest.xml that came with the demo shows a > >> versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm > >> new to Android as well). I built it with a custom Makefile (I hate > >> IDEs) using "make afireworks.android", the result of which is to "cd > >> afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 > >> level 10 emulator, same result. > >> > >> The build.xml.back existed because after the first failure I moved the > >> existing build.xml to /tmp; updated the project using "android update > >> project --path afireworks"; and migrated it to xvmlm again using "java > >> -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar > >> --skeleton=android:migrate --out=afireworks". Then checked again that > >> it ran fine in the iPhone emulator, despite several warnings about > >> "Unable to resolve resources" (which seem to occur with every xmlvm > >> project). > >> > >> The main reason I'm attempting this is because I can't seem to get > >> anything non-trivial working on both Android and xmlvm, and I'm hoping > >> your demos can help me bridge the gap. > >> > >> Thanks -- jc > >> > >> On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> > >> wrote: > >> > Hi John, > >> > how did you compile and install the application? > >> > Btw: 1.6 is a really old API. Maybe you compiled it for a new version. > >> > Try > >> > it with a 2.3 emulator. Google APIs are not needed. > >> > // Sascha > >> > > >> > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: > >> >> > >> >> I'm able to run the afireworks demo fine using "ant run-Java", but > >> >> trying to run it on a Google APIs 1.6 emulator using "ant install" > >> >> gives an error "rejecting opcode 0x6e at 0x0007": see > >> >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what > >> >> I'm doing wrong? > >> >> -- > >> >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> >> "A place for everything, and everything > >> >> all over the place" > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------------------------------ > >> >> Xperia(TM) PLAY > >> >> It's a major breakthrough. An authentic gaming > >> >> smartphone on the nation's most reliable network. > >> >> And it wants your games. > >> >> http://p.sf.net/sfu/verizon-sfdev > >> >> _______________________________________________ > >> >> xmlvm-users mailing list > >> >> xml...@li... > >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > >> > > >> > > >> > >> > >> > >> -- > >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> "A place for everything, and everything > >> all over the place" > >> > >> > >> > ------------------------------------------------------------------------------ > >> Xperia(TM) PLAY > >> It's a major breakthrough. An authentic gaming > >> smartphone on the nation's most reliable network. > >> And it wants your games. > >> http://p.sf.net/sfu/verizon-sfdev > >> _______________________________________________ > >> xmlvm-users mailing list > >> xml...@li... > >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > > > > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > |
From: John C. <jc...@un...> - 2011-04-07 00:43:29
|
A Makefile is what people used in the days before IDEs, and still use today. It is a precursor of ant, using plain text files rather than XML to specify the build process. I expect Android development will be somewhat difficult without Eclipse, but far from impossible. If people don't know how to build something without Eclipse, then they don't know how to build it. I'd rather know what I'm doing. On Wed, Apr 6, 2011 at 5:33 PM, Sascha Haeberling <sa...@xm...> wrote: > What do you mean by custom makefile? What is this doing? > I have to say, if you hate IDEs, Android development will be everything from > hard to impossible. I would highly recommend you to install Eclipse with the > Android plugins. > // Sascha > > On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: >> >> Hi Sascha, the AndroidManifest.xml that came with the demo shows a >> versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm >> new to Android as well). I built it with a custom Makefile (I hate >> IDEs) using "make afireworks.android", the result of which is to "cd >> afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 >> level 10 emulator, same result. >> >> The build.xml.back existed because after the first failure I moved the >> existing build.xml to /tmp; updated the project using "android update >> project --path afireworks"; and migrated it to xvmlm again using "java >> -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar >> --skeleton=android:migrate --out=afireworks". Then checked again that >> it ran fine in the iPhone emulator, despite several warnings about >> "Unable to resolve resources" (which seem to occur with every xmlvm >> project). >> >> The main reason I'm attempting this is because I can't seem to get >> anything non-trivial working on both Android and xmlvm, and I'm hoping >> your demos can help me bridge the gap. >> >> Thanks -- jc >> >> On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> >> wrote: >> > Hi John, >> > how did you compile and install the application? >> > Btw: 1.6 is a really old API. Maybe you compiled it for a new version. >> > Try >> > it with a 2.3 emulator. Google APIs are not needed. >> > // Sascha >> > >> > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: >> >> >> >> I'm able to run the afireworks demo fine using "ant run-Java", but >> >> trying to run it on a Google APIs 1.6 emulator using "ant install" >> >> gives an error "rejecting opcode 0x6e at 0x0007": see >> >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what >> >> I'm doing wrong? >> >> -- >> >> John Comeau <jc...@un...> http://jc.unternet.net/ >> >> "A place for everything, and everything >> >> all over the place" >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> Xperia(TM) PLAY >> >> It's a major breakthrough. An authentic gaming >> >> smartphone on the nation's most reliable network. >> >> And it wants your games. >> >> http://p.sf.net/sfu/verizon-sfdev >> >> _______________________________________________ >> >> xmlvm-users mailing list >> >> xml...@li... >> >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> > >> > >> >> >> >> -- >> John Comeau <jc...@un...> http://jc.unternet.net/ >> "A place for everything, and everything >> all over the place" >> >> >> ------------------------------------------------------------------------------ >> Xperia(TM) PLAY >> It's a major breakthrough. An authentic gaming >> smartphone on the nation's most reliable network. >> And it wants your games. >> http://p.sf.net/sfu/verizon-sfdev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Sascha H. <sa...@xm...> - 2011-04-07 00:34:07
|
What do you mean by custom makefile? What is this doing? I have to say, if you hate IDEs, Android development will be everything from hard to impossible. I would highly recommend you to install Eclipse with the Android plugins. // Sascha On Thu, Apr 7, 2011 at 2:23 AM, John Comeau <jc...@un...> wrote: > Hi Sascha, the AndroidManifest.xml that came with the demo shows a > versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm > new to Android as well). I built it with a custom Makefile (I hate > IDEs) using "make afireworks.android", the result of which is to "cd > afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 > level 10 emulator, same result. > > The build.xml.back existed because after the first failure I moved the > existing build.xml to /tmp; updated the project using "android update > project --path afireworks"; and migrated it to xvmlm again using "java > -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar > --skeleton=android:migrate --out=afireworks". Then checked again that > it ran fine in the iPhone emulator, despite several warnings about > "Unable to resolve resources" (which seem to occur with every xmlvm > project). > > The main reason I'm attempting this is because I can't seem to get > anything non-trivial working on both Android and xmlvm, and I'm hoping > your demos can help me bridge the gap. > > Thanks -- jc > > On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> > wrote: > > Hi John, > > how did you compile and install the application? > > Btw: 1.6 is a really old API. Maybe you compiled it for a new version. > Try > > it with a 2.3 emulator. Google APIs are not needed. > > // Sascha > > > > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: > >> > >> I'm able to run the afireworks demo fine using "ant run-Java", but > >> trying to run it on a Google APIs 1.6 emulator using "ant install" > >> gives an error "rejecting opcode 0x6e at 0x0007": see > >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what > >> I'm doing wrong? > >> -- > >> John Comeau <jc...@un...> http://jc.unternet.net/ > >> "A place for everything, and everything > >> all over the place" > >> > >> > >> > ------------------------------------------------------------------------------ > >> Xperia(TM) PLAY > >> It's a major breakthrough. An authentic gaming > >> smartphone on the nation's most reliable network. > >> And it wants your games. > >> http://p.sf.net/sfu/verizon-sfdev > >> _______________________________________________ > >> xmlvm-users mailing list > >> xml...@li... > >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > > > > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: John C. <jc...@un...> - 2011-04-07 00:24:00
|
Hi Sascha, the AndroidManifest.xml that came with the demo shows a versionCode of 3 and a minSdkVersion of 4 (if that means anything; I'm new to Android as well). I built it with a custom Makefile (I hate IDEs) using "make afireworks.android", the result of which is to "cd afireworks && ant -s build.xml.back install". Just tried it on a 2.3.3 level 10 emulator, same result. The build.xml.back existed because after the first failure I moved the existing build.xml to /tmp; updated the project using "android update project --path afireworks"; and migrated it to xvmlm again using "java -jar /usr/src/xmlvm/trunk/xmlvm/dist/xmlvm.jar --skeleton=android:migrate --out=afireworks". Then checked again that it ran fine in the iPhone emulator, despite several warnings about "Unable to resolve resources" (which seem to occur with every xmlvm project). The main reason I'm attempting this is because I can't seem to get anything non-trivial working on both Android and xmlvm, and I'm hoping your demos can help me bridge the gap. Thanks -- jc On Wed, Apr 6, 2011 at 5:00 PM, Sascha Haeberling <sa...@xm...> wrote: > Hi John, > how did you compile and install the application? > Btw: 1.6 is a really old API. Maybe you compiled it for a new version. Try > it with a 2.3 emulator. Google APIs are not needed. > // Sascha > > On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: >> >> I'm able to run the afireworks demo fine using "ant run-Java", but >> trying to run it on a Google APIs 1.6 emulator using "ant install" >> gives an error "rejecting opcode 0x6e at 0x0007": see >> http://pastebin.com/EptG0Zid for logcat output. Any clue as to what >> I'm doing wrong? >> -- >> John Comeau <jc...@un...> http://jc.unternet.net/ >> "A place for everything, and everything >> all over the place" >> >> >> ------------------------------------------------------------------------------ >> Xperia(TM) PLAY >> It's a major breakthrough. An authentic gaming >> smartphone on the nation's most reliable network. >> And it wants your games. >> http://p.sf.net/sfu/verizon-sfdev >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Sascha H. <sa...@xm...> - 2011-04-07 00:01:19
|
Hi John, how did you compile and install the application? Btw: 1.6 is a really old API. Maybe you compiled it for a new version. Try it with a 2.3 emulator. Google APIs are not needed. // Sascha On Thu, Apr 7, 2011 at 1:58 AM, John Comeau <jc...@un...> wrote: > I'm able to run the afireworks demo fine using "ant run-Java", but > trying to run it on a Google APIs 1.6 emulator using "ant install" > gives an error "rejecting opcode 0x6e at 0x0007": see > http://pastebin.com/EptG0Zid for logcat output. Any clue as to what > I'm doing wrong? > -- > John Comeau <jc...@un...> http://jc.unternet.net/ > "A place for everything, and everything > all over the place" > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: John C. <jc...@un...> - 2011-04-06 23:58:19
|
I'm able to run the afireworks demo fine using "ant run-Java", but trying to run it on a Google APIs 1.6 emulator using "ant install" gives an error "rejecting opcode 0x6e at 0x0007": see http://pastebin.com/EptG0Zid for logcat output. Any clue as to what I'm doing wrong? -- John Comeau <jc...@un...> http://jc.unternet.net/ "A place for everything, and everything all over the place" |
From: Panayotis K. <pan...@pa...> - 2011-04-04 15:29:17
|
On 04 Απρ 2011, at 2:25 π.μ., Sascha Haeberling wrote: > If this works, you should be also able to do this with double (replace .f with .d and truncf with tunc). No, it doesn't work, I get this exception when parsing ERROR: XsltRunner: Could not create transformer for xmlvm2objc.xsl: Failed to compile stylesheet. 1 error detected. 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.proc.XsltRunner.runXSLT(XsltRunner.java:87) at org.xmlvm.proc.out.ObjectiveCOutputProcess.genObjC(ObjectiveCOutputProcess.java:100) at org.xmlvm.proc.out.ObjectiveCOutputProcess.process(ObjectiveCOutputProcess.java:59) at org.xmlvm.proc.XmlvmProcessImpl.preprocess(XmlvmProcessImpl.java:212) at org.xmlvm.proc.out.IPhoneOutputProcess.process(IPhoneOutputProcess.java:65) at org.xmlvm.proc.XmlvmProcessor.process(XmlvmProcessor.java:139) at org.xmlvm.Main.main(Main.java:54) ... 6 more /Users/teras/Works/Development/Mobile/Active/EggWars/nbproject/xcode.xml:179: The following error occurred while executing this line: /Users/teras/Works/Development/Mobile/Active/EggWars/nbproject/xcode.xml:99: Java returned: 1 |
From: Erez D <ere...@gm...> - 2011-04-04 07:47:51
|
If I want to cross compile an android app to run on a gnu/linux system (without java) using gtk or qt, what is the best option i have ? On Sun, Apr 3, 2011 at 8:37 PM, Arno Puder <ar...@pu...> wrote: > > the Python backend was more a proof-of-concept that was done a long time > ago. It is not under active development currently. There is a little > feature matrix at: > http://xmlvm.org/documentation/ > > You can see the matured-ness of the various backends. > > Arno > > > On 4/3/11 4:36 AM, Erez D wrote: > > I'm trying to compile xokoban to python via xmlvm (svn trunc r1601) > > > > ant > > ant demos > > alias xmlvm='java -jar some/path/xmlvm.jar' > > xmlvm --in=Ball.class --out=/tmp/xokoban --target=python > > python Ball.py > > > > I get the following: > > erez@black:/tmp/xokoban$ python Ball.py > > Traceback (most recent call last): > > File "Ball.py", line 192, in <module> > > class > > org_xmlvm_demo_xokoban_Ball(org_xmlvm_demo_xokoban_MovableGamePiece): > > NameError: name 'org_xmlvm_demo_xokoban_MovableGamePiece' is not defined > > > > ( i get the same error using branch vtable) > > > > under branch wp7, i fail in 'ant demos' > > > > in branch 2phase2 i get: > > erez@black:/tmp/xokoban$ python Ball.py > > File "Ball.py", line 196 > > __locals = range() > > ^ > > IndentationError: expected an indented block > > > > > > > > > ------------------------------------------------------------------------------ > > Create and publish websites with WebMatrix > > Use the most popular FREE web apps or write code yourself; > > WebMatrix provides all the features you need to develop and > > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > > > > > _______________________________________________ > > xmlvm-users mailing list > > xml...@li... > > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Sascha H. <sa...@xm...> - 2011-04-03 23:25:52
|
If this works, you should be also able to do this with double (replace .f with .d and truncf with tunc). On Mon, Apr 4, 2011 at 1:17 AM, Panayotis Katsaloulis < pan...@pa...> wrote: > > On Apr 4, 2011, at 2:02 AM, Arno Puder wrote: > > > > > actually, > > > > result == a - truncf(a / b) * b. > > > > <xsl:template match="dex:rem-float|dex:rem-float-2addr"> > > <xsl:text> _r</xsl:text> > > <xsl:value-of select="@vx"/> > > <xsl:text>.f = _r</xsl:text> > > <xsl:value-of select="@vy"/> > > <xsl:text>.f - truncf(_r</xsl:text> > > <xsl:value-of select="@vy"/> > > <xsl:text>.f / _r</xsl:text> > > <xsl:value-of select="@vz"/> > > <xsl:text>.f) * _r</xsl:text> > > <xsl:value-of select="@vz"/> > > <xsl:text>.f;&nl;</xsl:text> > > </xsl:template> > > > > Panayotis: can you please add this to the ObjC stylesheet and I will do > > this for the C stylesheet (I have some other uncommitted changes so it > > is not convenient for me to commit). > > > > Arno > > > No problem > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Panayotis K. <pan...@pa...> - 2011-04-03 23:17:50
|
On Apr 4, 2011, at 2:02 AM, Arno Puder wrote: > > actually, > > result == a - truncf(a / b) * b. > > <xsl:template match="dex:rem-float|dex:rem-float-2addr"> > <xsl:text> _r</xsl:text> > <xsl:value-of select="@vx"/> > <xsl:text>.f = _r</xsl:text> > <xsl:value-of select="@vy"/> > <xsl:text>.f - truncf(_r</xsl:text> > <xsl:value-of select="@vy"/> > <xsl:text>.f / _r</xsl:text> > <xsl:value-of select="@vz"/> > <xsl:text>.f) * _r</xsl:text> > <xsl:value-of select="@vz"/> > <xsl:text>.f;&nl;</xsl:text> > </xsl:template> > > Panayotis: can you please add this to the ObjC stylesheet and I will do > this for the C stylesheet (I have some other uncommitted changes so it > is not convenient for me to commit). > > Arno No problem |
From: Arno P. <ar...@pu...> - 2011-04-03 23:02:53
|
actually, result == a - truncf(a / b) * b. <xsl:template match="dex:rem-float|dex:rem-float-2addr"> <xsl:text> _r</xsl:text> <xsl:value-of select="@vx"/> <xsl:text>.f = _r</xsl:text> <xsl:value-of select="@vy"/> <xsl:text>.f - truncf(_r</xsl:text> <xsl:value-of select="@vy"/> <xsl:text>.f / _r</xsl:text> <xsl:value-of select="@vz"/> <xsl:text>.f) * _r</xsl:text> <xsl:value-of select="@vz"/> <xsl:text>.f;&nl;</xsl:text> </xsl:template> Panayotis: can you please add this to the ObjC stylesheet and I will do this for the C stylesheet (I have some other uncommitted changes so it is not convenient for me to commit). Arno On 4/3/11 3:49 PM, Sascha Haeberling wrote: > My guess is something like this: > > <xsl:template match="dex:rem-float|dex:rem-float-2addr"> > <xsl:text> _r</xsl:text> > <xsl:value-of select="@vx"/> > <xsl:text>.f = _r</xsl:text> > <xsl:value-of select="@vy"/> > <xsl:text>.f % _r</xsl:text> > <xsl:value-of select="@vz"/> > <xsl:text>.f; > </xsl:text> > </xsl:template> > > Although I am a bit puzzled that we implemented these 2addr instructions > like this so far, as they should only have two registers. Will double check. > > // Sascha > > On Mon, Apr 4, 2011 at 12:40 AM, Panayotis Katsaloulis > <pan...@pa... <mailto:pan...@pa...>> wrote: > > Hello all > > I was using some float->byte conversion and I got this exception: > 'XMLVM missing byte code instruction', reason: 'dex:rem-float-2addr' > > How can this be mplemented? > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlvm-users mailing list > xml...@li... > <mailto:xml...@li...> > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Sascha H. <sa...@xm...> - 2011-04-03 22:49:43
|
My guess is something like this: <xsl:template match="dex:rem-float|dex:rem-float-2addr"> <xsl:text> _r</xsl:text> <xsl:value-of select="@vx"/> <xsl:text>.f = _r</xsl:text> <xsl:value-of select="@vy"/> <xsl:text>.f % _r</xsl:text> <xsl:value-of select="@vz"/> <xsl:text>.f; </xsl:text> </xsl:template> Although I am a bit puzzled that we implemented these 2addr instructions like this so far, as they should only have two registers. Will double check. // Sascha On Mon, Apr 4, 2011 at 12:40 AM, Panayotis Katsaloulis < pan...@pa...> wrote: > Hello all > > I was using some float->byte conversion and I got this exception: > 'XMLVM missing byte code instruction', reason: 'dex:rem-float-2addr' > > How can this be mplemented? > > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > |
From: Arno P. <ar...@pu...> - 2011-04-03 22:47:54
|
documentation for DEX instructions can be found here: http://www.netmite.com/android/mydroid/dalvik/docs/dalvik-bytecode.html "Floating point remainder after division. This function is different than IEEE 754 remainder and is defined as result == a - roundTowardZero(a / b) * b" On 4/3/11 3:40 PM, Panayotis Katsaloulis wrote: > Hello all > > I was using some float->byte conversion and I got this exception: > 'XMLVM missing byte code instruction', reason: 'dex:rem-float-2addr' > > How can this be mplemented? > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Panayotis K. <pan...@pa...> - 2011-04-03 22:40:47
|
Hello all I was using some float->byte conversion and I got this exception: 'XMLVM missing byte code instruction', reason: 'dex:rem-float-2addr' How can this be mplemented? |
From: Arno P. <ar...@pu...> - 2011-04-03 20:43:39
|
that code sits in a private repository and I never got around to integrate it with the main XMLVM repository. If you are interested, I can send you what I have. I would also consider it more "proof-of-concept". However, I was able to cross-compile iFireworks. Arno On 4/3/11 12:12 PM, Mario Heidenreich wrote: > Talking about proof-of-concepts... i saw a slide that promised Ruby > (YARV) support, but i couldn't find any documentation or code related to > this. > Is there already a working version or future plans about this? > > Cheers, > Mario > > On 04/03/11 19:37, Arno Puder wrote: >> the Python backend was more a proof-of-concept that was done a long time >> ago. It is not under active development currently. There is a little >> feature matrix at: >> http://xmlvm.org/documentation/ >> >> You can see the matured-ness of the various backends. >> >> Arno >> >> >> On 4/3/11 4:36 AM, Erez D wrote: >>> I'm trying to compile xokoban to python via xmlvm (svn trunc r1601) >>> >>> ant >>> ant demos >>> alias xmlvm='java -jar some/path/xmlvm.jar' >>> xmlvm --in=Ball.class --out=/tmp/xokoban --target=python >>> python Ball.py >>> >>> I get the following: >>> erez@black:/tmp/xokoban$ python Ball.py >>> Traceback (most recent call last): >>> File "Ball.py", line 192, in<module> >>> class >>> org_xmlvm_demo_xokoban_Ball(org_xmlvm_demo_xokoban_MovableGamePiece): >>> NameError: name 'org_xmlvm_demo_xokoban_MovableGamePiece' is not defined >>> >>> ( i get the same error using branch vtable) >>> >>> under branch wp7, i fail in 'ant demos' >>> >>> in branch 2phase2 i get: >>> erez@black:/tmp/xokoban$ python Ball.py >>> File "Ball.py", line 196 >>> __locals = range() >>> ^ >>> IndentationError: expected an indented block >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Create and publish websites with WebMatrix >>> Use the most popular FREE web apps or write code yourself; >>> WebMatrix provides all the features you need to develop and >>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>> >>> >>> >>> _______________________________________________ >>> xmlvm-users mailing list >>> xml...@li... >>> https://lists.sourceforge.net/lists/listinfo/xmlvm-users >> ------------------------------------------------------------------------------ >> Create and publish websites with WebMatrix >> Use the most popular FREE web apps or write code yourself; >> WebMatrix provides all the features you need to develop and >> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Mario H. <ma...@de...> - 2011-04-03 19:27:21
|
Talking about proof-of-concepts... i saw a slide that promised Ruby (YARV) support, but i couldn't find any documentation or code related to this. Is there already a working version or future plans about this? Cheers, Mario On 04/03/11 19:37, Arno Puder wrote: > the Python backend was more a proof-of-concept that was done a long time > ago. It is not under active development currently. There is a little > feature matrix at: > http://xmlvm.org/documentation/ > > You can see the matured-ness of the various backends. > > Arno > > > On 4/3/11 4:36 AM, Erez D wrote: >> I'm trying to compile xokoban to python via xmlvm (svn trunc r1601) >> >> ant >> ant demos >> alias xmlvm='java -jar some/path/xmlvm.jar' >> xmlvm --in=Ball.class --out=/tmp/xokoban --target=python >> python Ball.py >> >> I get the following: >> erez@black:/tmp/xokoban$ python Ball.py >> Traceback (most recent call last): >> File "Ball.py", line 192, in<module> >> class >> org_xmlvm_demo_xokoban_Ball(org_xmlvm_demo_xokoban_MovableGamePiece): >> NameError: name 'org_xmlvm_demo_xokoban_MovableGamePiece' is not defined >> >> ( i get the same error using branch vtable) >> >> under branch wp7, i fail in 'ant demos' >> >> in branch 2phase2 i get: >> erez@black:/tmp/xokoban$ python Ball.py >> File "Ball.py", line 196 >> __locals = range() >> ^ >> IndentationError: expected an indented block >> >> >> >> ------------------------------------------------------------------------------ >> Create and publish websites with WebMatrix >> Use the most popular FREE web apps or write code yourself; >> WebMatrix provides all the features you need to develop and >> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >> >> >> >> _______________________________________________ >> xmlvm-users mailing list >> xml...@li... >> https://lists.sourceforge.net/lists/listinfo/xmlvm-users > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Arno P. <ar...@pu...> - 2011-04-03 17:38:09
|
the Python backend was more a proof-of-concept that was done a long time ago. It is not under active development currently. There is a little feature matrix at: http://xmlvm.org/documentation/ You can see the matured-ness of the various backends. Arno On 4/3/11 4:36 AM, Erez D wrote: > I'm trying to compile xokoban to python via xmlvm (svn trunc r1601) > > ant > ant demos > alias xmlvm='java -jar some/path/xmlvm.jar' > xmlvm --in=Ball.class --out=/tmp/xokoban --target=python > python Ball.py > > I get the following: > erez@black:/tmp/xokoban$ python Ball.py > Traceback (most recent call last): > File "Ball.py", line 192, in <module> > class > org_xmlvm_demo_xokoban_Ball(org_xmlvm_demo_xokoban_MovableGamePiece): > NameError: name 'org_xmlvm_demo_xokoban_MovableGamePiece' is not defined > > ( i get the same error using branch vtable) > > under branch wp7, i fail in 'ant demos' > > in branch 2phase2 i get: > erez@black:/tmp/xokoban$ python Ball.py > File "Ball.py", line 196 > __locals = range() > ^ > IndentationError: expected an indented block > > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users |
From: Markus N. <mar...@gm...> - 2011-04-03 15:38:08
|
Hi Peter, I am one of the guys working on the wp7 branch, which is also a university project. The wp7 branch isn't stable enough by now but at some point in the future it will be merged with the trunk. @Generics: Generics were introduced in Java 1.5 and to be backwards compatible they're only checked at compile time and are not part of the byte code. xmlvm uses the byte code as a base and can therefore not detect generics. @Correct parameter names: I am not sure if this can be done by a patch. xmlvm uses the dx.jar to retrieve information about the bytecode structure of the class you are cross-compiling. The CstMethodRef class in there doesn't seem to provide a mechanism to get parameter names. However I am not sure if that means it can't be done as non-dex decompiler like jad seem to be able to retrieve parameter names. @C# enums: For a variety of different issues (instance of tests, ...) we need to rebuild the Java enum class (respectively cross-compile it from Apache Harmony which is what we're working on right now). However you can create a patch for yourself changing xmlvm2charp.xsl to do what you want. Regards, Markus On Sun, Apr 3, 2011 at 7:37 AM, Peter Grman <pet...@gr...> wrote: > Hi, > > > > I started a bachelor project where one of the tasks is to compile java > interfaces or value-object classes to c#. > > I found that XMLVM does the job pretty good but there are some more > features I’m missing and I’m not sure if they are provided or under > development or if I have to implement them by myself. In this case I would > be of course happy to share them afterwards with you. > > > > First, I found out, that only the wp7 branch has an option to create c# > code from .xmlvm files, is this still correct and why is this feature > missing in the XMLVM-trunk? > > > > And here the features I’m missing: > > · Support for generics > > · Using the correct names of the parameters > > · Generating c# enums instead of trying to rebuild the java enum > class, but this should be rather easy by just changing the xmlvm2csharp.xsl > > > > Thanks for your answers > > Cheers > > Peter > > > > Ps: if I would implement one or even all features by myself, what do I have > to do, to merge them into the repository??? > > > ------------------------------------------------------------------------------ > Create and publish websites with WebMatrix > Use the most popular FREE web apps or write code yourself; > WebMatrix provides all the features you need to develop and > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf > > _______________________________________________ > xmlvm-users mailing list > xml...@li... > https://lists.sourceforge.net/lists/listinfo/xmlvm-users > > |
From: Peter G. <pet...@gr...> - 2011-04-03 14:37:23
|
Hi, I started a bachelor project where one of the tasks is to compile java interfaces or value-object classes to c#. I found that XMLVM does the job pretty good but there are some more features I'm missing and I'm not sure if they are provided or under development or if I have to implement them by myself. In this case I would be of course happy to share them afterwards with you. First, I found out, that only the wp7 branch has an option to create c# code from .xmlvm files, is this still correct and why is this feature missing in the XMLVM-trunk? And here the features I'm missing: * Support for generics * Using the correct names of the parameters * Generating c# enums instead of trying to rebuild the java enum class, but this should be rather easy by just changing the xmlvm2csharp.xsl Thanks for your answers Cheers Peter Ps: if I would implement one or even all features by myself, what do I have to do, to merge them into the repository??? |