Skip to content

Instantly share code, notes, and snippets.

@Kosmas
Created November 14, 2012 11:19
Show Gist options
  • Save Kosmas/4071610 to your computer and use it in GitHub Desktop.
Save Kosmas/4071610 to your computer and use it in GitHub Desktop.
ruboto build with 1.7.0
vagrant@precise64:~/Prog/android_data/projects/test$ ruby -v
jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on OpenJDK 64-Bit Server VM 1.7.0_09-b30 [linux-amd64]
vagrant@precise64:~/Prog/android_data/projects/test$ gem list
*** LOCAL GEMS ***
arrayfields (4.7.4)
bouncy-castle-java (1.5.0146.1)
bundler (1.2.1)
chronic (0.6.7)
fattr (2.2.1)
jruby-jars (1.7.0)
jruby-launcher (1.0.15 java)
jruby-openssl (0.7.7)
main (4.8.1)
map (5.1.0)
rake (10.0.0)
ruboto (0.9.0)
rubygems-bundler (1.1.0)
rvm (1.11.3.5)
vagrant@precise64:~/Prog/android_data/projects/test$ rake
/home/vagrant/Prog/android_data/projects/test/libs/jruby-stdlib-1.7.0.jar changed.
/home/vagrant/Prog/android_data/projects/test/libs/jruby-core-1.7.0.jar changed.
/home/vagrant/Prog/android_data/projects/test/src/bookings.rb changed.
Forcing rebuild of /home/vagrant/Prog/android_data/projects/test/bin/Test-debug.apk.
ant debug
Buildfile: /home/vagrant/Prog/android_data/projects/test/build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 20.0.3
[checkenv] Installed at /home/vagrant/Downloads/android-sdk-linux
-setup:
[echo] Project Name: Test
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-build-setup:
[echo] Resolving Build Target for Test...
[gettarget] Project Target: Android 2.2
[gettarget] API level: 8
[echo] ----------
[echo] Creating output directories if needed...
[echo] ----------
[echo] Resolving Dependencies for Test...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-pre-build:
-code-gen:
[mergemanifest] No changes in the AndroidManifest files.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] No changed resources. R.java and Manifest.java untouched.
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] No need to generate new BuildConfig.
-pre-compile:
-compile:
-post-compile:
-obfuscate:
-dex:
[dex] Found new input file
[dex] Converting compiled files and external libraries into /home/vagrant/Prog/android_data/projects/test/bin/classes.dex...
BUILD FAILED
/home/vagrant/Downloads/android-sdk-linux/tools/ant/build.xml:850: The following error occurred while executing this line:
/home/vagrant/Downloads/android-sdk-linux/tools/ant/build.xml:852: The following error occurred while executing this line:
/home/vagrant/Downloads/android-sdk-linux/tools/ant/build.xml:864: The following error occurred while executing this line:
/home/vagrant/Downloads/android-sdk-linux/tools/ant/build.xml:266: null returned: 137
Total time: 4 minutes 44 seconds
rake aborted!
Command failed with status (1): [ant debug...]
org/jruby/RubyProc.java:249:in `call'
/home/vagrant/Prog/android_data/projects/test/rakelib/ruboto.rake:403:in `build_apk'
/home/vagrant/Prog/android_data/projects/test/rakelib/ruboto.rake:161:in `(root)'
org/jruby/RubyProc.java:249:in `call'
org/jruby/RubyArray.java:1612:in `each'
org/jruby/RubyArray.java:1612:in `each'
org/jruby/RubyArray.java:1612:in `each'
org/jruby/RubyArray.java:1612:in `each'
org/jruby/RubyKernel.java:1045:in `load'
org/jruby/RubyKernel.java:1065:in `eval'
/home/vagrant/.rvm/gems/jruby-1.7.0/bin/ruby_noexec_wrapper:14:in `(root)'
Tasks: TOP => default => debug => /home/vagrant/Prog/android_data/projects/test/bin/Sharoo1-debug.apk
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment