Erik Brommers created CB-5004:
---------------------------------
Summary: Can't build Android from multiple platforms
Key: CB-5004
URL: https://issues.apache.org/jira/browse/CB-5004
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 3.0.0
Environment: Linux (Ubuntu 13.04), Windows 7, OS X (10.8.5); cordova
3.0.9, Android
Reporter: Erik Brommers
We're starting to set up Apache Cordova in a heterogeneous development
environment -- several Macs and PCs running a combination of Linux, Windows 7
and OS X, with the code being synched via DVCS (GitHub).
With the Windows Phone and iOS platforms, it's fairly straightforward. Create
the platform on the development OS that supports it, and only use that single
development OS for the mobile app platform. With Android, however, we're
running into some weirdness with the build. Here's the scenario:
1. On a Windows machine, drop down to the command line and run "cordova
platforms add android". Build to your heart's content and commit the changes to
Git.
2. On a Linux or OS X machine, pull the sources down and attempt a "cordova
build android".
--> build fails due to the build script being a .bat file.
It would be great if the call to "cordova platforms add android" could emit the
proper build scripts for Windows, Linux and OS X regardless of what platform
it's being run on. That way work that's being done on one machine could be
continued on another machine without having to remove / recreate the android
platform.
--
This message was sent by Atlassian JIRA
(v6.1#6144)