09-05-2012 02:44 PM
"Require Error Cant find
Whats getting wrong here?
Solved! Go to Solution.
09-11-2012 05:13 AM
BB10 Webworks SDK 18.104.22.168.
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-19-2012 04:40 AM
So I'm outed as a newbie.
Yet to make sense of the commands.
Have to resort to reading the nodish js.
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
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\BBWW22.214.171.124\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.
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.