Vladimir Kotikov
400282282f
CB-9782 Implements PlatformApi contract for Android platform.
...
This closes #226
2015-10-20 12:21:30 +03:00
Connor Pearson
dcff8794ad
CB-7827 Add --activity-name
for bin/create
...
Also adds in nopt
2015-02-25 14:23:26 -05:00
Andrew Grieve
a4c9bf7d30
CB-8358 Make --link an alias for --shared for create/update. Make it work with gradle
2015-01-26 10:07:14 -05:00
Andrew Grieve
5e0479e414
CB-5715 Add Eclipse .project file to create template.
...
Adds resource filter to hide CordovaLib/, platform_www/, and cordova/.
Adds linked resources to root www/, merges/, config.xml
2014-01-02 16:40:48 -05:00
Andrew Grieve
fd954adc81
CB-5232 Change create script to use Cordova as a library.
2013-11-15 13:17:56 -05:00
Braden Shepherdson
b57317bdc2
Refactoring Android project-level and platform scripts to use Q.js
...
This eliminates the use of shelljs.exec's sync mode, which is the source
of the filehandle leaks that can cause EMFILE on OSX, and are
CPU-intensive everywhere.
Tested locally, needs poking before it gets released.
2013-10-16 13:10:53 -04:00
Andrew Grieve
7c446b222d
[CB-3542] Convert update script to be node-based.
2013-09-13 22:49:15 -04:00
Andrew Grieve
7be1f018aa
[CB-3542] Commit bin/node_modules so that it doesn't need to be npm installed.
2013-09-10 16:58:28 -04:00
Benn Mapes
57bed98cf1
Added commit 150cdfd
, override arg for project template
...
Conflicts:
bin/create
2013-08-28 14:04:43 -07:00
Benn Mapes
b1d8788506
Fix for cli with new node scripts
2013-08-27 11:41:54 -07:00
Benn Mapes
1bd4900981
[CB-3542] rewrote cli tooling scripts in node
2013-08-26 14:45:28 -07:00
Ian Clelland
150cdfd3ac
[CB-4652] Allow default project template to be overridden on create
2013-08-23 13:04:19 -04:00
Fil Maj
b4236b9783
[CB-4198] bin/create script should be better at handling non-word characters in activity name. Patched windows script as well.
2013-07-25 10:33:05 -07:00
Fil Maj
980c4699b0
[CB-4198] bin/create should handle spaces in activity better.
2013-07-24 21:21:41 -07:00
Ian Clelland
546948cb8c
[CB-4154] Set default Android target to android-17
...
This is done in the default project.properties file, as well as the create
script for new projects.
2013-07-11 22:26:15 -04:00
Fil Maj
53cc381c76
removing unused script anymore from create.
2013-06-14 14:44:26 -07:00
Andrew Grieve
0e572aea36
[CB-3340] Add copying of the version script to bin/create
2013-05-29 10:23:00 -04:00
David Kemp
78efe2a960
CB-3358: Change Commons-codec:base64 to Android:Base64
2013-05-27 22:25:23 -04:00
Michal Mocny
8bfd45c095
[CB-3307] Fixing bin/create script due to cordova-$VERSION.js -> cordova.js change.
2013-05-13 10:30:02 -04:00
Joe Bowser
5d8d8e77f8
Merge branch 'cordova-lib' of git://github.com/bennmapes/cordova-android into scripts
2013-04-18 16:35:35 -07:00
Benn Mapes
4dee30ed84
[CB-2914] Cli script migration for unix bash
2013-04-18 16:34:52 -07:00
lorinbeer
383b3dadd5
[CB-3024] expanded help string for cl create script
2013-04-12 08:32:22 -07:00
Dave E
ee38b2ef03
Use pushd/popd instead of subshell
...
Improves the error message that happens when ant is not installed.
2013-03-14 12:31:56 -04:00
patrick kettner
2683803ef3
Add check for build targets in create script
...
I installed the android sdk via homebrew, which does not install any build targets by default.
That resulted in the create throwing the following somewhat cryptic error.
An unexpected error occurred: "$ANDROID_BIN" create project --target $TARGET --path "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited with 1
This just adds a check that the variables that are set to the values of the build targets are properly set, and exit if they are not.
2013-02-12 11:07:51 -05:00
Fil Maj
b870214cca
Fixes CB-2204: if bin/create fails, exit with code 1
2013-01-11 10:24:03 -08:00
Brian M Dube
c0ee593c10
[CB-1959] Display usage and exit when no arguments given
2012-12-02 21:21:24 -05:00
Anis Kadri
2ee4326a4d
updating create command
2012-11-22 22:23:51 -05:00
Anis Kadri
0084c6f96a
refactoring android commands
2012-11-22 22:23:51 -05:00
Anis Kadri
ccdd2fd2ca
CB-1809 create
script should print out meaningful error messages
2012-11-05 17:51:32 -08:00
alunny
4e0c8982c9
get commons-codec from apache archive, not osuosl
...
prevents the issue where, when a new release of commons-codec comes out,
`bin/create` stops working
2012-10-08 15:12:13 -07:00
Anis Kadri
d406e2ed22
merging conflict with create script
2012-09-28 17:43:26 -07:00
Anis Kadri
0bfc9935b2
CB-1359 simplifying API_LEVEL command
2012-09-28 17:41:12 -07:00
Joshua Granick
1bf12842ca
Allow for predefined ANDROID_BIN value, fix for paths with spaces
2012-09-27 14:05:01 -04:00
Josh Soref
ac4fc3e54e
Spelling: occurred
2012-09-17 22:09:51 -04:00
Anis Kadri
d859bb8e67
adding windows createAppInfoJar
2012-09-17 17:14:25 -07:00
Joe Bowser
9ba5bae34d
Updating commons-codec
2012-09-17 09:44:47 -07:00
Philipp Klose
dbfa2d7994
Change bin/create to use bash as shell
...
Fixes script on older Ubuntu versions.
2012-09-17 11:09:53 -04:00
Joe Bowser
20a19d67d0
Put this on the wrong branch
2012-09-13 11:44:09 -07:00
Anis Kadri
9ef487a7a5
fixing replace for mountain lion
2012-07-28 08:13:31 -07:00
Anis Kadri
7865c06863
CB-1148 fix for directories with spaces
2012-07-27 18:30:39 -07:00
Anis Kadri
0ccd11e587
CB-1031 android create script fails
2012-07-11 14:00:42 -07:00
Anis Kadri
99fb3ebe00
creating project without source
2012-06-26 17:34:19 -07:00
Anis Kadri
570fc3cfb2
removing echoes
2012-06-25 14:46:10 -07:00
Anis Kadri
0aec2be4dd
updating bash create script and node test
2012-06-15 18:36:06 -07:00
Anis Kadri
0a4d218010
updating test for CB-916
2012-06-13 15:52:26 -07:00
Anis Kadri
55b1e40885
renaming create2
2012-06-08 10:36:10 -07:00
Anis Kadri
447af8da6a
removing old create and templates
2012-06-07 20:08:22 -07:00
Joe Bowser
7d0cc5837d
Auto detect whether we have the jar already. Also, just create the directory whether it exists or not
2012-05-29 14:34:14 -07:00
Steven Gill
b77f1cbff8
updated create script CB 839
2012-05-30 00:11:11 +10:00
Joe Bowser
c6349668dd
Tweaked create so it fetches the commons-codec using curl
2012-05-11 16:07:43 -07:00