Martin Gonzalez Glez wrote:
>https://issues.apache.org/jira/browse/CB-6415
SoŠ I was the one who tried to implement this thing.
I probably failed to implement it the way something was expecting, but I
implemented it the way I was expecting things to work.
Before we spend time making changes, I¹m hoping someone can explain how
they envision this to work.
Personally, I expect .cordova/config.json:
{
"lib": {
"blackberry10": {
"uri": "/tmp/blackberry10",
"version": "dev²,
"subdir": "",
"id": "blackberry10"
}
}
}
to overlay/mask other files such as platforms.js:
module.exports = {
Š
'blackberry10' : {
parser : './src/metadata/blackberry10_parser',
url :
'https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git',
version: '3.4.0',
subdirectory: 'blackberry10'
},
Š
}
Apparently, it doesn¹t because `subdir` from config.json is totally
ignored.
BlackBerry has code in places which do a lot of `mixin` which would result
in stuff like this working w/o requiring all the strange logic that¹s
currently scattered through multiple files.
I¹m going to probably try (unfortunately not until near the end of the
month) replace the mess that¹s currently lying around w/ such mixin code,
which should result in things being considerably cleaner.
While we could land Martin¹s fix temporarily ‹ and then back it out later,
I¹m not a big fan of lots of backouts/changes which aren¹t in the right
direction.
Thoughts?