Skip to content
This repository

Failed at 'rake jar' #14

Closed
kttran opened this Issue March 21, 2013 · 9 comments

2 participants

kttran Uwe Kubosch
kttran

I pulled out the latest code as of today.

rake jar
rake abort!
cannot load such file -- lib/sqldroid/version
/home/kiet/SQLDroid/Rakefile:2:in <top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin/ruby_noexec_wrapper:14:in
eval'
/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin/ruby_noexec_wrapper:14:in `'
(See full trace by running task with --trace)

Uwe Kubosch
Owner
donv commented March 21, 2013

Hmm, weird. I'll take a look.

Uwe Kubosch
Owner
donv commented March 21, 2013

I do get the same error using MRI 1.9.3.

Uwe Kubosch
Owner
donv commented March 21, 2013

MRI 1.8.7 and JRuby work fine.

Uwe Kubosch
Owner
donv commented March 21, 2013

Just committed a fix for this. Could you try master now?

kttran

I did a 'git pull' and retry the command 'rake jar'

The version problem is fixed. Thank you. However, my rake has moved further to something else:
it is looking like the rake is looking for a missing '-sourcepath src src////.java'. My ruby interpreter is not happy at 'eval' and ''. Also, line 24 of the rake file is missing something.
Thank you for your help.

The log is as in the below:

kiet@ubuntu-vm:~/SQLDroid$ rake jar
javac -source 1.6 -target 1.6 -bootclasspath ./platforms/android-10/android.jar -d bin -sourcepath src src///*.java
Fatal Error: Unable to find package java.lang in classpath or bootclasspath
rake aborted!
Command failed with status (3): [javac -source 1.6 -target 1.6 -bootclasspa...]
/home/kiet/SQLDroid/Rakefile:24:in block in <top (required)>'
/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin/ruby_noexec_wrapper:14:in
eval'
/usr/local/rvm/gems/ruby-1.9.3-p392@global/bin/ruby_noexec_wrapper:14:in `'
Tasks: TOP => jar => /home/kiet/SQLDroid/pkg/sqldroid-1.0.0.RC9.jar
(See full trace by running task with --trace)

Uwe Kubosch
Owner
donv commented March 21, 2013

Is your Android SDK in PATH? We are looking for the "dx" command and calculate the Android SDK home from this.

kttran

Ah. This is outside of Eclipse so I need to supply the path. Thank you.

Uwe Kubosch
Owner
donv commented March 22, 2013

Is it working now?

Uwe Kubosch donv referenced this issue from a commit March 24, 2013
Uwe Kubosch * Bumped version to 1.0.0.RC10
* Issue #14 Failed at 'rake jar'
* Issue #15 RC9: NPE in SQLDroidConnection.finalize on Android 2.3.7
c51103c
Uwe Kubosch
Owner
donv commented March 24, 2013

Hoping this is fixed now. Please try, and reopen if the problem persists.

Uwe Kubosch donv closed this March 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.