Sometime we try to run rake run:bb and we get following error:
[...stuff deleted]
cp -r platform/bb/build/../hsqldb/ src/com/rho/file/
PersistRAFileImpl.java C:/Doc
uments and Settings/mrcorba/storemanager/ bin/tmp/vsrc/com/rho/file
executing javac
PWD: C:/Ruby19/lib/ruby/gems/1.9.1/ gems/rhodes-1.5.4
CMD: "C:/Program Files/Java/jdk1.6.0_03/bin/ javac.exe" -g -d "C:/
Documents and S
ettings/mrcorba/storemanager/ bin/tmp" -classpath "C:/Documents and
Settings/mrco
rba/storemanager/bin/ RhoBundle.jar;C:/Documents and Settings/mrcorba/
storemanage
r/preverified/RubyVM.jar" -bootclasspath "C:/Program Files/Research In
Motion/Bl
ackBerry JDE 4.6.0/lib/net_rim_api.jar" -source 1.3 -target 1.3 -
nowarn "@C:/Doc
uments and Settings/mrcorba/storemanager/ bin/tmp/vsrc_build.files"
@platform/bb/
build/hsqldb_build.files @platform/bb/build/rhodes_ build.files
javac: invalid flag: C:/Documents
Usage: javac
use -help for a list of possible options
Error compiling java code
Solution
Try to move your app into a folder without spaces.
Ex If you project is in C:\some directory\Rhodes_application then put your applicaton in C:\some_directory\Rhodes_application
This is because sometime Rhodes is not able to count white spaces.
[...stuff deleted]
cp -r platform/bb/build/../hsqldb/
PersistRAFileImpl.java C:/Doc
uments and Settings/mrcorba/storemanager/
executing javac
PWD: C:/Ruby19/lib/ruby/gems/1.9.1/
CMD: "C:/Program Files/Java/jdk1.6.0_03/bin/
Documents and S
ettings/mrcorba/storemanager/
Settings/mrco
rba/storemanager/bin/
storemanage
r/preverified/RubyVM.jar" -bootclasspath "C:/Program Files/Research In
Motion/Bl
ackBerry JDE 4.6.0/lib/net_rim_api.jar" -source 1.3 -target 1.3 -
nowarn "@C:/Doc
uments and Settings/mrcorba/storemanager/
@platform/bb/
build/hsqldb_build.files @platform/bb/build/rhodes_
javac: invalid flag: C:/Documents
Usage: javac
use -help for a list of possible options
Error compiling java code
Solution
Try to move your app into a folder without spaces.
Ex If you project is in C:\some directory\Rhodes_application then put your applicaton in C:\some_directory\Rhodes_application
This is because sometime Rhodes is not able to count white spaces.