Closed artagnon closed 11 years ago
Do you have the android-7 target installed w/ your android sdk?
Do you mean Android 2.1 (API 7)? Isn't that super-old?
currently, that's the default (https://github.com/mirah/pindah/blob/master/lib/pindah_cli.rb#L5).
You can override it by editing the generated Rakefile
Thanks. I've sent a pull request changing this to 4.2.
Actually, pindah doesn't work with 4.2, although it seems to work with 2.1.
Are you running off of Pindah master? We're overdue to release a new gem. Chances are high that many of these issues are resolved already. On Feb 6, 2013 5:42 AM, "Ramkumar Ramachandra" notifications@github.com wrote:
Actually, pindah doesn't work with 4.2, although it seems to work with 2.1.
— Reply to this email directly or view it on GitHubhttps://github.com/mirah/pindah/issues/34#issuecomment-13182214.
Yes, I am running off pindah master, but it seems to have tons of issues. With the gem, even rake -T
doesn't work. See #37 for more.
Also noticed you're on the latest jruby. I've only been able to make things work with 1.6.8; the 1.7 line fails generally. And I have a recollection that Java 7 won't work. If changing those things fixes your build, there definitely needs to be issues open for them. On Feb 6, 2013 5:53 AM, "Ramkumar Ramachandra" notifications@github.com wrote:
Yes, I am running off pindah master, but it seems to have tons of issues. With the gem, even rake -T doesn't work.
— Reply to this email directly or view it on GitHubhttps://github.com/mirah/pindah/issues/34#issuecomment-13182567.
Other projects usually depend on newer versions of software than what I have present, while pindah seems to be obsessed with depending on stinking old software (especially API 2.1!). By the way, it doesn't work with the mirah master either.
Nope, doesn't wok with 1.6.8 (see #39).
Other projects usually depend on newer versions of software than what I have present, while pindah seems to be obsessed with depending on stinking old software (especially API 2.1!).
That's just an outdated default. Most people set an actual target in their Rakefile.
By the way, it doesn't work with the mirah master either.
No, it doesn't. I believe the ant classes are missing when that gets built, and it requires (I think) Java 7.
I'll try out jruby 1.6.8, but asking for Java <7 is outrageous.
Well, remember that Android's Dalvik isn't Java 7. Mirah is rather bleeding edge, and while the latest versions do work with Java 7, I've consistently had trouble with the bytecode they produce on Android. So there are bugs to be fixed in the latest Mirah compiler to make things work.
— Reply to this email directly or view it on GitHubhttps://github.com/mirah/pindah/issues/34#issuecomment-13183000.
Mirah master has a number of changes for 1.7 support, which might have broken a few things for 1.6.8
On Wed, Feb 6, 2013 at 7:21 AM, Brendan Ribera notifications@github.comwrote:
Other projects usually depend on newer versions of software than what I have present, while pindah seems to be obsessed with depending on stinking old software (especially API 2.1!).
That's just an outdated default. Most people set an actual target in their Rakefile.
By the way, it doesn't work with the mirah master either.
No, it doesn't. I believe the ant classes are missing when that gets built, and it requires (I think) Java 7.
I'll try out jruby 1.6.8, but asking for Java <7 is outrageous.
Well, remember that Android's Dalvik isn't Java 7. Mirah is rather bleeding edge, and while the latest versions do work with Java 7, I've consistently had trouble with the bytecode they produce on Android. So there are bugs to be fixed in the latest Mirah compiler to make things work.
— Reply to this email directly or view it on GitHub< https://github.com/mirah/pindah/issues/34#issuecomment-13183000>.
— Reply to this email directly or view it on GitHubhttps://github.com/mirah/pindah/issues/34#issuecomment-13183762.
-Nick Howard http://blog.baroquebobcat.com/
@baroquebobcat How do you suggest using mirah master? Pointing bundler at the git path doesn't work, and I'm afraid mirah/mirah#194 is still breaking Pindah for the pre gem.
The other big issue for Pindah is #40 -- building through the ant compile task with Java 7 doesn't play nicely with Dalvik. Am I correct in thinking that mirah master requires Java 7?
Mirah master doesn't require java 7. there might be some funniness with default target jdk if you are running 7 yourself though.
Good to know. Pindah is explicitly setting 1.6 as a target, but this generates bad opcodes when run through Java 7.
On Wed, Feb 6, 2013 at 9:50 AM, Nick Howard notifications@github.comwrote:
Mirah master doesn't require java 7. there might be some funniness with default target jdk if you are running 7 yourself though.
— Reply to this email directly or view it on GitHubhttps://github.com/mirah/pindah/issues/34#issuecomment-13195240.
Using pindah-git here. Tried:
And I get: