Commit graph

114 commits

Author SHA1 Message Date
Daniel Martí
a9a947af86 Add functions to find apk and tarball paths 2013-10-19 12:21:47 +02:00
Daniel Martí
c631a3a8e1 Run maven's deploy like ant and gradle do 2013-10-16 23:34:51 +02:00
Daniel Martí
4bb3b77554 Don't remove non-Popen related declares 2013-10-16 23:34:32 +02:00
Daniel Martí
db80644fa6 Finish large reworking of Popen calls
Now we handle the output pipes via Queues, which means that long and verbose
builds (like navit) won't hang mercilessly during any of init=, prebuild=
build= or the build itself. This also removes redundancies.
2013-10-16 23:19:11 +02:00
Christopher
4ec9393759 Fixed Bug where long outputs to stderr during build process caused a hang 2013-10-16 23:19:11 +02:00
Daniel Martí
1b291a58d7 Fix some crashes with clean/build procedures 2013-10-11 17:14:42 +02:00
Daniel Martí
d7900e3c4b Fix output and error assignment error 2013-10-10 18:35:15 +02:00
Daniel Martí
1cf99754a4 Forgot to execute cleaning process 2013-10-10 17:52:17 +02:00
Daniel Martí
f9eda50276 Fix silly object name issue, also clean jni dirs 2013-10-10 16:30:32 +02:00
Daniel Martí
0bde32fd99 Be more consistent when doing cleans
All update dirs, including ., will remove baddirs.
Right before build=, (ant|maven|gradle) clean will run
2013-10-10 15:48:39 +02:00
Daniel Martí
0949395771 Be more consistent when running bash commands (fixes #365) 2013-10-09 23:37:53 +02:00
Daniel Martí
3c7ac336ae Always store ant/maven apk location output for regex 2013-10-02 22:28:20 +02:00
Daniel Martí
890a1adb6f Do not repeat stderr and stdout when -v/--verbose 2013-10-02 19:29:17 +02:00
Daniel Martí
89a4e17c3b Added myself to copyright notices 2013-09-28 21:06:33 +02:00
Daniel Martí
5adcd129f6 Always run 'clean' on ant and gradle projects too 2013-09-27 10:50:56 +02:00
Daniel Martí
b70bcbfd23 Sed signing configs out of build.gradle files 2013-09-22 23:26:48 +02:00
Daniel Martí
9257690f95 Allow for leading and trailing whitespaces in ';'-separated lists (e.g. update= abc ; def ; ...) 2013-09-11 13:45:02 +02:00
Daniel Martí
a5704e5655 Finish -v/--verbose output+error handling 2013-09-04 16:45:19 +02:00
Ciaran Gultnieks
712be5703d Fix output changes fixes 2013-09-04 08:18:16 +01:00
Daniel Martí
438c2dfa85 Fix ant builds with recent output changes 2013-09-02 23:14:12 +02:00
Daniel Martí
d59c0f64f9 maven=yes defaults to bindir=[subdir]/target 2013-09-02 19:05:13 +02:00
Daniel Martí
333c4af9f5 Revert "Always print output directly if -v/--verbose"
This reverts commit 9e09088245.
2013-09-01 17:45:09 +02:00
Daniel Martí
03b54e8506 Fixes to gradle builds
It now adapts/seds all build.gradle files under build_dir, i.e. the root dir
(even if subdir is used). This is very necessary when libraries are under
parent directories or when a father build.gradle file exists.
2013-09-01 11:56:57 +02:00
Daniel Martí
9e09088245 Always print output directly if -v/--verbose 2013-09-01 11:50:35 +02:00
Ciaran Gultnieks
68f399832d Correct old error message 2013-08-29 22:58:49 +01:00
Ciaran Gultnieks
0658a9b8ac Get non-interactive bash env right 2013-08-29 21:06:18 +01:00
Paul Sokolovsky
24af895915 Print progress messages as a build goes thru various stages.
Without this, we get bunch of messages at the start of build, which
end with "Applying patch", and then all the things hangs for several
minutes (or more, in case of network problems, etc). So, consistently
keep user aware od what's happening. Note that --verbose switch affects
deatiledness and amount of output (in particular, if it's given, "build"
command output goes to console instead of log).
2013-08-28 22:12:33 +03:00
Daniel Martí
09b76a0bf4 Add subdir support to gradle 2013-08-26 12:57:18 +02:00
Daniel Martí
b5ae1f2c85 Adapt all build.gradle files to be found. Add preassemble= 2013-08-22 18:28:30 +02:00
Ciaran Gultnieks
055a26d994 Send permissions to build server (issue #326) 2013-08-21 21:39:34 +01:00
Daniel Martí
b55060f4c7 Add support for gradle={main,yes,} 2013-08-17 15:16:13 +02:00
Daniel Martí
dfc10b64fc Fix gradle resulting apk path 2013-08-17 14:23:34 +02:00
Daniel Martí
4cb7e340d1 Small fix 2013-08-13 20:04:44 +02:00
Daniel Martí
bc27ebcb82 Implement --install for gradle, add compilesdk= 2013-08-13 15:20:11 +02:00
Daniel Martí
ece2ece071 Deprecate aapt_path in favour of sdk_path + build_tools 2013-08-08 13:00:02 +02:00
Daniel Martí
7d1f2b68b9 Proper apk path for gradle 2013-08-05 20:01:02 +02:00
Daniel Martí
f1c1971c88 join needs a list 2013-08-03 17:46:55 +02:00
Daniel Martí
e0174654f8 Try and feed the right gradle apk 2013-08-03 17:45:11 +02:00
Daniel Martí
dbe0d1ec26 Fix gradle command 2013-08-03 17:32:39 +02:00
Daniel Martí
946e42fe71 Try to fix subprocess crash 2013-08-03 17:19:23 +02:00
Daniel Martí
a5b8659632 New gradle=[flavour] field 2013-08-03 17:07:55 +02:00
Daniel Martí
a49b405780 Remove deprecated parameter 2013-07-31 19:51:02 +02:00
Frans Gifford
e0e6e711c3 Use config.py to locate aapt
This uses aapt_path in config.py to locate the aapt command. The latest
Android SDK moved aapt out of platform-tools/ causing builds which depend
on this path to fail.

Signed-off-by: Frans Gifford <frans.gifford@cs.ox.ac.uk>
2013-07-31 19:51:02 +02:00
Ciaran Gultnieks
73c3a78fc6 Wait a sec before snapshot 2013-07-31 17:39:56 +01:00
Daniel Martí
94e6e416a6 Build success specifies app and version now 2013-07-20 13:32:47 +02:00
Ciaran Gultnieks
c395e3ae68 Check error state suspending clean build server 2013-07-19 07:13:18 +01:00
Ciaran Gultnieks
81244971ae Transfer .fdroidvcs info to build server 2013-07-18 21:56:37 +01:00
Ciaran Gultnieks
e676e34c12 The novcheck option should not bypass package id checking 2013-07-15 14:14:24 +01:00
Ciaran Gultnieks
b5fd722911 Fix non-cached buildserver build-tools install 2013-07-10 16:45:34 +01:00
Ciaran Gultnieks
398cebd400 Compatibility with vagrant 1.2 2013-07-09 16:46:32 +01:00