12-04-2012 11:51 AM
12-04-2012 11:58 AM
I just want to verify that there isn't inconsistency...the value I would have been expecting was:
Since the tools use the path as follows:
~/Library/Research In Motion
The way you have it written would evaluate to (I believe):
/User/Nathan//Library/Research In Motion
Note thet double // between Nathan and Library.
I just want to ensure that we have it correct, character for character.
12-04-2012 12:07 PM
12-04-2012 12:20 PM
Ah, okay, that should be exactly what we need then. Basically, ~/Library/Research In Motion is where the tools should be looking for the keys, but we already copied them there without success. I'm going to need to brainstorm just a little more.
One option, which I've been trying to avoid, would be a fresh start:
And from there, attempt to re-sign.
12-04-2012 01:25 PM
Alright, another check. Can you please try calling the bbwp command without the -g parameter (i.e. we won't actually sign the BAR file.)
First, let's see that we can simply package and create the BAR file.
From there, if we can create the BAR file, we'll use the blackberry-signer command separately to see if we can successfully sign. This way, we'll separate the packaging from the signing and hopefully get a little more of an understanding of the failure at hand.
12-04-2012 01:53 PM
I've resintalled everything and it still gives me that error, then I tried calling bbwp without the -g argument and this is what I got:
Nathan-Camposs-MacBook-Pro:BBApp Nathan$ /Developer/SDKs/Research\ In\ Motion/BlackBerry\ WebWorks\ SDK\ for\ TabletOS\ 22.214.171.124/bbwp/bbwp build/BBApp.zip -buildId 1 -o build/ [INFO] Parsing command line options [INFO] Parsing bbwp.properties [INFO] Validating WebWorks archive [INFO] Parsing config.xml [INFO] Populating application source [INFO] Compiling WebWorks application /Developer/SDKs/Research In Motion/BlackBerry WebWorks SDK for TabletOS 126.96.36.199/bbwp/blackberry-tablet-sdk/bin/mxmlc.exe: /Developer/SDKs/Research In Motion/BlackBerry WebWorks SDK for TabletOS 188.8.131.52/bbwp/blackberry-tablet-sdk/bin/mxmlc.exe: cannot execute binary file [INFO] Packaging the bar file java.io.FileNotFoundException: /var/tmp/widgetGen.13868572321354647076193.tmp/BBA
pp.swf (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.jav a:137) at net.rim.tumbler.file.FileManager.copyFile(FileMana ger.java:481) at net.rim.tumbler.airpackager.AirPackager.run(AirPac kager.java:232) at net.rim.tumbler.WidgetPackager.go(WidgetPackager.j ava:152) at net.rim.tumbler.WidgetPackager.main(WidgetPackager .java:77) [ERROR] Air Packager exception occurred Nathan-Camposs-MacBook-Pro:BBApp Nathan$
12-04-2012 02:48 PM
Talk about an uncooperative bbwp. Could you confirm your full OS version? (i.e. as many version numbers as you can find.)
Potentially these are related, in that the default location where it would expect the SWF file is different from where it is actually being created. If you search your PC for BBApp.swf, do you get any matches elsewhere (i.e. maybe it's been left-over from the packaging attempt.)
12-04-2012 02:50 PM
12-04-2012 03:02 PM
Once again, everything points at your environment being okay.
I really wish I had an answer for you on this by now, unfortunately all avenues are coming up short.
Out of curiosity, do you have the BlackBerry 10 (184.108.40.206) SDK installed on your system? If so, are you able to call the bbwp command successfully for the BB10 SDK?
I'm assuming you have the Adobe AIR SDK installed on your system, correct? (I'm assuming because you noted you could sign a while back, so unless that SDK was removed since then...)
12-04-2012 03:10 PM - edited 12-04-2012 03:10 PM
With the BlackBerry 10 SDK I got this:
[INFO] Populating application source [INFO] Parsing config.xml [ERROR] Cannot sign application - failed to find signing key file: author.p12
Yeah, I have the AIR SDK, the installation process asks for it, so the WebWorks SDK knows that it's there.