Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added remote repository for easier building.
  • Loading branch information
NightWhistler committed Jan 18, 2012
1 parent 4b3baae commit 869c48b
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 3 deletions.
34 changes: 34 additions & 0 deletions README
Expand Up @@ -5,3 +5,37 @@ In short, PageTurner is an epub reader that allows you to keep your reading prog
See http://www.pageturner-reader.org/ for more info and some screenshots.

It is licensed under the GPL-V3 license.

Building
========

To build PageTurner, you will need Apache Maven 3 (http://maven.apache.org/download.html) instead of Ant.

See http://code.google.com/p/maven-android-plugin/wiki/GettingStarted for more info about getting a working setup for building Android apps with Maven.

PageTurner uses a repository which is accessed through HTTPS using a self-signed certificate.
A trust-store is included in trust.jks, password 'pageturner'

To use it set the MAVEN_OPTS environment option or change your .mavenrc file:

MAVEN_OPTS="-Djavax.net.ssl.trustStore=trust.jks -Djavax.net.ssl.trustStorePassword=pageturner"

See http://maven.apache.org/guides/mini/guide-repository-ssl.html for more details.


Eclipse
=======

You can use

mvn eclipse:eclipse

to generate an Eclipse configuration, but this tends to put too many jars on the build path, causing problems.

You only need the following jar files on your Eclipse build path:

guice-2.0-no_aop.jar
htmlcleaner-2.2.jar
epublib-core-3.0-SNAPSHOT.jar
roboguice-1.1.jar
slf4j-android-1.6.1.jar
18 changes: 15 additions & 3 deletions pom.xml
Expand Up @@ -8,12 +8,24 @@
<version>0.2.12-SNAPSHOT</version>
<packaging>apk</packaging>
<name>PageTurner</name>



<!-- This is the Ostara repository which contains all PageTurner
dependencies for easier building. It uses HTTPS with a self-signed
certificate. Use trust.jks to connect.
-->
<repositories>
<repository>
<id>Ostara</id>
<url>https://ostara.nightwhistler.net/repository</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.google.android</groupId>
<artifactId>android</artifactId>
<version>2.1.2</version>
<version>2.2.1</version>
<scope>provided</scope>
</dependency>

Expand Down Expand Up @@ -117,7 +129,7 @@
<debug>true</debug>
</run>
<sdk>
<platform>7</platform>
<platform>8</platform>
</sdk>
<emulator>
<avd>Telefoon</avd>
Expand Down
Binary file added trust.jks
Binary file not shown.

0 comments on commit 869c48b

Please sign in to comment.