im trying to get the webworks sdk ported over to linux and was wondering if any one else could use it other then me ?
im trying to get the webworks sdk ported over to linux and was wondering if any one else could use it other then me ?
i have gotten node js in linux and put it in the bb10 webworks sdk and have it running so far now i need to see what happens when i try and package an app
Sweet, let me know. I and a few others that frequent the forums will be interested.
Click thebutton in the bottom right of a post to say thanks!
Downloads Center | Rules and Guidelines l BlackBerry 10 Zone
That would be awesome. Waiting for that for ages. Please let me know if I can help somehow.
I need a ready to package bb10 dev alpha app ready to be packagaed. I need to test and see what works or breaks
Playbook apps break on the bb10 sdk. Guess I should try and port the playbook sdk as well
ok here is an update. i found a BB10 dev alpha app on github and packaged it. it does not run because i did not sign it. but it did not give me any errors so i will try and sign it then run it now
i am having a hard time with the signing part. it saves the keys to C:\Users\myname\AppData\Local\Research In Motion
im trying to find a way to change that in linux. but there is a good chance it is compiled in to the java jar files
ok found the config file to point to the signing keys but still have a problem signing the app.
what gets me is the bb10 webworks sdk is about 3/4 done for linux support but rim said no to supporting linux with the sdk.
all i have done so far is compile node.js v.0.6.10 , chmod +x a few files and configured a few files.
we should start talking to rim about this and get it supported they are almost there as it is
i dont get an error msg when packaging it just does not sign at all
ok i found something i was doing wrongs and now im getting a msg about signing. now to point it to the keys
ok im stumped right now i can get the signer to point to where the keys are stored. any one else see something i can do ?
/*
* Copyright 2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
var path = require('path'),
os = require('os'),
AUTHOR_P12 = "author.p12",
CSK = "barsigner.csk",
DB = "barsigner.db",
_self;
function getDefaultPath(file) {
// The default location where signing key files are stored will vary based on the OS:
// Windows XP: %HOMEPATH%\Local Settings\Application Data\Research In Motion
// Windows Vista and Windows 7: %HOMEPATH%\AppData\Local\Research In Motion
// Mac OS: ~/Library/Research In Motion
// UNIX or Linux: ~/.rim
var p = "";
if (os.type().toLowerCase().indexOf("windows") >= 0) {
// Try Windows XP location
p = process.env.HOMEDRIVE + process.env.HOMEPATH + "$HOME/.rim/" + file;
if (path.existsSync(p)) {
return p;
}
// Try Windows Vista and Windows 7 location
p = process.env.HOMEDRIVE + process.env.HOMEPATH + "$HOME/.rim/" + file;
if (path.existsSync(p)) {
return p;
}
} else if (os.type().toLowerCase().indexOf() >= 0) {
// Try Mac OS location
p = process.env.HOME + "$HOME/.rim/" + file;
if (path.existsSync(p)) {
return p;
}
}
}
_self = {
getKeyStorePath : function () {
// Todo: decide where to put sigtool.p12 which is genereated and used in WebWorks SDK for Tablet OS
return getDefaultPath(AUTHOR_P12);
},
getCskPath : function () {
return getDefaultPath(CSK);
},
getDbPath : function () {
return getDefaultPath(DB);
}
};
module.exports = _self;
the error i get is
[INFO] Populating application source
[INFO] Parsing config.xml
[ERROR] Cannot sign application - failed to find signing key file: author.p12
I know how to do it on windows. I just want to port it over to linux to prove the point that there is demand for support for linux.