BlackBerry won't build Rhodes 2.0 - XRuby compilation failed... Error interpreting ruby code

31 views
Skip to first unread message

Brent Napolitano

unread,
Jul 7, 2010, 4:37:54 PM7/7/10
to rhomobile
I've been working on Android with 2.0beta11, but when I went to start
updating my blackberry views I received this compilation error. I
then upgraded to 2.0 and tried again, and I had the same issue.

rm rexml/set.rb
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cp -r C:/rhomobile/agentfirst_rhostyling/app C:/rhomobile/
agentfirst_rhostyling/
bin/RhoBundle/apps
cp -r C:/rhomobile/agentfirst_rhostyling/public C:/rhomobile/
agentfirst_rhostyli
ng/bin/RhoBundle/apps
cp C:/rhomobile/agentfirst_rhostyling/rhoconfig.txt C:/rhomobile/
agentfirst_rhos
tyling/bin/RhoBundle/apps
cd C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle/apps
rm app/About/index.erb
mv app/About/index.bb.erb app/About/index.erb
rm app/ContactUs/index.erb
mv app/ContactUs/index.bb.erb app/ContactUs/index.erb
rm app/index.erb
mv app/index.bb.erb app/index.erb
rm app/Login/index.erb
mv app/Login/index.bb.erb app/Login/index.erb
rm app/Login/wait.erb
mv app/Login/wait.bb.erb app/Login/wait.erb
rm app/Main/index.erb
mv app/Main/index.bb.erb app/Main/index.erb
rm app/PlaceCustomerServiceOrder/edit.erb
mv app/PlaceCustomerServiceOrder/edit.bb.erb app/
PlaceCustomerServiceOrder/edit.
erb
rm app/PlaceCustomerServiceOrder/index.erb
mv app/PlaceCustomerServiceOrder/index.bb.erb app/
PlaceCustomerServiceOrder/inde
x.erb
rm app/PlaceCustomerServiceOrder/new.erb
mv app/PlaceCustomerServiceOrder/new.bb.erb app/
PlaceCustomerServiceOrder/new.er
b
rm app/PlaceCustomerServiceOrder/show.erb
mv app/PlaceCustomerServiceOrder/show.bb.erb app/
PlaceCustomerServiceOrder/show.
erb
rm app/PlaceTitleEscrowOrder/edit.erb
mv app/PlaceTitleEscrowOrder/edit.bb.erb app/PlaceTitleEscrowOrder/
edit.erb
rm app/PlaceTitleEscrowOrder/index.erb
mv app/PlaceTitleEscrowOrder/index.bb.erb app/PlaceTitleEscrowOrder/
index.erb
rm app/PlaceTitleEscrowOrder/new.erb
mv app/PlaceTitleEscrowOrder/new.bb.erb app/PlaceTitleEscrowOrder/
new.erb
rm app/PlaceTitleEscrowOrder/show.erb
mv app/PlaceTitleEscrowOrder/show.bb.erb app/PlaceTitleEscrowOrder/
show.erb
rm app/PropertyDetails/index.erb
mv app/PropertyDetails/index.bb.erb app/PropertyDetails/index.erb
rm app/PropertyDetails/show.erb
mv app/PropertyDetails/show.bb.erb app/PropertyDetails/show.erb
rm app/PropertyDetails/wait.erb
mv app/PropertyDetails/wait.bb.erb app/PropertyDetails/wait.erb
rm app/PropertySearchData/index.erb
mv app/PropertySearchData/index.bb.erb app/PropertySearchData/
index.erb
rm app/PropertySearchData/results.erb
mv app/PropertySearchData/results.bb.erb app/PropertySearchData/
results.erb
mv app/PropertySearchData/results.bb.erbOLD app/PropertySearchData/
results.erbOL
D
rm app/PropertySearchData/wait.erb
mv app/PropertySearchData/wait.bb.erb app/PropertySearchData/wait.erb
rm app/PropertyDetails/Copy of show.wm.erb
rm app/PropertyDetails/show.wm.erb
cd C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle/apps
rm -rf public/js/jquery-1.2.6.min.js
rm -rf public/js/jquery.1.3.2.min.js
rm -rf public/css/iphone.css
cp -r C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0/res/build-tools/db
C:/rhomobil
e/agentfirst_rhostyling/bin/RhoBundle/apps
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cp lib/build/compileERB/bb.rb C:/rhomobile/agentfirst_rhostyling/bin/
RhoBundle
Running bb.rb

rm C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle/bb.rb
cd C:/rhomobile/agentfirst_rhostyling/bin
>>> Compiling RhoBundle\apps\app\About\about.rb...
>>> Compiling RhoBundle\apps\app\About\controller.rb...
>>> Compiling RhoBundle\apps\app\About\index_erb.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\address_info.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\address_info_controller.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\address_info_spec.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\edit_erb.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\index_erb.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\new_erb.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\show_erb.rb...
>>> Compiling RhoBundle\apps\app\application.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\characteristics.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\characteristics_controller.rb..
.
>>> Compiling RhoBundle\apps\app\Characteristics\characteristics_spec.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\edit_erb.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\index_erb.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\new_erb.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\show_erb.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\contact_erb.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\contact_us.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\contact_us_controller.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\index_erb.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\wait_erb.rb...
>>> Compiling RhoBundle\apps\app\data\common.rb...
>>> XRuby compilation failed. Line: 13; Column: 0; Description: unexpected AST n
ode: =>
Error interpreting ruby code

C:\rhomobile\agentfirst_rhostyling>rake run:bb
(in C:/rhomobile/agentfirst_rhostyling)
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
rm -rf C:/rhomobile/agentfirst_rhostyling/bin/tmp
rm -rf C:/rhomobile/agentfirst_rhostyling/bin/tmp_sim
mkdir -p C:/rhomobile/agentfirst_rhostyling/bin/tmp
mkdir -p C:/rhomobile/agentfirst_rhostyling/bin/tmp_sim
cd C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/simulator
PWD: C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/
simulator
CMD: "C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/
simulator/fledgec
ontroller.exe" /session=8900 /execute=Exit(true)
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
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 /c shutdown.bat
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown
Source)
at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour
ce)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown
Source)
at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at
net.rim.application.ipproxyservice.IPProxyEvent.sendEvent(Unknown Sou
rce)
at
net.rim.application.ipproxyservice.IPProxyEvent.main(Unknown Source)
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
mf: platform/bb/build/MANIFEST.MF
Modify Capabilities.java
mkdir -p C:/rhomobile/agentfirst_rhostyling/bin/tmp/RubyVM
PWD: C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
CMD: "C:/Program Files/Java/jdk1.6.0_18/bin/javac.exe" -g -d C:/
rhomobile/agentf
irst_rhostyling/bin/tmp/RubyVM -bootclasspath "C:/Program Files/
Research In Moti
on/BlackBerry JDE 4.6.1/lib/net_rim_api.jar" -source 1.3 -target 1.3 -
nowarn @pl
atform/bb/build/RubyVM_build.files

cd C:/rhomobile/agentfirst_rhostyling/bin/tmp
PWD: C:/rhomobile/agentfirst_rhostyling/bin/tmp
CMD: "C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/bin/
preverify.exe
" -classpath "C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/
lib/net_r
im_api.jar" -d C:/rhomobile/agentfirst_rhostyling/bin/tmp/
RubyVM.preverify C:/rh
omobile/agentfirst_rhostyling/bin/tmp/RubyVM

cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
PWD: C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
CMD: "C:/Program Files/Java/jdk1.6.0_18/bin/jar.exe" cfm C:/rhomobile/
agentfirst
_rhostyling/preverified/RubyVM.jar platform/bb/build/
RubyVM_manifest.mf -C C:/rh
omobile/agentfirst_rhostyling/bin/tmp/RubyVM.preverify .

rm -rf C:/rhomobile/agentfirst_rhostyling/bin/tmp
mkdir -p C:/rhomobile/agentfirst_rhostyling/bin/tmp
rm -rf C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
mkdir -p C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
mkdir -p C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle/apps
cd lib/framework
cp -r bsearch.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r builtinME.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r date C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r date.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r dateME.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r dateOrig.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r erb.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r find.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r indifferent_access.rb C:/rhomobile/agentfirst_rhostyling/bin/
RhoBundle
cp -r rational.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r rationalME.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r rho C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r rho.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r rhodes-framework.rb C:/rhomobile/agentfirst_rhostyling/bin/
RhoBundle
cp -r rhodes.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r rhoframework.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r rhofsconnector.rb C:/rhomobile/agentfirst_rhostyling/bin/
RhoBundle
cp -r rholang C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r rhom C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r rhom.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r singleton.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r time.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cp -r version.rb C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cd C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
rm rhodes-framework.rb
rm erb.rb
rm find.rb
rm rational.rb
rm dateOrig.rb
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cd lib/extensions/rhoxml
cp -r rexml C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cd C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle
rm rexml/parsers/baseparser.rb
rm rexml/set.rb
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cp -r C:/rhomobile/agentfirst_rhostyling/app C:/rhomobile/
agentfirst_rhostyling/
bin/RhoBundle/apps
cp -r C:/rhomobile/agentfirst_rhostyling/public C:/rhomobile/
agentfirst_rhostyli
ng/bin/RhoBundle/apps
cp C:/rhomobile/agentfirst_rhostyling/rhoconfig.txt C:/rhomobile/
agentfirst_rhos
tyling/bin/RhoBundle/apps
cd C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle/apps
rm app/About/index.erb
mv app/About/index.bb.erb app/About/index.erb
rm app/ContactUs/index.erb
mv app/ContactUs/index.bb.erb app/ContactUs/index.erb
rm app/index.erb
mv app/index.bb.erb app/index.erb
rm app/Login/index.erb
mv app/Login/index.bb.erb app/Login/index.erb
rm app/Login/wait.erb
mv app/Login/wait.bb.erb app/Login/wait.erb
rm app/Main/index.erb
mv app/Main/index.bb.erb app/Main/index.erb
rm app/PlaceCustomerServiceOrder/edit.erb
mv app/PlaceCustomerServiceOrder/edit.bb.erb app/
PlaceCustomerServiceOrder/edit.
erb
rm app/PlaceCustomerServiceOrder/index.erb
mv app/PlaceCustomerServiceOrder/index.bb.erb app/
PlaceCustomerServiceOrder/inde
x.erb
rm app/PlaceCustomerServiceOrder/new.erb
mv app/PlaceCustomerServiceOrder/new.bb.erb app/
PlaceCustomerServiceOrder/new.er
b
rm app/PlaceCustomerServiceOrder/show.erb
mv app/PlaceCustomerServiceOrder/show.bb.erb app/
PlaceCustomerServiceOrder/show.
erb
rm app/PlaceTitleEscrowOrder/edit.erb
mv app/PlaceTitleEscrowOrder/edit.bb.erb app/PlaceTitleEscrowOrder/
edit.erb
rm app/PlaceTitleEscrowOrder/index.erb
mv app/PlaceTitleEscrowOrder/index.bb.erb app/PlaceTitleEscrowOrder/
index.erb
rm app/PlaceTitleEscrowOrder/new.erb
mv app/PlaceTitleEscrowOrder/new.bb.erb app/PlaceTitleEscrowOrder/
new.erb
rm app/PlaceTitleEscrowOrder/show.erb
mv app/PlaceTitleEscrowOrder/show.bb.erb app/PlaceTitleEscrowOrder/
show.erb
rm app/PropertyDetails/index.erb
mv app/PropertyDetails/index.bb.erb app/PropertyDetails/index.erb
rm app/PropertyDetails/show.erb
mv app/PropertyDetails/show.bb.erb app/PropertyDetails/show.erb
rm app/PropertyDetails/wait.erb
mv app/PropertyDetails/wait.bb.erb app/PropertyDetails/wait.erb
rm app/PropertySearchData/index.erb
mv app/PropertySearchData/index.bb.erb app/PropertySearchData/
index.erb
rm app/PropertySearchData/results.erb
mv app/PropertySearchData/results.bb.erb app/PropertySearchData/
results.erb
mv app/PropertySearchData/results.bb.erbOLD app/PropertySearchData/
results.erbOL
D
rm app/PropertySearchData/wait.erb
mv app/PropertySearchData/wait.bb.erb app/PropertySearchData/wait.erb
rm app/PropertyDetails/Copy of show.wm.erb
rm app/PropertyDetails/show.wm.erb
cd C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle/apps
rm -rf public/js/jquery-1.2.6.min.js
rm -rf public/js/jquery.1.3.2.min.js
rm -rf public/css/iphone.css
cp -r C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0/res/build-tools/db
C:/rhomobil
e/agentfirst_rhostyling/bin/RhoBundle/apps
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cp lib/build/compileERB/bb.rb C:/rhomobile/agentfirst_rhostyling/bin/
RhoBundle
Running bb.rb

rm C:/rhomobile/agentfirst_rhostyling/bin/RhoBundle/bb.rb
cd C:/rhomobile/agentfirst_rhostyling/bin
>>> Compiling RhoBundle\apps\app\About\about.rb...
>>> Compiling RhoBundle\apps\app\About\controller.rb...
>>> Compiling RhoBundle\apps\app\About\index_erb.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\address_info.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\address_info_controller.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\address_info_spec.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\edit_erb.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\index_erb.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\new_erb.rb...
>>> Compiling RhoBundle\apps\app\AddressInfo\show_erb.rb...
>>> Compiling RhoBundle\apps\app\application.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\characteristics.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\characteristics_controller.rb..
.
>>> Compiling RhoBundle\apps\app\Characteristics\characteristics_spec.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\edit_erb.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\index_erb.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\new_erb.rb...
>>> Compiling RhoBundle\apps\app\Characteristics\show_erb.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\contact_erb.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\contact_us.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\contact_us_controller.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\index_erb.rb...
>>> Compiling RhoBundle\apps\app\ContactUs\wait_erb.rb...
>>> Compiling RhoBundle\apps\app\data\common.rb...
>>> XRuby compilation failed. Line: 13; Column: 0; Description: unexpected AST n
ode: =>
Error interpreting ruby code

Here is my rhobuild.yml:
---
env:
app: /Users/lars/Dev/code/rhomobile/store
paths:
android-ndk: C:/MobileSDKs/Android/android-ndk-r4
java: C:/Program Files/Java/jdk1.6.0_18/bin
android: C:/MobileSDKs/Android/android-sdk-windows
4.6:
jde: C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1
sim: 8900
mds: C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/
MDS
cabwiz: C:/Program Files/Windows Mobile 6 SDK/Tools/CabWiz
4.2:
jde:
sim: 8100
mds:
excludedirs:
bb:
- public/js/iui
- public/js/jquery*
- public/jqtouch*
- public/js/prototype*
- public/css/iphone*
- public/iwebkit
- public/themes
- "**/*.db"
- "**/.*.swo"
- "**/.*.swn"
- "**/jquery*.js"
- "**/.DS_Store"
android:
build:
symbianpath: platform/symbian
bb:
bbsignpwd: somepasswordhere
bbpath: platform/bb
wmpath: platform/wm
androidpath: platform/android
iphonepath: platform/iphone

Here is my build.yml
extensions:
- rhoxml
name: Agent First
bbver: 4.6
sdk: C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
android:
apikey: 0NWylXbtjUSiT8Hh2IYR_K3Y7OPcyKIjTQLN9qA
mapping: false
applog: rholog.txt
wmsdk: Windows Mobile 6 Professional SDK (ARMV4I)
version: 1.0
vendor: rhomobile
sdkversion: 1.5.0
iphone:
provisionprofile:
sdk: iphonesimulator3.0
entitlements:
codesignidentity:
configuration: Debug

Brent Napolitano

unread,
Jul 8, 2010, 11:49:04 AM7/8/10
to rhomobile
Any news on this? Android and Win32 build just fine. I am also
unable to build the rhodes-system-api-samples project for blackberry.

Thanks,
Brent

evgeny vovchenko

unread,
Jul 8, 2010, 11:58:47 AM7/8/10
to rhom...@googlegroups.com
Post me build output for system-api-sample
Also post me file : app\data\common.rb

Thanks,
Brent

--
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.

Brent Napolitano

unread,
Jul 8, 2010, 12:45:22 PM7/8/10
to rhomobile
I figured it out. It seems that the ruby parser you use for
blackberry doesn't like this syntax

Hash[ :FileTemplateID => id, :FileTemplateName => name]

I have to change it to

{ :FileTemplateID => id, :FileTemplateName => name}

This is a little annoying, but I can fix it if there is no other
option.

As for the rhodes-system-api-samples the error is different. I didn't
make any changes to the code.


C:\rhomobile\rhodes-system-api-samples>rake run:bb
(in C:/rhomobile/rhodes-system-api-samples)
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
rake aborted!
undefined method `[]' for nil:NilClass

(See full trace by running task with --trace)

C:\rhomobile\rhodes-system-api-samples>rake --trace run:bb
(in C:/rhomobile/rhodes-system-api-samples)
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
** 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
rake aborted!
undefined method `[]' for nil:NilClass
./platform/bb/build/bb.rake:166
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `call'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in
`invoke_with_call_c
hain'
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_c
hain'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in
`invoke_prerequisit
es'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisit
es'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
`invoke_with_call_c
hain'
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_c
hain'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:607:in
`invoke_prerequisit
es'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:604:in
`invoke_prerequisit
es'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:596:in
`invoke_with_call_c
hain'
C:/Ruby/lib/ruby/1.8/monitor.rb:242:in `synchronize'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in
`invoke_with_call_c
hain'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in
`invoke_task'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
`top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exceptio
n_handling'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
`top_level'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
`standard_exceptio
n_handling'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/Ruby/bin/rake:19:in `load'
C:/Ruby/bin/rake:19

C:\rhomobile\rhodes-system-api-samples>


On Jul 8, 8:58 am, "evgeny vovchenko" <evgenyvovche...@gmail.com>
wrote:

Brian Moore

unread,
Jul 8, 2010, 1:11:03 PM7/8/10
to rhom...@googlegroups.com
Make sure your paths are correct for blackberry in your rhobuild.yml (on your system it will be in C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0). You probably do not have a section in blackberry for the bbver variable that is set in the build.yml in the system-api-samples app.

Brian

Brent Napolitano

unread,
Jul 8, 2010, 1:27:44 PM7/8/10
to rhomobile
Yeah the bbver was pointing to 5.0 and I'm using 4.6, thanks. I
should have checked, but I'm used to 4.6 being default. However, I'm
having another issue with my first problem. The xruby parser, I
changed my hash syntax but now in one of my files i'm getting a
javalang.nullpointer exception, but no line number for the offending
file. Any tips on tracking that down? Still compiles fine in Android
and Win32.

Thanks,
Brent

evgeny vovchenko

unread,
Jul 8, 2010, 1:54:07 PM7/8/10
to rhom...@googlegroups.com
This is tricky to find this place. I just adding log and try to find exact
code where it failed
You can post me your app, I will try to find the issue

Brent Napolitano

unread,
Jul 8, 2010, 2:11:44 PM7/8/10
to rhomobile
This is happening during compile, is there an additional log other
than the screen output I can check? I can send you the file or whole
app if you want; I was just going to start commenting methods until i
found it. Unfortunately this is a big file, controller for several
views.

On Jul 8, 10:54 am, "evgeny vovchenko" <evgenyvovche...@gmail.com>

evgeny vovchenko

unread,
Jul 8, 2010, 4:24:14 PM7/8/10
to rhom...@googlegroups.com
Post me the log pls

Brent Napolitano

unread,
Jul 8, 2010, 7:31:06 PM7/8/10
to rhomobile
Here is the screen output, if there is some other log it writes to
please advise me and I'll submit it also.


SCREEN OUTPUT
C:\rhomobile\agentfirst_rhostyling>cd ..\agentfirst_rhostyling_bb

C:\rhomobile\agentfirst_rhostyling_bb>rake --trace run:bb
(in C:/rhomobile/agentfirst_rhostyling_bb)
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
** 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
rm -rf C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp
rm -rf C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp_sim
mkdir -p C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp
mkdir -p C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp_sim
** Execute run:bb:stopmdsandsim
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
** Invoke package:bb:production_sim (first_time)
** Invoke build:bb:rhodes (first_time)
** Invoke build:bb:rubyvm (first_time)
** Invoke build:bb:gensources (first_time)
** Invoke config:bb
** Execute build:bb:gensources
mf: platform/bb/build/MANIFEST.MF
Modify Capabilities.java
** Invoke config:bb
** Execute build:bb:rubyvm
mkdir -p C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp/RubyVM
PWD: C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
CMD: "C:/Program Files/Java/jdk1.6.0_18/bin/javac.exe" -g -d C:/
rhomobile/agentf
irst_rhostyling_bb/bin/tmp/RubyVM -bootclasspath "C:/Program Files/
Research In M
otion/BlackBerry JDE 4.6.1/lib/net_rim_api.jar" -source 1.3 -target
1.3 -nowarn
@platform/bb/build/RubyVM_build.files

cd C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp
PWD: C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp
CMD: "C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/bin/
preverify.exe
" -classpath "C:/Program Files/Research In Motion/BlackBerry JDE 4.6.1/
lib/net_r
im_api.jar" -d C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp/
RubyVM.preverify C:
/rhomobile/agentfirst_rhostyling_bb/bin/tmp/RubyVM

cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
PWD: C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
CMD: "C:/Program Files/Java/jdk1.6.0_18/bin/jar.exe" cfm C:/rhomobile/
agentfirst
_rhostyling_bb/preverified/RubyVM.jar platform/bb/build/
RubyVM_manifest.mf -C C:
/rhomobile/agentfirst_rhostyling_bb/bin/tmp/RubyVM.preverify .

rm -rf C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp
mkdir -p C:/rhomobile/agentfirst_rhostyling_bb/bin/tmp
** Invoke build:bb:rhobundle (first_time)
** Invoke build:bb:rubyvm
** Execute build:bb:rhobundle
** Execute build:bundle:xruby
rm -rf C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
mkdir -p C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
mkdir -p C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle/apps
cd lib/framework
cp -r bsearch.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r builtinME.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r date C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r date.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r dateME.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r dateOrig.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r erb.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r find.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r indifferent_access.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/
RhoBundle
cp -r rational.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r rationalME.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/
RhoBundle
cp -r rho C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r rho.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r rhodes-framework.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/
RhoBundle
cp -r rhodes.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r rhoframework.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/
RhoBundle
cp -r rhofsconnector.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/
RhoBundle
cp -r rholang C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r rhom C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r rhom.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r singleton.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r time.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cp -r version.rb C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cd C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
rm rhodes-framework.rb
rm erb.rb
rm find.rb
rm rational.rb
rm dateOrig.rb
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cd lib/extensions/rhoxml
cp -r rexml C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cd C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle
rm rexml/parsers/baseparser.rb
rm rexml/set.rb
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cp -r C:/rhomobile/agentfirst_rhostyling_bb/app C:/rhomobile/
agentfirst_rhostyli
ng_bb/bin/RhoBundle/apps
cp -r C:/rhomobile/agentfirst_rhostyling_bb/public C:/rhomobile/
agentfirst_rhost
yling_bb/bin/RhoBundle/apps
cp C:/rhomobile/agentfirst_rhostyling_bb/rhoconfig.txt C:/rhomobile/
agentfirst_r
hostyling_bb/bin/RhoBundle/apps
cd C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle/apps
cd C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle/apps
rm -rf public/js/jquery-1.2.6.min.js
rm -rf public/js/jquery.1.3.2.min.js
rm -rf public/css/iphone.css
cp -r C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0/res/build-tools/db
C:/rhomobil
e/agentfirst_rhostyling_bb/bin/RhoBundle/apps
cd C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0
cp lib/build/compileERB/bb.rb C:/rhomobile/agentfirst_rhostyling_bb/
bin/RhoBundl
e
Running bb.rb

rm C:/rhomobile/agentfirst_rhostyling_bb/bin/RhoBundle/bb.rb
cd C:/rhomobile/agentfirst_rhostyling_bb/bin
>>> Compiling RhoBundle\apps\app\data\farm_package.rb...
>>> Compiling RhoBundle\apps\app\data\rep_contact_info.rb...
>>> Compiling RhoBundle\apps\app\data\title_escrow_order.rb...
>>> Compiling RhoBundle\apps\app\helpers\application_helper.rb...
>>> Compiling RhoBundle\apps\app\helpers\browser_helper.rb...
>>> Compiling RhoBundle\apps\app\index_erb.rb...
>>> Compiling RhoBundle\apps\app\layout_erb.rb...
>>> Compiling RhoBundle\apps\app\Login\controller.rb...
>>> Compiling RhoBundle\apps\app\Login\error_erb.rb...
>>> Compiling RhoBundle\apps\app\Login\eula_erb.rb...
>>> Compiling RhoBundle\apps\app\Login\filetest_erb.rb...
>>> Compiling RhoBundle\apps\app\Login\index_erb.rb...
>>> Compiling RhoBundle\apps\app\Login\login.rb...
>>> Compiling RhoBundle\apps\app\Login\wait_erb.rb...
>>> Compiling RhoBundle\apps\app\Login\webservicetest_erb.rb...
>>> Compiling RhoBundle\apps\app\Main\controller.rb...
>>> Compiling RhoBundle\apps\app\Main\index_erb.rb...
>>> Compiling RhoBundle\apps\app\Main\main.rb...
>>> Compiling RhoBundle\apps\app\Main\wait_erb.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\comments_erb.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\customerserviceproduc
ts_erb.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\edit_erb.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\farmpackages_erb.rb..
.
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\index_erb.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\new_erb.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\orderconfirmation_erb
.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\orderpropertyinfo_erb
.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\place_customer_servic
e_order.rb...
>>> Compiling RhoBundle\apps\app\PlaceCustomerServiceOrder\place_customer_servic
e_order_controller.rb...
>>> XRuby compilation failed: java.lang.NullPointerException
Error interpreting ruby code

C:\rhomobile\agentfirst_rhostyling_bb>

On Jul 8, 1:24 pm, "evgeny vovchenko" <evgenyvovche...@gmail.com>

Brent Napolitano

unread,
Jul 8, 2010, 8:38:20 PM7/8/10
to rhomobile
I found the offending line of code.

I had an if/elsif/end block instead of an if/else/end block. Win32
and Android worked fine as I had a redundant line after the condition
statement even though it never would have entered the elsif block.

Thanks,
Brent

On Jul 8, 1:24 pm, "evgeny vovchenko" <evgenyvovche...@gmail.com>

evgeny vovchenko

unread,
Jul 9, 2010, 1:29:50 AM7/9/10
to rhom...@googlegroups.com
Send me pls code which is failed
I'll file a ticket

Brent Napolitano

unread,
Jul 9, 2010, 5:01:05 PM7/9/10
to rhomobile
This code failed, I should have had just an else since I had no
condition for the elsif.


if provider[:HasFarmPackageAccess] == 'true'
WebView.navigate ( url_for :action
=> :load_farmpackage_page, :query => {:OfficeID =>
provider[:OfficeID]} )
elsif
WebView.navigate ( url_for :action => :comments )
end


On Jul 8, 10:29 pm, "evgeny vovchenko" <evgenyvovche...@gmail.com>
wrote:
> Send me pls code which is failed
> I'll file a ticket
>
>
>
> -----Original Message-----
> From: rhom...@googlegroups.com [mailto:rhom...@googlegroups.com] On
>
> Behalf Of Brent Napolitano
> Sent: Friday, July 09, 2010 4:38 AM
> To: rhomobile
> Subject: [rhomobile] Re: BlackBerry won't build Rhodes 2.0 - XRuby
> compilation failed... Error interpreting ruby code
>
> I found the offending line of code.
>
> I had an if/elsif/end block instead of an if/else/end block.  Win32 and
> Android worked fine as I had a redundant line after the condition statement
> even though it never would have entered the elsif block.
>
> Thanks,
> Brent
>
> On Jul 8, 1:24špm, "evgeny vovchenko" <evgenyvovche...@gmail.com>
> wrote:
> > Post me the log pls
>
> > -----Original Message-----
> > From: rhom...@googlegroups.com [mailto:rhom...@googlegroups.com]
> > On
>
> > Behalf Of Brent Napolitano
> > Sent: Thursday, July 08, 2010 10:12 PM
> > To: rhomobile
> > Subject: [rhomobile] Re: BlackBerry won't build Rhodes 2.0 - XRuby
> > compilation failed... Error interpreting ruby code
>
> > This is happening during compile, is there an additional log other
> > than the screen output I can check? šI can send you the file or whole
> > app if you want; I was just going to start commenting methods until i
> found it.
> > Unfortunately this is a big file, controller for several views.
>
> > On Jul 8, 10:54šam, "evgeny vovchenko" <evgenyvovche...@gmail.com>
> > wrote:
> > > This is tricky to find this place. I just adding log and try to find
> > > exact code where it failed You can post me your app, I will try to
> > > find the issue
>
> > > -----Original Message-----
> > > From: rhom...@googlegroups.com [mailto:rhom...@googlegroups.com]
> > > On
>
> > > Behalf Of Brent Napolitano
> > > Sent: Thursday, July 08, 2010 9:28 PM
> > > To: rhomobile
> > > Subject: [rhomobile] Re: BlackBerry won't build Rhodes 2.0 - XRuby
> > > compilation failed... Error interpreting ruby code
>
> > > Yeah the bbver was pointing to 5.0 and I'm using 4.6, thanks. šI
> > > should have checked, but I'm used to 4.6 being default. šHowever,
> > > I'm having another issue with my first problem. šThe xruby parser, I
> > > changed my hash syntax but now in one of my files i'm getting a
> > > javalang.nullpointer exception, but no line number for the offending
> > > file. šAny tips on tracking that down? šStill compiles fine in
> > > Android and
> > Win32.
>
> > > Thanks,
> > > Brent
>
> > > On Jul 8, 10:11šam, Brian Moore <br...@rhomobile.com> wrote:
> > > > Make sure your paths are correct for blackberry in your
> > > > rhobuild.yml (on
> > > your system it will be in
> > > C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0). You probably do not
> > > have a section in blackberry for the bbver variable that is set in
> > > the
> > build.yml in the system-api-samples app.
>
> > > > Brian
>
> > > > On Jul 8, 2010, at 9:45 AM, Brent Napolitano wrote:
>
> > > > > I figured it out. šIt seems that the ruby parser you use for
> > > > > blackberry doesn't like this syntax
>
> > > > > Hash[ :FileTemplateID => id, :FileTemplateName => name]
>
> > > > > I have to change it to
>
> > > > > { :FileTemplateID => id, :FileTemplateName => name}
>
> > > > > This is a little annoying, but I can fix it if there is no other
> > > > > option.
>
> > > > > As for the rhodes-system-api-samples the error is different. šI
> > > > >> Any news on this? šAndroid and Win32 build just fine. šI am

evgeny vovchenko

unread,
Jul 12, 2010, 4:17:41 AM7/12/10
to rhom...@googlegroups.com
Hello Brent,

1.Issue with [ :FileTemplateID => id, :FileTemplateName => name] :
https://www.pivotaltracker.com/story/show/3979550

2. Issue with elsif: I cannot reproduce it. I use the following code:
cond = 'false'
res = false
if cond == 'true'
res = false
elsif
res = true
end

cond = 'true'
res = false
if cond == 'true'
res = true
elsif
res = false
end

In both cases it compiles and works.
I alsp compiled your code, but still has no error.

Regards,
Evgeny.

Brent Napolitano

unread,
Jul 12, 2010, 5:27:06 PM7/12/10
to rhomobile
another discrepancy i found, in case you wanted to submit it, is that
the android runtime let me use Array.count (incorrectly) I changed it
to the correct Array.length.

Brent Napolitano

unread,
Jul 12, 2010, 5:30:35 PM7/12/10
to rhomobile
I changed it, in my code, to else instead of elsif and the
java.lang.nullpointer error disappeared for me. It only failed in
blackberry elsif worked fine for android and windows mobile. Strange
that it cannot be reproduced, but I have it working now.

On Jul 12, 1:17 am, "evgeny vovchenko" <evgenyvovche...@gmail.com>
wrote:
> > On Jul 8, 1:24¹pm, "evgeny vovchenko" <evgenyvovche...@gmail.com>
> > wrote:
> > > Post me the log pls
>
> > > -----Original Message-----
> > > From: rhom...@googlegroups.com [mailto:rhom...@googlegroups.com]
> > > On
>
> > > Behalf Of Brent Napolitano
> > > Sent: Thursday, July 08, 2010 10:12 PM
> > > To: rhomobile
> > > Subject: [rhomobile] Re: BlackBerry won't build Rhodes 2.0 - XRuby
> > > compilation failed... Error interpreting ruby code
>
> > > This is happening during compile, is there an additional log other
> > > than the screen output I can check? ¹I can send you the file or
> > > whole app if you want; I was just going to start commenting methods
> > > until i
> > found it.
> > > Unfortunately this is a big file, controller for several views.
>
> > > On Jul 8, 10:54¹am, "evgeny vovchenko" <evgenyvovche...@gmail.com>
> > > wrote:
> > > > This is tricky to find this place. I just adding log and try to
> > > > find exact code where it failed You can post me your app, I will
> > > > try to find the issue
>
> > > > -----Original Message-----
> > > > From: rhom...@googlegroups.com
> > > > [mailto:rhom...@googlegroups.com]
> > > > On
>
> > > > Behalf Of Brent Napolitano
> > > > Sent: Thursday, July 08, 2010 9:28 PM
> > > > To: rhomobile
> > > > Subject: [rhomobile] Re: BlackBerry won't build Rhodes 2.0 - XRuby
> > > > compilation failed... Error interpreting ruby code
>
> > > > Yeah the bbver was pointing to 5.0 and I'm using 4.6, thanks. ¹I
> > > > should have checked, but I'm used to 4.6 being default. ¹However,
> > > > I'm having another issue with my first problem. ¹The xruby parser,
> > > > I changed my hash syntax but now in one of my files i'm getting a
> > > > javalang.nullpointer exception, but no line number for the
> > > > offending file. ¹Any tips on tracking that down? ¹Still compiles
> > > > fine in Android and
> > > Win32.
>
> > > > Thanks,
> > > > Brent
>
> > > > On Jul 8, 10:11¹am, Brian Moore <br...@rhomobile.com> wrote:
> > > > > Make sure your paths are correct for blackberry in your
> > > > > rhobuild.yml (on
> > > > your system it will be in
> > > > C:/Ruby/lib/ruby/gems/1.8/gems/rhodes-2.0.0). You probably do not
> > > > have a section in blackberry for the bbver variable that is set in
> > > > the
> > > build.yml in the system-api-samples app.
>
> > > > > Brian
>
> > > > > On Jul 8, 2010, at 9:45 AM, Brent Napolitano wrote:
>
> > > > > > I figured it out. ¹It seems that the ruby parser you use for
> > > > > > blackberry doesn't like this syntax
>
> > > > > > Hash[ :FileTemplateID => id, :FileTemplateName => name]
>
> > > > > > I have to change it to
>
> > > > > > { :FileTemplateID => id, :FileTemplateName => name}
>
> > > > > > This is a little annoying, but I can fix it if there is no
> > > > > > other option.
>
> > > > > > As for the rhodes-system-api-samples the error is different.
> > > > > > ¹I didn't make any changes to the code.
> > > > > >> Any news on this? ¹Android and Win32 build just fine. ¹I am
> > > > > >> also unable to build the rhodes-system-api-samples project
> > > > > >> for
> > blackberry.
>
> > > > > >> Thanks,
> > > > > >> Brent
>
> > > > > >> --
> > > > > >> 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
> > > > athttp://groups.google.com/group/rhomobile?hl=en.
>
> > > > > > --
> > > > > > 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
>
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages