Cordova doesn't get submodule of a hash-referenced github plugin?


#1

I forked cordova-plugin-meteor-webapp. I changed a file, pushed it to my fork, and switched my cordova build to use my fork instead of the local file system version of the plugin.

The build now fails because it isn’t getting the GCDWebServer submodule when it does the build. I tried forking that, too, it didn’t work. I’m not changing the submodule and it is initialized and present in my local repo fork of webapp.

=> Errors executing Cordova commands:

While adding plugin
https://github.com/RealHandy/cordova-plugin-meteor-webapp.git#22a8d3b2f861b4263f88ed46010f8ff79e1736de to Cordova
project:
Uh oh!

“/Users/opx/vium/.meteor/local/cordova-build/plugins/cordova-plugin-meteor-webapp/src/ios/GCDWebServer/GCDWebServer/Core/GCDWebServer.m”
not found!

Anyone have an idea why meteor isn’t pulling down the submodule when doing the build?


#2

Hi! I have same issue. Have you found a solution for this?


#3

@mslobodan Never heard a word about it. I forgot I even posted this, just found it while looking for something else.


#4

Oh, I did work around it though – I just copied the GCDWebServer repo folder as needed into my project’s folder at the proper place.


#5

Yeah, I figure it out as well. Anyway, I think Cordova should fix this, they should fetch git submodules as well.
This issue is present only in hash-referenced github plugins.