mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Update build HOWTO. Remove eclipse build cruft.
This commit is contained in:
parent
d0b8a416da
commit
ab1fb0930e
5 changed files with 9 additions and 61 deletions
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="src" path="gen"/>
|
||||
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
|
||||
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
|
||||
<classpathentry kind="output" path="bin/classes"/>
|
||||
</classpath>
|
3
clients/android/NewsBlur/.gitignore
vendored
3
clients/android/NewsBlur/.gitignore
vendored
|
@ -12,3 +12,6 @@ bin/
|
|||
.metadata/
|
||||
gen/
|
||||
libs/ActionBarSherlock/
|
||||
.settings/
|
||||
.classpath
|
||||
.project
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>NewsBlur</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>ActionBarSherlock</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
|
@ -1,11 +0,0 @@
|
|||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
|
@ -2,11 +2,9 @@
|
|||
|
||||
*an abridged version of the official guide found [here](https://developer.android.com/tools/building/building-cmdline.html)*
|
||||
|
||||
1. install java and ant
|
||||
2. download the Android SDK from [android.com](https://developer.android.com/sdk/index.html) (the full ADT bundle in fine, too)
|
||||
3. get the `tools/` and/or `platform-tools/` directories on your path
|
||||
4. `android update sdk --no-ui` (this could take a while)
|
||||
5. go to both of the following NewsBlur directories and run `android update project --path .`:
|
||||
* `NewsBlur/media/android/NewsBlur/`
|
||||
* `NewsBlur/media/android/NewsBlur/libs/ActionBarSherlock/`
|
||||
6. build a test APK with `ant clean && ant debug` from `NewsBlur/media/android/NewsBlur/` (.apk will be in `NewsBlur/media/android/NewsBlur/bin/`)
|
||||
1. install java and ant (prefer official JDK over OpenJDK)
|
||||
2. download the Android SDK from [android.com](https://developer.android.com/sdk/index.html)
|
||||
3. get the `tools/` and/or `platform-tools/` directories ifrom the SDK on your path
|
||||
4. `android update sdk --no-ui` (this could take a while; you can use the --filter option to just get the SDK, platform tools, and support libs)
|
||||
5. go to the clients/android/ NewsBlur directory and run `android update project --name NewsBlur --path .`
|
||||
6. build a test APK with `ant clean && ant debug` (.apk will be in `/bin` under the working directory)
|
||||
|
|
Loading…
Add table
Reference in a new issue