You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Alejandro Leiva (JIRA)" <ji...@apache.org> on 2012/06/14 21:59:42 UTC

[jira] [Created] (CB-921) ./bin/create don't copy correctly project content into new project directory

Alejandro Leiva created CB-921:
----------------------------------

             Summary: ./bin/create don't copy correctly project content into new project directory
                 Key: CB-921
                 URL: https://issues.apache.org/jira/browse/CB-921
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: Master
         Environment: Linux
            Reporter: Alejandro Leiva
            Assignee: Joe Bowser


Checkout current master and trying to create a new project the create script fail to copy correctly child directories under project/


Trace:

aleiva@lysergic:~/work/emergya/cordova-android$ ./bin/create ~/work/emergya/cordova-zip-android com.emergya.zip ZipDemo
+ set -e
+ PROJECT_PATH=/home/aleiva/work/emergya/cordova-zip-android
+ PACKAGE=com.emergya.zip
+ ACTIVITY=ZipDemo
+ android list targets
+ grep id: 
[...]

jar:
      [jar] Building jar: /home/aleiva/work/emergya/cordova-android/framework/cordova-1.8.0rc1.jar

BUILD SUCCESSFUL
Total time: 9 seconds
+ cd ../
+ cp -R ./bin/templates/project/cordova /home/aleiva/work/emergya/cordova-zip-android
+ cp ./framework/assets/www/cordova-1.8.0rc1.js /home/aleiva/work/emergya/cordova-zip-android/.cordova/android/cordova-1.8.0rc1.js
cp: cannot create regular file `/home/aleiva/work/emergya/cordova-zip-android/.cordova/android/cordova-1.8.0rc1.js': No such file or directory



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CB-921) ./bin/create don't copy correctly project content into new project directory

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

Alejandro Leiva updated CB-921:
-------------------------------

    Attachment: 0001-CB-921-.-bin-create-don-t-copy-correctly-project-con.patch

Fix using find instead of cp -R alone
                
> ./bin/create don't copy correctly project content into new project directory
> ----------------------------------------------------------------------------
>
>                 Key: CB-921
>                 URL: https://issues.apache.org/jira/browse/CB-921
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>         Environment: Linux
>            Reporter: Alejandro Leiva
>            Assignee: Joe Bowser
>              Labels: patch
>         Attachments: 0001-CB-921-.-bin-create-don-t-copy-correctly-project-con.patch
>
>
> Checkout current master and trying to create a new project the create script fail to copy correctly child directories under project/
> Trace:
> aleiva@lysergic:~/work/emergya/cordova-android$ ./bin/create ~/work/emergya/cordova-zip-android com.emergya.zip ZipDemo
> + set -e
> + PROJECT_PATH=/home/aleiva/work/emergya/cordova-zip-android
> + PACKAGE=com.emergya.zip
> + ACTIVITY=ZipDemo
> + android list targets
> + grep id: 
> [...]
> jar:
>       [jar] Building jar: /home/aleiva/work/emergya/cordova-android/framework/cordova-1.8.0rc1.jar
> BUILD SUCCESSFUL
> Total time: 9 seconds
> + cd ../
> + cp -R ./bin/templates/project/cordova /home/aleiva/work/emergya/cordova-zip-android
> + cp ./framework/assets/www/cordova-1.8.0rc1.js /home/aleiva/work/emergya/cordova-zip-android/.cordova/android/cordova-1.8.0rc1.js
> cp: cannot create regular file `/home/aleiva/work/emergya/cordova-zip-android/.cordova/android/cordova-1.8.0rc1.js': No such file or directory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CB-921) ./bin/create don't copy correctly project content into new project directory

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

Alejandro Leiva resolved CB-921.
--------------------------------

       Resolution: Fixed
    Fix Version/s: Master

Changed all the infrastructure of build. This bug don't make sense now.
                
> ./bin/create don't copy correctly project content into new project directory
> ----------------------------------------------------------------------------
>
>                 Key: CB-921
>                 URL: https://issues.apache.org/jira/browse/CB-921
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: Master
>         Environment: Linux
>            Reporter: Alejandro Leiva
>            Assignee: Joe Bowser
>              Labels: patch
>             Fix For: Master
>
>         Attachments: 0001-CB-921-.-bin-create-don-t-copy-correctly-project-con.patch
>
>
> Checkout current master and trying to create a new project the create script fail to copy correctly child directories under project/
> Trace:
> aleiva@lysergic:~/work/emergya/cordova-android$ ./bin/create ~/work/emergya/cordova-zip-android com.emergya.zip ZipDemo
> + set -e
> + PROJECT_PATH=/home/aleiva/work/emergya/cordova-zip-android
> + PACKAGE=com.emergya.zip
> + ACTIVITY=ZipDemo
> + android list targets
> + grep id: 
> [...]
> jar:
>       [jar] Building jar: /home/aleiva/work/emergya/cordova-android/framework/cordova-1.8.0rc1.jar
> BUILD SUCCESSFUL
> Total time: 9 seconds
> + cd ../
> + cp -R ./bin/templates/project/cordova /home/aleiva/work/emergya/cordova-zip-android
> + cp ./framework/assets/www/cordova-1.8.0rc1.js /home/aleiva/work/emergya/cordova-zip-android/.cordova/android/cordova-1.8.0rc1.js
> cp: cannot create regular file `/home/aleiva/work/emergya/cordova-zip-android/.cordova/android/cordova-1.8.0rc1.js': No such file or directory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira