Permalink
Browse files

Adding build.xml to support building jar files from source. Solves #15.

Signed-off-by: Patrik Åkerfeldt <patrik.akerfeldt@gmail.com>
  • Loading branch information...
1 parent 9d4c5e4 commit d44a5f0b0228acaaa80829fd52ae490a7b6b2aaf @pakerfeldt committed Jul 6, 2011
Showing with 17 additions and 1 deletion.
  1. +0 −1 .gitignore
  2. +3 −0 README.md
  3. +14 −0 viewflow/build.xml
View
@@ -4,5 +4,4 @@ bin
gen
target
local.properties
-build.xml
proguard.cfg
View
@@ -64,6 +64,9 @@ And then you'll need to connect your `ViewFlow` with the `FlowIndicator`:
indicator.setTitleProvider(myTitleProvider);
viewFlow.setFlowIndicator(indicator);
+## Building a jar file
+If you rather want a jar file instead of a including the project as an android library, run `ant jar` in the `android-viewflow/viewflow` folder, to build a jar file.
+
## Contributions
The following persons deserves a mention for their contributions:
View
@@ -0,0 +1,14 @@
+<project name="android-viewflow" default="jar" basedir=".">
+ <description>
+ A view switcher library for Android
+ </description>
+ <!-- set global properties for this build -->
+ <property name="src" location="src" />
+ <property name="bin" location="bin" />
+
+ <target name="jar">
+ <jar destfile="android-viewflow.jar" basedir="bin/">
+ <include name="org/**" />
+ </jar>
+ </target>
+</project>

0 comments on commit d44a5f0

Please sign in to comment.