You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Don Coleman <do...@gmail.com> on 2014/02/19 00:02:27 UTC
Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device
Cordova 3.3.1-0.4.2 can't find an deploy to locally attached devices.
$ cordova run blackberry10 --devicepass ffffff
Generating config.xml from defaults for platform "blackberry10"
Preparing blackberry10 project
Running app on platform "blackberry10" via command
"/Users/.../platforms/blackberry10/cordova/run" --devicepass 19034
Error: An error occurred while running the blackberry10 project.No
target exists, to add that target please run: target add <name> <ip> [-t |
--type <device | simulator>] [-p <password>] [--pin <devicepin>]
Windows 7 with 3.3.1-0.4.2 does the same thing.
Downgrading back to 3.3.1-0.1.2 fixes the problem on OS X
I'm hoping this is a bug and not intentional behavior? (Not a fan of target
add)
Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device
Posted by Don Coleman <do...@gmail.com>.
Bryan,
Adding --device works well for 3.3.1-0.4.2. The flag was also required to
get for 3.4.0-0.1.0 to deploy to the device.
- Don
On Wed, Feb 19, 2014 at 8:21 AM, Bryan Higgins <br...@bryanhiggins.net>wrote:
> Hi Don,
>
> CLI 3.3.1-0.4.2 changed the run command so that "--device" is no longer
> passed down to the platform scripts. BB10 relied upon this to start device
> detection. I did not notice any communication about this on the list.
> Perhaps the implementor didn't know enough about bb10 to know this would be
> a problem.
>
> For 3.4, I've updated cordova-blackberry to make this the default
> behaviour. In 3.3.1-0.4.2, you can work around by passing in "--device".
>
> I'll look into the issue you're seeing with release builds.
>
> Thanks,
> Bryan
>
>
> On Tue, Feb 18, 2014 at 8:10 PM, Don Coleman <do...@gmail.com>
> wrote:
>
> > It looks like 3.3.1-0.4.2 has more problems
> >
> > * release builds don't get the version number from config.xml
> > * release builds don't get use the launch icon from config.xml
> >
> > Is anyone using 3.4 with BB10?
> >
> >
> > On Tue, Feb 18, 2014 at 6:02 PM, Don Coleman <do...@gmail.com>
> > wrote:
> >
> > > Cordova 3.3.1-0.4.2 can't find an deploy to locally attached devices.
> > >
> > > $ cordova run blackberry10 --devicepass ffffff
> > >
> > > Generating config.xml from defaults for platform "blackberry10"
> > >
> > > Preparing blackberry10 project
> > >
> > > Running app on platform "blackberry10" via command
> > > "/Users/.../platforms/blackberry10/cordova/run" --devicepass 19034
> > >
> > > Error: An error occurred while running the blackberry10 project.No
> > > target exists, to add that target please run: target add <name> <ip>
> [-t
> > |
> > > --type <device | simulator>] [-p <password>] [--pin <devicepin>]
> > >
> > > Windows 7 with 3.3.1-0.4.2 does the same thing.
> > >
> > > Downgrading back to 3.3.1-0.1.2 fixes the problem on OS X
> > > I'm hoping this is a bug and not intentional behavior? (Not a fan of
> > > target add)
> > >
> >
>
Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device
Posted by Don Coleman <do...@gmail.com>.
I found the cause of these issues
* release builds don't get the version number from config.xml
* release builds don't get use the launch icon from config.xml
3.3.1-0.2.1 preferred www/config.xml over config.xml
3.3.1-0.4.2 preferred config.xml over www/config.xml
ensuring there was only www/config.xml fixed the issue
On Wed, Feb 19, 2014 at 8:37 AM, Bryan Higgins <br...@bryanhiggins.net>wrote:
> I could not reproduce your release builds issue on 3.3.1-0.4.2. Could you
> please file a JIRA with specifics?
>
>
> On Wed, Feb 19, 2014 at 8:21 AM, Bryan Higgins <bryan@bryanhiggins.net
> >wrote:
>
> > Hi Don,
> >
> > CLI 3.3.1-0.4.2 changed the run command so that "--device" is no longer
> > passed down to the platform scripts. BB10 relied upon this to start
> device
> > detection. I did not notice any communication about this on the list.
> > Perhaps the implementor didn't know enough about bb10 to know this would
> be
> > a problem.
> >
> > For 3.4, I've updated cordova-blackberry to make this the default
> > behaviour. In 3.3.1-0.4.2, you can work around by passing in "--device".
> >
> > I'll look into the issue you're seeing with release builds.
> >
> > Thanks,
> > Bryan
> >
> >
> > On Tue, Feb 18, 2014 at 8:10 PM, Don Coleman <don.coleman@gmail.com
> >wrote:
> >
> >> It looks like 3.3.1-0.4.2 has more problems
> >>
> >> * release builds don't get the version number from config.xml
> >> * release builds don't get use the launch icon from config.xml
> >>
> >> Is anyone using 3.4 with BB10?
> >>
> >>
> >> On Tue, Feb 18, 2014 at 6:02 PM, Don Coleman <do...@gmail.com>
> >> wrote:
> >>
> >> > Cordova 3.3.1-0.4.2 can't find an deploy to locally attached devices.
> >> >
> >> > $ cordova run blackberry10 --devicepass ffffff
> >> >
> >> > Generating config.xml from defaults for platform "blackberry10"
> >> >
> >> > Preparing blackberry10 project
> >> >
> >> > Running app on platform "blackberry10" via command
> >> > "/Users/.../platforms/blackberry10/cordova/run" --devicepass 19034
> >> >
> >> > Error: An error occurred while running the blackberry10 project.No
> >> > target exists, to add that target please run: target add <name> <ip>
> >> [-t |
> >> > --type <device | simulator>] [-p <password>] [--pin <devicepin>]
> >> >
> >> > Windows 7 with 3.3.1-0.4.2 does the same thing.
> >> >
> >> > Downgrading back to 3.3.1-0.1.2 fixes the problem on OS X
> >> > I'm hoping this is a bug and not intentional behavior? (Not a fan of
> >> > target add)
> >> >
> >>
> >
> >
>
Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device
Posted by Bryan Higgins <br...@bryanhiggins.net>.
I could not reproduce your release builds issue on 3.3.1-0.4.2. Could you
please file a JIRA with specifics?
On Wed, Feb 19, 2014 at 8:21 AM, Bryan Higgins <br...@bryanhiggins.net>wrote:
> Hi Don,
>
> CLI 3.3.1-0.4.2 changed the run command so that "--device" is no longer
> passed down to the platform scripts. BB10 relied upon this to start device
> detection. I did not notice any communication about this on the list.
> Perhaps the implementor didn't know enough about bb10 to know this would be
> a problem.
>
> For 3.4, I've updated cordova-blackberry to make this the default
> behaviour. In 3.3.1-0.4.2, you can work around by passing in "--device".
>
> I'll look into the issue you're seeing with release builds.
>
> Thanks,
> Bryan
>
>
> On Tue, Feb 18, 2014 at 8:10 PM, Don Coleman <do...@gmail.com>wrote:
>
>> It looks like 3.3.1-0.4.2 has more problems
>>
>> * release builds don't get the version number from config.xml
>> * release builds don't get use the launch icon from config.xml
>>
>> Is anyone using 3.4 with BB10?
>>
>>
>> On Tue, Feb 18, 2014 at 6:02 PM, Don Coleman <do...@gmail.com>
>> wrote:
>>
>> > Cordova 3.3.1-0.4.2 can't find an deploy to locally attached devices.
>> >
>> > $ cordova run blackberry10 --devicepass ffffff
>> >
>> > Generating config.xml from defaults for platform "blackberry10"
>> >
>> > Preparing blackberry10 project
>> >
>> > Running app on platform "blackberry10" via command
>> > "/Users/.../platforms/blackberry10/cordova/run" --devicepass 19034
>> >
>> > Error: An error occurred while running the blackberry10 project.No
>> > target exists, to add that target please run: target add <name> <ip>
>> [-t |
>> > --type <device | simulator>] [-p <password>] [--pin <devicepin>]
>> >
>> > Windows 7 with 3.3.1-0.4.2 does the same thing.
>> >
>> > Downgrading back to 3.3.1-0.1.2 fixes the problem on OS X
>> > I'm hoping this is a bug and not intentional behavior? (Not a fan of
>> > target add)
>> >
>>
>
>
Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device
Posted by Bryan Higgins <br...@bryanhiggins.net>.
Hi Don,
CLI 3.3.1-0.4.2 changed the run command so that "--device" is no longer
passed down to the platform scripts. BB10 relied upon this to start device
detection. I did not notice any communication about this on the list.
Perhaps the implementor didn't know enough about bb10 to know this would be
a problem.
For 3.4, I've updated cordova-blackberry to make this the default
behaviour. In 3.3.1-0.4.2, you can work around by passing in "--device".
I'll look into the issue you're seeing with release builds.
Thanks,
Bryan
On Tue, Feb 18, 2014 at 8:10 PM, Don Coleman <do...@gmail.com> wrote:
> It looks like 3.3.1-0.4.2 has more problems
>
> * release builds don't get the version number from config.xml
> * release builds don't get use the launch icon from config.xml
>
> Is anyone using 3.4 with BB10?
>
>
> On Tue, Feb 18, 2014 at 6:02 PM, Don Coleman <do...@gmail.com>
> wrote:
>
> > Cordova 3.3.1-0.4.2 can't find an deploy to locally attached devices.
> >
> > $ cordova run blackberry10 --devicepass ffffff
> >
> > Generating config.xml from defaults for platform "blackberry10"
> >
> > Preparing blackberry10 project
> >
> > Running app on platform "blackberry10" via command
> > "/Users/.../platforms/blackberry10/cordova/run" --devicepass 19034
> >
> > Error: An error occurred while running the blackberry10 project.No
> > target exists, to add that target please run: target add <name> <ip> [-t
> |
> > --type <device | simulator>] [-p <password>] [--pin <devicepin>]
> >
> > Windows 7 with 3.3.1-0.4.2 does the same thing.
> >
> > Downgrading back to 3.3.1-0.1.2 fixes the problem on OS X
> > I'm hoping this is a bug and not intentional behavior? (Not a fan of
> > target add)
> >
>
Re: Cordova 3.3.1-0.4.2 and BlackBerry 10 can't deploy to connected device
Posted by Don Coleman <do...@gmail.com>.
It looks like 3.3.1-0.4.2 has more problems
* release builds don't get the version number from config.xml
* release builds don't get use the launch icon from config.xml
Is anyone using 3.4 with BB10?
On Tue, Feb 18, 2014 at 6:02 PM, Don Coleman <do...@gmail.com> wrote:
> Cordova 3.3.1-0.4.2 can't find an deploy to locally attached devices.
>
> $ cordova run blackberry10 --devicepass ffffff
>
> Generating config.xml from defaults for platform "blackberry10"
>
> Preparing blackberry10 project
>
> Running app on platform "blackberry10" via command
> "/Users/.../platforms/blackberry10/cordova/run" --devicepass 19034
>
> Error: An error occurred while running the blackberry10 project.No
> target exists, to add that target please run: target add <name> <ip> [-t |
> --type <device | simulator>] [-p <password>] [--pin <devicepin>]
>
> Windows 7 with 3.3.1-0.4.2 does the same thing.
>
> Downgrading back to 3.3.1-0.1.2 fixes the problem on OS X
> I'm hoping this is a bug and not intentional behavior? (Not a fan of
> target add)
>