09-05-2012 02:44 PM
I got finally a helloworld app running on the DevAlpha using ripple, but when the app starts i get an Javascript-Alert:
"Require Error Cant find
//accounts/1000/appdata/helloworld.testDev_hellowo
Whats getting wrong here?
Solved! Go to Solution.
09-05-2012 03:42 PM
Could you confirm which SDK version you have installed?
09-11-2012 05:13 AM
BB10 Webworks SDK 1.0.1.17.
I recently updated the OS of the DevAlpha to the latest version too.
After the first alert a second one follows: "no pps"
And a third one : "Web Inspector enabled".
After that the app seems run correctly.
09-11-2012 06:27 AM
09-17-2012 01:06 AM
OK.
I'll bite.
So where's the link to the command line invocation?
Example?
Thanks!
MarkT
09-19-2012 04:40 AM
So I'm outed as a newbie.
Uknow.notCommandLine!
I see the clues: https://developer.blackberry.com/html5/documentati
Yet to make sense of the commands.
Have to resort to reading the nodish js.
Phun.sorta.
MarkT
09-20-2012 12:34 PM
If you are on a Mac:
./bbwp ~/myapp/myarchive.zip -o ~/myapp/output
Remember, the input into the command line is a .zip file that contains your application, with the config.xml at the root. The Ripple product masks this from you. Other than that, you are just calling the packager, pointing it to your app, and specifying your output directory.
09-21-2012 01:02 AM
Thanks,
You are closing in on the issue I am on.
That is, why is bbwp looking for config.xml in a \src\ subDir?
Here, the zip has reluctantly been put in the firstApp dir. (As it does not need to be bundled into itself next zipping).
Though I could not find a command which directed bbwp to look for config.xml where it is: C:\Users\aUser\RippleSites\Boxes\config.xml
C:\Users\aUser\RippleSites\Boxes>"C:\Program Files\RIM\BBWW1.0.1.17\bbwp.bat" C:\Users\aUser\RippleSites\Boxes.zip -o C:\Users\aUser\RippleSites\boxesCollected -s C:\Users\aUser\RippleSites\Boxes\
[INFO] Populating application source
[INFO] Parsing config.xml
[ERROR] Error: ENOENT, no such file or directory 'C:\Users\aUser\RippleSites\Boxes\src\config.xml'
With this I see files are now added to the Boxes site directory.
Though the config.xml is not found.
When I go back to the Chrome Ripple & attempt a (button) build, nasty (java) errors fly out.
One more clue?
Using win here. Similar enough for this issue quite likely.
MarkT
09-21-2012 12:22 PM
I suspect you've created a .zip file of the directory, instead of the contents of the directory. I think the docs may be a little misleading.
Can you open up your .zip file and check? the config.xml should be at the root and not nested in a subdirectory.
The bbwp packager creates a temp folder structure, with your content in a "src" directory. It expects to find the config.xml there. So it is likely incorrectly located at "src/<something>/config.xml instead and can't find it.
If that is the issue can you let me know that it worked? I'll enter an issue to clean up the error checking in this condition because it is not very clear what is happening.
Chris.
09-21-2012 12:24 PM
And, FYI, the improvement to Ripple deployment is shipping very soon.