You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2012/10/17 20:16:08 UTC

[jira] [Created] (CB-1668) Refactor project template scripts.

Andrew Grieve created CB-1668:
---------------------------------

             Summary: Refactor project template scripts.
                 Key: CB-1668
                 URL: https://issues.apache.org/jira/browse/CB-1668
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
    Affects Versions: Master
            Reporter: Andrew Grieve
            Priority: Minor
             Fix For: 2.3.0


Relevant mailing-list discussion:
http://markmail.org/thread/znkkjmwgoc23lhhq

The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.

The main operations:
- build (full or incremental) (other scripts depend on this)
- run (on device / on emulator / in ripple)
- package (for app-store purposes)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (CB-1668) Refactor project template scripts.

Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anis Kadri updated CB-1668:
---------------------------

    Description: 
Relevant mailing-list discussion:
http://markmail.org/thread/znkkjmwgoc23lhhq

The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.

The main operations:
- build (full or incremental) (other scripts depend on this)
- run (on device / on emulator / in ripple)
- release (for app-store purposes)


  was:
Relevant mailing-list discussion:
http://markmail.org/thread/znkkjmwgoc23lhhq

The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.

The main operations:
- build (full or incremental) (other scripts depend on this)
- run (on device / on emulator / in ripple)
- package (for app-store purposes)


    
> Refactor project template scripts.
> ----------------------------------
>
>                 Key: CB-1668
>                 URL: https://issues.apache.org/jira/browse/CB-1668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Anis Kadri
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Relevant mailing-list discussion:
> http://markmail.org/thread/znkkjmwgoc23lhhq
> The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.
> The main operations:
> - build (full or incremental) (other scripts depend on this)
> - run (on device / on emulator / in ripple)
> - release (for app-store purposes)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1668) Refactor project template scripts.

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502170#comment-13502170 ] 

Filip Maj commented on CB-1668:
-------------------------------

Way ahead of you :)

{{npm install cordova}}
                
> Refactor project template scripts.
> ----------------------------------
>
>                 Key: CB-1668
>                 URL: https://issues.apache.org/jira/browse/CB-1668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Anis Kadri
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Relevant mailing-list discussion:
> http://markmail.org/thread/znkkjmwgoc23lhhq
> The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.
> The main operations:
> - build (full or incremental) (other scripts depend on this)
> - run (on device / on emulator / in ripple)
> - package (for app-store purposes)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1668) Refactor project template scripts.

Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502168#comment-13502168 ] 

Anis Kadri commented on CB-1668:
--------------------------------

http://github.com/filmaj/cordova-client
                
> Refactor project template scripts.
> ----------------------------------
>
>                 Key: CB-1668
>                 URL: https://issues.apache.org/jira/browse/CB-1668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Anis Kadri
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Relevant mailing-list discussion:
> http://markmail.org/thread/znkkjmwgoc23lhhq
> The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.
> The main operations:
> - build (full or incremental) (other scripts depend on this)
> - run (on device / on emulator / in ripple)
> - package (for app-store purposes)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1668) Refactor project template scripts.

Posted by "Michiel Staessen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501808#comment-13501808 ] 

Michiel Staessen commented on CB-1668:
--------------------------------------

While we're at it, can we not also bring the scripts in one common namespace?
I was thinking of

    cordova create --target ios ... ... ...

I would like to add the template scripts to my $PATH but right now, it is causing name clashes or, when symlinking, doesn't work without rewrite of the scripts (hardcoding locations).

It would be nice to be able to do 

    brew install cordova

on a mac or 

    apt-get install cordova

on debian/ubuntu. 

                
> Refactor project template scripts.
> ----------------------------------
>
>                 Key: CB-1668
>                 URL: https://issues.apache.org/jira/browse/CB-1668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Anis Kadri
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Relevant mailing-list discussion:
> http://markmail.org/thread/znkkjmwgoc23lhhq
> The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.
> The main operations:
> - build (full or incremental) (other scripts depend on this)
> - run (on device / on emulator / in ripple)
> - package (for app-store purposes)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (CB-1668) Refactor project template scripts.

Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anis Kadri reassigned CB-1668:
------------------------------

    Assignee: Anis Kadri
    
> Refactor project template scripts.
> ----------------------------------
>
>                 Key: CB-1668
>                 URL: https://issues.apache.org/jira/browse/CB-1668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Anis Kadri
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Relevant mailing-list discussion:
> http://markmail.org/thread/znkkjmwgoc23lhhq
> The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.
> The main operations:
> - build (full or incremental) (other scripts depend on this)
> - run (on device / on emulator / in ripple)
> - package (for app-store purposes)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Comment Edited] (CB-1668) Refactor project template scripts.

Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501601#comment-13501601 ] 

Anis Kadri edited comment on CB-1668 at 11/21/12 2:58 AM:
----------------------------------------------------------

build and run were added to iOS and android

On Android:

- _./cordova/build_ only builds the app. It does not install/launch
- _./cordova/run_ cleans, builds and launches the app on a device if it's attached. If no devices are attached it launches the emulator, and runs the app in it. If there are multiple devices/emulators running it gives the option to select which device or emulator to run the app on. If no choice is provided within 5 seconds it just launches on the first available device or emulator.
- _./cordova/BOOM_ was removed

on iOS:

- Just renamed _debug_ to _build_
- Left _emulate_ in there but added _run_ which is the same thing.

Remaining:

- Blackberry
- Package command
                
      was (Author: anis):
    build and run were added to iOS and android

On Android:

- _./cordova/build_ only builds the app. It does not install/launch
- _./cordova/run_ cleans, builds and launches the app on a device if it's attached. If no devices are attached it launches the emulator, and runs the app in it. If there are multiple devices/emulators running it gives the option to select which device or emulator to run the app on. If no choice is provided within 5 seconds it just launches on the first available device or emulator.
- _./cordova/BOOM_ was removed

on iOS:

- Just renamed _debug_ to _build_
- Left _emulate_ in there but added _run_ which is the same thing.

Remaining:

- Blackberry
- Package command
- Android Windows
                  
> Refactor project template scripts.
> ----------------------------------
>
>                 Key: CB-1668
>                 URL: https://issues.apache.org/jira/browse/CB-1668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Anis Kadri
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Relevant mailing-list discussion:
> http://markmail.org/thread/znkkjmwgoc23lhhq
> The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.
> The main operations:
> - build (full or incremental) (other scripts depend on this)
> - run (on device / on emulator / in ripple)
> - package (for app-store purposes)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (CB-1668) Refactor project template scripts.

Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501601#comment-13501601 ] 

Anis Kadri commented on CB-1668:
--------------------------------

build and run were added to iOS and android

On Android:

- _./cordova/build_ only builds the app. It does not install/launch
- _./cordova/run_ cleans, builds and launches the app on a device if it's attached. If no devices are attached it launches the emulator, and runs the app in it. If there are multiple devices/emulators running it gives the option to select which device or emulator to run the app on. If no choice is provided within 5 seconds it just launches on the first available device or emulator.
- _./cordova/BOOM_ was removed

on iOS:

- Just renamed _debug_ to _build_
- Left _emulate_ in there but added _run_ which is the same thing.

Remaining:

- Blackberry
- Package command
- Android Windows
                
> Refactor project template scripts.
> ----------------------------------
>
>                 Key: CB-1668
>                 URL: https://issues.apache.org/jira/browse/CB-1668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Anis Kadri
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Relevant mailing-list discussion:
> http://markmail.org/thread/znkkjmwgoc23lhhq
> The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.
> The main operations:
> - build (full or incremental) (other scripts depend on this)
> - run (on device / on emulator / in ripple)
> - package (for app-store purposes)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (CB-1668) Refactor project template scripts.

Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anis Kadri resolved CB-1668.
----------------------------

    Resolution: Fixed
    
> Refactor project template scripts.
> ----------------------------------
>
>                 Key: CB-1668
>                 URL: https://issues.apache.org/jira/browse/CB-1668
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Bada, BlackBerry, iOS, Tizen, webOS, Windows 8, WP7
>    Affects Versions: Master
>            Reporter: Andrew Grieve
>            Assignee: Anis Kadri
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> Relevant mailing-list discussion:
> http://markmail.org/thread/znkkjmwgoc23lhhq
> The cordova/* scripts need some attention. Their names reflect what they do, and they should be consistent across platforms.
> The main operations:
> - build (full or incremental) (other scripts depend on this)
> - run (on device / on emulator / in ripple)
> - release (for app-store purposes)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira