Failed at 'rake jar' #14

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

Projects

None yet

2 participants

@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)

@donv donv was assigned Mar 21, 2013
@donv
SQLDroid member

Hmm, weird. I'll take a look.

@donv
SQLDroid member

I do get the same error using MRI 1.9.3.

@donv
SQLDroid member

MRI 1.8.7 and JRuby work fine.

@donv
SQLDroid member

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)

@donv
SQLDroid member

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.

@donv
SQLDroid member

Is it working now?

@donv donv added a commit that referenced this issue Mar 24, 2013
@donv donv * 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
@donv
SQLDroid member

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

@donv donv closed this Mar 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment