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