1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 01:39:18 +02:00

Minor change to make the Ant build more smooth when building for the first time

Updated HowToBuild accordingly
This commit is contained in:
Gordon 2015-11-08 19:58:51 -05:00
parent a62f697fb4
commit 9ccce4e8ff
9 changed files with 14 additions and 7 deletions

View file

@ -20,6 +20,13 @@ E.g., on my computer 'local.properties' consists of 2 lines:
sdk.dir=/Users/geometer/android-sdk-mac_86
ndk.dir=/Users/geometer/android-ndk-r4b
The same file shall be copied to following four folders as well:
cp local.properties third-party/SuperToasts/
cp local.properties third-party/android-filechooser/code/
cp local.properties third-party/drag-sort-listview/library/
cp local.properties third-party/AmbilWarna/
2. If you use Linux or MacOS, just run 'ant package' and go to step 3. For debugging
purposes, you might want to run 'ant dbg' for building the package in debug mode, signing
with your debug key (in this case, you can skip step 3).

View file

@ -21,7 +21,7 @@ package org.geometerplus.fbreader.library;
import java.util.*;
import org.fbreader.util.NaturalOrderComparator;
import group.pals.android.lib.ui.filechooser.utils.NaturalOrderComparator;
import org.fbreader.util.Pair;
import org.geometerplus.zlibrary.core.filesystem.ZLFile;

View file

@ -26,7 +26,7 @@ import java.util.Map;
import android.annotation.TargetApi;
import android.os.Build;
import org.fbreader.util.NaturalOrderComparator;
import group.pals.android.lib.ui.filechooser.utils.NaturalOrderComparator;
public abstract class TitledEntity<T extends TitledEntity<T>> implements Comparable<T> {
private static final NaturalOrderComparator ourComparator = new NaturalOrderComparator();

View file

@ -11,4 +11,4 @@ android.library=true
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=android-11
target=android-19

View file

@ -8,5 +8,5 @@
# project structure.
# Project target.
target=android-14
target=android-19
android.library=true

View file

@ -13,7 +13,7 @@ import group.pals.android.lib.ui.filechooser.services.IFileProvider;
import java.util.Comparator;
import org.fbreader.util.NaturalOrderComparator;
//import org.fbreader.util.NaturalOrderComparator;
/**
* {@link IFile} comparator.<br>

View file

@ -1,4 +1,4 @@
package org.fbreader.util;
package group.pals.android.lib.ui.filechooser.utils;
/*
NaturalOrderComparator.java -- Perform 'natural order' comparisons of strings in Java.

Binary file not shown.

View file

@ -12,4 +12,4 @@
android.library=true
# Project target.
target=android-5
target=android-19