[
https://issues.apache.org/jira/browse/CB-4316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13726276#comment-13726276
]
Benjamin Clot edited comment on CB-4316 at 8/1/13 10:35 AM:
------------------------------------------------------------
I just updated all modules: although it's now downloading 3.0.0 (final), the
exact same thing still happens, that is my last log line is "Requesting
https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=snapshot;h=3.0.0;sf=tgz..."
and I get a *partially untarred folder* in
"C:\Users\Benjamin\.cordova\lib\android\cordova\3.0.0\cordova-android-3.0.0-d0b3f41".
As far as I'm concerned, the culprit is either the request.get() or the
tar.Extract() operation, because if I manually extract
"cordova-android-3.0.0-d0b3f41.tar.gz" to
"C:\Users\Benjamin\.cordova\lib\android\cordova\3.0.0", then run the build
command, it works.
Is the tar downloaded somewhere then extracted or is decompressing done on the
fly?
*EDIT*
Something strange just happened. I was browsing through the request module and
added a {{console.log(this);}} to line 1173 (beginning of the pipe function).
Then I ran the {{cordova --verbose build android}} command and:
# pipe was called only once (although there are two instances in
{{lazy-load.js}}, one to create the unzip, one to untar)
# the file downloaded and extracted successfully and the build passed.
One a related matter: why is there no request module in my npm_modules in
phonegap, when there is one in cordova? (and both seem to use it)
was (Author: bclot):
I just updated all modules: although it's now downloading 3.0.0 (final),
the exact same thing still happens, that is my last log line is "Requesting
https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=snapshot;h=3.0.0;sf=tgz..."
and I get a *partially untarred folder* in
"C:\Users\Benjamin\.cordova\lib\android\cordova\3.0.0\cordova-android-3.0.0-d0b3f41".
As far as I'm concerned, the culprit is either the request.get() or the
tar.Extract() operation, because if I manually extract
"cordova-android-3.0.0-d0b3f41.tar.gz" to
"C:\Users\Benjamin\.cordova\lib\android\cordova\3.0.0", then run the build
command, it works.
Is the tar downloaded somewhere then extracted or is decompressing done on the
fly?
*EDIT*
Something strange just happened. I was browsing through the request module and
added a {{console.log(this);}} to line 1173 (beginning of the pipe function).
Then I ran the {{cordova --verbose build android}} command and:
# pipe was called only once (although there are two instances in
{{lazy-load.js}}, one to create the unzip, one to untar)
# the file downloaded and extracted successfully and the build passed.
> Android library not getting properly downloaded/installed
> ---------------------------------------------------------
>
> Key: CB-4316
> URL: https://issues.apache.org/jira/browse/CB-4316
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, CLI
> Affects Versions: 3.0.0
> Environment: Windows 8
> Reporter: Benjamin Clot
> Assignee: Michael Brooks
>
> This a follow-up to [this
> issue|https://github.com/mwbrooks/phonegap-cli/issues/77#issuecomment-21170828]
> on the PhoneGap CLI GitHub.
> Basically, after running {{cordova --verbose platform add android}}, I get
> downloading <url> and requesting <url> but then it stops and I only have a
> {{%userdir%\.cordova\lib\android\cordova\3.0.0rc1\cordova-android-3.0.0rc1-25bb215}}
> directory.
--
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