Build trouble

12 views
Skip to first unread message

jeffb

unread,
Nov 14, 2009, 5:22:54 PM11/14/09
to rhomobile
I'm trying to build a BB application for the first time. Below are the
error messages I'm getting. Any pointers?

BB JDE 4.6.1, java 1.6.0_17, windows xp 32 bit

Thanks,
jeff


C:\Documents and Settings\anthias\Desktop\rho>rake run:bb --trace
(in C:/Documents and Settings/anthias/Desktop/rho)
cd c:/ruby/lib/ruby/gems/1.8/gems/rhodes-1.2.2
** Invoke run:bb (first_time)
** Invoke run:bb:stopmdsandsim (first_time)
** Invoke config:bb (first_time)
** Invoke config:common (first_time)
** Execute config:common
** Execute config:bb
** Execute run:bb:stopmdsandsim
PWD:c:/ruby/lib/ruby/gems/1.8/gems/rhodes-1.2.2
CMD:"C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/
simulator/fledgeco
ntroller.exe"
ARGS: /session=9000 /execute=Exit(true)
cd C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/mds
PWD:C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/mds
CMD:cmd.exe
ARGS: /c shutdown.bat
cd c:/ruby/lib/ruby/gems/1.8/gems/rhodes-1.2.2
** Invoke package:bb:dev (first_time)
** Invoke package:bb:rubyvm (first_time)
** Invoke build:bb:rubyvm (first_time)
** Invoke config:bb
** Execute build:bb:rubyvm
PWD:c:/ruby/lib/ruby/gems/1.8/gems/rhodes-1.2.2
CMD:C:/Program Files/Java/jdk1.6.0_17/bin/javac.exe
ARGS: -g -d "C:/Documents and Settings/anthias/Desktop/rho/bin/tmp/
RubyVM" -boot
classpath "C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/
lib/net_rim_
api.jar" -source 1.3 -target 1.3 -nowarn @platform/bb/build/
RubyVM_build.files

PWD:c:/ruby/lib/ruby/gems/1.8/gems/rhodes-1.2.2
CMD:C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/bin/
preverify.exe
ARGS: -classpath "C:/Program Files/Research In Motion/BlackBerry JDE
4.6.1/lib/n
et_rim_api.jar" -d C:/Documents and Settings/anthias/Desktop/rho/bin/
tmp/RubyVM.
preverify "C:/Documents and Settings/anthias/Desktop/rho/bin/tmp/
RubyVM"
Error loading class and
Error loading class
Settings.anthias.Desktop.rho.bin.tmp.RubyVM.preverify

Error preverifying

C:\Documents and Settings\anthias\Desktop\rho>There is no Fledge
instance runnin
g with session name "9000".

C:\Documents and Settings\anthias\Desktop\rho>

Brian Moore

unread,
Nov 16, 2009, 1:44:41 PM11/16/09
to rhom...@googlegroups.com
Currently it doesn't work when you have spaces in the path to your
application.

Brian

jt2

unread,
Nov 16, 2009, 2:37:27 PM11/16/09
to rhomobile
I still get the problem: There is no Fledge instance running with
session name "9000". even though I changed
my path so that it didn't have spaces: C:\testfolder. It ends by
saying: Error creating Rhobundle.jar.

Brian Moore

unread,
Nov 16, 2009, 4:29:06 PM11/16/09
to rhom...@googlegroups.com
Try doing a clean first, rake clean:bb, then try building again. If
building fails again, send me full log by executing rake the following
way: rake run:bb > out.txt 2>&1

Brian

rk

unread,
Dec 4, 2009, 5:19:55 AM12/4/09
to rhomobile
Hello Brian

I have similar problem. I am using BB 8900 simulator on windows. Looks
like rake is looking for 9000?

Thanks
Rajat

Here are my rake steps

D:\workarea\myapp>rake clean:bb
(in D:/workarea/myapp)
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-1.2.2
rm -rf D:/workarea/myapp/bin/target/4.6/../
rm -rf D:/workarea/myapp/bin/tmp
rm -rf D:/workarea/myapp/bin
rm -rf D:/workarea/myapp/RhoBundle

D:\workarea\myapp>rake run:bb > out.txt 2>&1


This is what I see in the out.txt file
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-1.2.2
(in D:/workarea/myapp)
PWD:C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-1.2.2
CMD:"D:/apps/Research In Motion/BlackBerry JDE 4.6.1/simulator/
fledgecontroller.exe"
ARGS: /session=9000 /execute=Exit(true)
cd
rake aborted!
Invalid argument -

(See full trace by running task with --trace)
There is no Fledge instance running with session name "9000".

evgeny vovchenko

unread,
Dec 4, 2009, 10:41:32 AM12/4/09
to rhom...@googlegroups.com
You can set simulator in rhobuild.yml:
4.6:
jde:
D:/Install/Eclipse3.4.2/plugins/net.rim.eide.componentpack4.6.0_4.6.0.19/com
ponents
mds:
D:/Install/Eclipse3.4.2/plugins/net.rim.eide.componentpack4.6.0_4.6.0.19/com
ponents/MDS
sim: 9000
--

You received this message because you are subscribed to the Google Groups
"rhomobile" group.
To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to
rhomobile+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rhomobile?hl=en.


Reply all
Reply to author
Forward
0 new messages