You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2012/09/14 20:18:07 UTC
[jira] [Created] (CB-1468) Windows Create Script does not build
latest Cordova source
Joe Bowser created CB-1468:
------------------------------
Summary: Windows Create Script does not build latest Cordova source
Key: CB-1468
URL: https://issues.apache.org/jira/browse/CB-1468
Project: Apache Cordova
Issue Type: Bug
Affects Versions: 2.1.0
Reporter: Joe Bowser
Priority: Critical
Fix For: 2.2.0
The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not build
latest Cordova source
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-1468:
---------------------------
Component/s: Android
> Windows Create Script does not build latest Cordova source
> ----------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Priority: Critical
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not support
paths with spaces
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anis Kadri resolved CB-1468.
----------------------------
Resolution: Fixed
tests pass
> Windows Create Script does not support paths with spaces
> --------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Environment: Windows 7 Ultimate
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not build
latest Cordova source
Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459845#comment-13459845 ]
Jukka Zitting commented on CB-1468:
-----------------------------------
It's a bad idea to hardcode the URL of a specific release on a specific mirror. A better alternative is to use the central Maven repository that supports stable URLs for a huge number of jars. Commons-codec 1.7 is at http://central.maven.org/maven2/commons-codec/commons-codec/1.7/commons-codec-1.7.jar.
> Windows Create Script does not build latest Cordova source
> ----------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Priority: Critical
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not
support paths with spaces
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459888#comment-13459888 ]
Joe Bowser edited comment on CB-1468 at 9/21/12 6:41 AM:
---------------------------------------------------------
Tested on C:\phonegap. Create acutally works, but the tests are broken!
{code}
C:\phonegap\incubator-cordova-android>node bin\tests\test_create_win.js
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Creating new android project...
Building jar and js files...
Copying template files...
Copying js, jar & config.xml files...
Copying cordova command tools...
Updating AndroidManifest.xml and Main Activity...
path.exists is now called `fs.exists`.
Caught exception: AssertionError: plugins.xml did not get created
Caught exception: AssertionError: plugins.xml did not get created
Caught exception: AssertionError: cordova.jar did not get added
Caught exception: AssertionError: cordova.js did not get added
Caught exception: AssertionError: Cordova Android Project does not compile
{code}
was (Author: bowserj):
Tested on C:\phonegap. Create acutally works, but the tests are broken!
{{code}}
C:\phonegap\incubator-cordova-android>node bin\tests\test_create_win.js
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Creating new android project...
Building jar and js files...
Copying template files...
Copying js, jar & config.xml files...
Copying cordova command tools...
Updating AndroidManifest.xml and Main Activity...
path.exists is now called `fs.exists`.
Caught exception: AssertionError: plugins.xml did not get created
Caught exception: AssertionError: plugins.xml did not get created
Caught exception: AssertionError: cordova.jar did not get added
Caught exception: AssertionError: cordova.js did not get added
Caught exception: AssertionError: Cordova Android Project does not compile
{{code}}
> Windows Create Script does not support paths with spaces
> --------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not support
paths with spaces
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460045#comment-13460045 ]
Anis Kadri commented on CB-1468:
--------------------------------
Hey can you give this another try ? I updated the script and the tests.
> Windows Create Script does not support paths with spaces
> --------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not support
paths with spaces
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460058#comment-13460058 ]
Anis Kadri commented on CB-1468:
--------------------------------
It seems to work for me :-/
{code}
C:\Users\anis\cordova>cd "MY STUPID LONG FOLDER WITH BLOODY LONG SPACES"
C:\Users\anis\cordova\MY STUPID LONG FOLDER WITH BLOODY LONG SPACES>..\incubator
-cordova-android\bin\create
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Creating new android project...
Building jar and js files...
Copying template files...
Copying js, jar & config.xml files...
Copying cordova command tools...
Updating AndroidManifest.xml and Main Activity...
C:\Users\anis\cordova\MY STUPID LONG FOLDER WITH BLOODY LONG SPACES>
{code}
I checked config.xml, cordova.js, etc...and they're all in there.
> Windows Create Script does not support paths with spaces
> --------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not build
latest Cordova source
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459880#comment-13459880 ]
Joe Bowser commented on CB-1468:
--------------------------------
Here's the output of the test. Note that my username has a space in it.
{code}
C:\Users\Joe Bowser\phonegap\incubator-cordova-android>node bin\tests\test_creat
e_win.js
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Creating new android project...
Building jar and js files...
Copying template files...
Copying js, jar & config.xml files...
Copying cordova command tools...
Updating AndroidManifest.xml and Main Activity...
path.exists is now called `fs.exists`.
Caught exception: AssertionError: plugins.xml did not get created
Caught exception: AssertionError: plugins.xml did not get created
Caught exception: AssertionError: cordova.jar did not get added
Caught exception: AssertionError: cordova.js did not get added
Caught exception: AssertionError: cordova script did not get added
Caught exception: AssertionError: debug script did not get added
Caught exception: AssertionError: BOOM script did not get added
Caught exception: AssertionError: log script did not get added
Caught exception: AssertionError: clean script did not get added
Caught exception: AssertionError: emulate script did not get added
Caught exception: AssertionError: appinfo.jar script did not get added
Caught exception: AssertionError: Cordova Android Project does not compile
{code}
> Windows Create Script does not build latest Cordova source
> ----------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Priority: Critical
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not support
paths with spaces
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-1468:
---------------------------
Environment: Windows 7 Ultimate
> Windows Create Script does not support paths with spaces
> --------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Environment: Windows 7 Ultimate
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not build
latest Cordova source
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser reassigned CB-1468:
------------------------------
Assignee: Anis Kadri
Can you document how you debug this, or at least make it not fail silently? I have to guess to figure out what is going on with this script.
> Windows Create Script does not build latest Cordova source
> ----------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Priority: Critical
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not support
paths with spaces
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13459888#comment-13459888 ]
Joe Bowser commented on CB-1468:
--------------------------------
Tested on C:\phonegap. Create acutally works, but the tests are broken!
{{code}}
C:\phonegap\incubator-cordova-android>node bin\tests\test_create_win.js
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Creating new android project...
Building jar and js files...
Copying template files...
Copying js, jar & config.xml files...
Copying cordova command tools...
Updating AndroidManifest.xml and Main Activity...
path.exists is now called `fs.exists`.
Caught exception: AssertionError: plugins.xml did not get created
Caught exception: AssertionError: plugins.xml did not get created
Caught exception: AssertionError: cordova.jar did not get added
Caught exception: AssertionError: cordova.js did not get added
Caught exception: AssertionError: Cordova Android Project does not compile
{{code}}
> Windows Create Script does not support paths with spaces
> --------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not build
latest Cordova source
Posted by "Steve Gill (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456296#comment-13456296 ]
Steve Gill commented on CB-1468:
--------------------------------
I think this is an issue on Mac as well. I believe the download link for the commons codec is broken. A new version of the codec (1.7) was released today. This is probably the reason why. We need to retag if this is the case.
> Windows Create Script does not build latest Cordova source
> ----------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Priority: Critical
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not build
latest Cordova source
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457229#comment-13457229 ]
Joe Bowser commented on CB-1468:
--------------------------------
This is uniquely a Windows issue. I'll create and close the Mac issue related to the new version of the codec. We'll probably look at releasing a minor non-Apache release for this.
> Windows Create Script does not build latest Cordova source
> ----------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Priority: Critical
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not support
paths with spaces
Posted by "Anis Kadri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13460048#comment-13460048 ]
Anis Kadri commented on CB-1468:
--------------------------------
Oh I forgot about spaces. I will look into it now.
> Windows Create Script does not support paths with spaces
> --------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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-1468) Windows Create Script does not support
paths with spaces
Posted by "Joe Bowser (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Bowser updated CB-1468:
---------------------------
Priority: Major (was: Critical)
Summary: Windows Create Script does not support paths with spaces (was: Windows Create Script does not build latest Cordova source)
> Windows Create Script does not support paths with spaces
> --------------------------------------------------------
>
> Key: CB-1468
> URL: https://issues.apache.org/jira/browse/CB-1468
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 2.1.0
> Reporter: Joe Bowser
> Assignee: Anis Kadri
> Fix For: 2.2.0
>
>
> The build fails silently, and while the Android project is created, there is no cordova-2.1.0.jar copied in the libs directory. Cordova does compile when the project is working normally.
--
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