summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/jdbc-postgresql')
-rw-r--r--dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild b/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild
index 64c4e76023c..359132c7352 100644
--- a/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild
+++ b/dev-java/jdbc-postgresql/jdbc-postgresql-9.4_p1204.ebuild
@@ -39,6 +39,10 @@ RESTRICT="test" # Requires external postgresql server setup
S="${WORKDIR}/postgresql-jdbc-${MY_PV}.src"
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+JAVA_ANT_ENCODING="UTF-8"
+EANT_DOC_TARGET="publicapi"
+
java_prepare() {
# Strip build.xml of maven deps
sed -i -e '/<classpath.*dependency\.compile\.classpath/c\' build.xml || die
@@ -62,9 +66,6 @@ java_prepare() {
java-pkg_clean
}
-JAVA_ANT_REWRITE_CLASSPATH="yes"
-EANT_DOC_TARGET="publicapi"
-
src_compile() {
EANT_BUILD_TARGET="release-version jar"
java-pkg-2_src_compile