1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 05:02:26 -05:00
Commit Graph

53 Commits

Author SHA1 Message Date
ashley willis
cb715387b5 summary: updated build.xml and tests/build.xml.
build.xml and tests/build.xml:
  updated general format to match what is generated in a new project.
  moved targets common to both to build_common.xml.
  replaced some exec calls (perl, mv) and inline javascript with ant tasks (including extensions from Android and ant-contrib).

build.xml:
  fixed indentation.
  privatized targets that don't need to be called directly from command-line.
  renamed some properties.

tests/build.xml:
  renamed test project from K9 to K9Tests.

tools/ant-contrib.jar:
  new!

.gitignore:
  added note about local per-repo rules.
2012-06-01 15:41:14 -05:00
ashley willis
a0ee0b1561 summary: updated build scripts for testing.
.gitignore:
  added files created by new targets.

build.xml:
  removed targets install and reinstall.
  modified target help to depend on android_rules.help and only explain targets defined here.
  updated target javadoc.
  added targets lint-xml, lint-html, and monkey.
  added private target -pre-clean to remove files created by new targets.

tests/AndroidManifest.xml:
  updated note on running the tests.

tests/ant.properties:
  removed test.runner as target test is now overridden.

tests/build.xml:
  removed target test-report as it is now integrated with overridden target test.
  overrode target test to disable deleting coverage.em and use the new test runner.
  overrode target help to depend on android_rules.help and only explain targets defined here.
  added targets javadoc, lint-xml, lint-html, and artifacts.
  added private target -pre-clean to remove files created by new targets.

tests/clean-tests.sh:
  new sh script to run through all the tests.
2012-05-30 18:02:57 -05:00
ashley willis
2674079fc0 removed stylesheets from javadoc target, as not found on cloudbees. they weren't quite right, anyway. 2012-05-23 21:34:00 -05:00
ashley willis
2ffc18f224 Replaced android.test.InstrumentationTestRunner with com.zutubi.android.junitreport.JUnitReportTestRunner.
Create javadoc/ directory when doing "ant javadoc". Fixed installing debug builds with ant.

"ant -f tests/build.xml debug && ant -f tests/build.xml installt test test-report" compiles, installs, tests,
and saves output to tests/junit-report.xml.
2012-05-23 21:16:12 -05:00
ashley willis
820c16ca94 added javadoc target to build.xml 2012-05-20 00:56:05 -05:00
cketti
8f4ede0c79 Updated astyle rules 2012-04-25 17:02:24 +00:00
Jesse Vincent
da7f2a2943 update our upload target for sdk 16 2012-01-17 17:50:25 -08:00
Jesse Vincent
5c9b1db459 fix the push-tags target 2012-01-17 17:47:20 -08:00
Jesse Vincent
188a9fd070 Upgrade us to android-14 infrastructure
(Backport from Kaiten)

Conflicts:

	build.xml
	default.properties
	plugins/ActionBar/project.properties
	plugins/QuickAction/project.properties
	plugins/SplitView/ant.properties
	plugins/SplitView/build.xml
	plugins/SplitView/local.properties
	plugins/SplitView/proguard.cfg
	plugins/SplitView/project.properties
	project.properties
2011-10-27 12:41:24 -04:00
Fiouz
27e996b5f7 Don't force Eclipse settings on users
Ant target to setup the Eclipse .settings directory with predefined settings
2011-06-10 20:25:40 +02:00
Jesse Vincent
996646e33a fix a bug in our git-tag target. 2011-04-08 14:03:04 +10:00
Jesse Vincent
0f896ff606 fix our bump-version to push only the current tag 2011-03-29 12:24:19 +08:00
Jesse Vincent
5cc80372bc Fixes to the bump-version target 2011-02-13 14:29:41 -05:00
Jesse Vincent
4f77063755 fix our install target to match the new world order 2011-02-08 19:34:53 -05:00
Jesse Vincent
b50a4f7528 partial update of build.xml to match the current AOSP standard.
More work needed before we get to use their test harness :/
2011-02-08 19:34:53 -05:00
Jesse Vincent
df5c44cc33 Add the astyle target 2011-02-06 15:08:09 -05:00
Jesse Vincent
c1df45414f git push --tags 2011-02-05 21:45:39 -05:00
Jesse Vincent
35fcbd3428 switch build infrastructure to git 2011-02-05 21:45:12 -05:00
Jesse Vincent
eb6e48c7bd Add support for building with precompiled JARs 2011-01-31 17:19:43 +00:00
Jesse Vincent
9fc60210db comment out a lib search path we don't appear to need that's
incompatible with the latest google sdk
2010-12-07 01:22:29 +00:00
Fiouz
e8f1584c78 Fix version-name variable name spelling (was version.name) in commit-version target 2010-11-18 20:00:51 +00:00
Jesse Vincent
3353e2711b yay! android changed build variables again 2010-10-05 06:17:47 +00:00
Jesse Vincent
ee62ab9138 typo fix in releng targets 2010-10-03 17:07:06 +00:00
Jesse Vincent
8797e2228f catch trying to set the version without passing a version 2010-10-03 17:05:16 +00:00
Jesse Vincent
bf9022403d defang new targets 2010-10-03 17:05:13 +00:00
Jesse Vincent
99a7015a5d further tweaks to our "upload" target 2010-10-03 17:05:10 +00:00
Jesse Vincent
56ffee1554 new releng targets for easier version bumping 2010-10-03 17:05:07 +00:00
Jesse Vincent
1516127b09 fixups to our upload step 2010-03-24 01:21:09 +00:00
Jesse Vincent
f349af5129 trying to get us back to "stock" build infrastructure 2010-03-24 01:11:49 +00:00
Jesse Vincent
9c9eb60993 Experimentally bump us up to the 2.0.1 SDK to use cketti's new code for addresses.
I'd bet 50% that we need to revert this in the end, but I wanted to get
a build out
2010-03-23 03:19:22 +00:00
Daniel Applebaum
d245e81679 Reorganize remote control pieces.
Automatically build jar file for external applications.
Create convenience functions in K9RemoteControl so that external
applications do not need to know the details of handling the Intents
and broadcasts.
Send a permission string in the broadcasts so that unauthorized
applications cannot intercept communication to authorized
applications, such as K-9 Mail.
2010-01-15 05:02:27 +00:00
Jesse Vincent
f31b2702a4 Massive rename to K9, step 1.
Conflicts:

	src/com/android/email/Email.java
2009-12-15 02:50:53 +00:00
Jesse Vincent
88e6c59e7e Get K-9 building on Java 1.5 again 2009-12-06 22:41:19 +00:00
Jesse Vincent
04e8c6a55c use the right variable when pushing to gcode 2009-11-24 18:11:26 +00:00
Jesse Vincent
50c6dcc992 give myself a release-to-gcode target 2009-11-24 17:52:08 +00:00
Jesse Vincent
8ef734c1bd Make release builds include the version number from the manifest 2009-11-24 17:51:56 +00:00
Jesse Vincent
dc30d2c0a8 add an automated zipalign step to our build process 2009-11-24 16:32:39 +00:00
Jesse Vincent
85c04241c0 upgrade to "android 1.6, but still works on 1.5" 2009-11-14 20:28:28 +00:00
Jesse Vincent
a54d1c2098 Fixes to build.xml to actually be able to sign a jar in the 1.5 world order. 2009-09-22 13:48:21 +00:00
Bao-Long Nguyen-Trong
e4bc34ee82 . Added clean target
. Moved JAR representing code classes already in AOP so that they are not in our APK anymore. They get blocked out anyway at install time
2009-09-15 05:21:55 +00:00
Bao-Long Nguyen-Trong
f6b4cbc43e . Fixed sdk 1.5 build and made it the default one
. Imported JARs for classes not exposed in teh sdk anymore
  . Imported src code from Android core for for classes not exposed in the sdk anymore
  . Updated MessageView implementation of UrlInterceptHandler modified in sdk 1.5 (pls review)
2009-06-06 15:46:17 +00:00
Daniel Applebaum
3e90811a20 Add explicit memory argument for dex build 2009-03-10 18:57:15 +00:00
Daniel Applebaum
3804ec3add Changed Java compilation to have debug flag set. This will include
line numbers in the stack traces saved to K9-errors.  Please watch for
speed or size problems caused by this change.  DAmail ran with debug
compilation, and I didn't see any problems, but there might be
something I missed.
2009-01-07 06:15:46 +00:00
Jesse Vincent
a46db15740 I'm an idiot. it really should be fsckcom 2008-12-31 05:01:43 +00:00
Jesse Vincent
98caac7048 fsck.com instead of fsckcom 2008-12-31 04:54:58 +00:00
Bradley Young
14e6b87ee7 This is a working semi-deforked application. i.e. most of it is still in the com.android.email namespace, but choice bits are in com.fsck.k9 so that it won't try to overwrite the builtin client.
Changes: corrected the package (or something equally simple for K9.java
build.xml has an additional stanza that copies the R.java file from fsck to android namespace, and changes the package inside the file.
AndroidManifest.xml has the package set to fsck, and all the activities are now explicity named.
2008-12-19 00:14:49 +00:00
Jesse Vincent
28e8827827 Even more progressive rename/unfork work 2008-12-16 23:34:01 +00:00
Jesse Vincent
d95d00ad84 Switch our SDK to live in $ENV{ANDROID_SDK} 2008-11-02 05:51:00 +00:00
Jesse Vincent
cb967cdd35 automate signature of release jars 2008-11-01 06:04:15 +00:00
Jesse Vincent
45a5535b4e Clean up the build file to autoinclude the libpath we need 2008-10-31 22:40:00 +00:00