summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2015-06-14 14:38:47 +0000
committerPatrice Clement <monsieurp@gentoo.org>2015-06-14 14:38:47 +0000
commit6c79aaf3e020fcb6289862e6b6ff18d81e7abcc7 (patch)
tree34be3b6172f66af30d47104d88442fb870348ab4 /dev-java/jcs
parentAdd missing test dependency, bug 552082 (diff)
downloadhistorical-6c79aaf3e020fcb6289862e6b6ff18d81e7abcc7.tar.gz
historical-6c79aaf3e020fcb6289862e6b6ff18d81e7abcc7.tar.bz2
historical-6c79aaf3e020fcb6289862e6b6ff18d81e7abcc7.zip
EAPI 5 bump. Version bump. Fix bug 551992.
Signed-off-by: Patrice Clement <monsieurp@gentoo.org> Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x93491BB8
Diffstat (limited to 'dev-java/jcs')
-rw-r--r--dev-java/jcs/ChangeLog10
-rw-r--r--dev-java/jcs/Manifest19
-rw-r--r--dev-java/jcs/files/jcs-2.0-build.xml306
-rw-r--r--dev-java/jcs/jcs-2.0.ebuild95
4 files changed, 420 insertions, 10 deletions
diff --git a/dev-java/jcs/ChangeLog b/dev-java/jcs/ChangeLog
index 252216bf482f..da162b588b59 100644
--- a/dev-java/jcs/ChangeLog
+++ b/dev-java/jcs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jcs
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/ChangeLog,v 1.27 2014/09/04 04:53:25 ercpe Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/ChangeLog,v 1.28 2015/06/14 14:38:41 monsieurp Exp $
+
+*jcs-2.0 (14 Jun 2015)
+
+ 14 Jun 2015; Patrice Clement <monsieurp@gentoo.org> +files/jcs-2.0-build.xml,
+ +jcs-2.0.ebuild:
+ EAPI 5 bump. Version bump. Fix bug 551992.
04 Sep 2014; Johann Schmitz <ercpe@gentoo.org> jcs-1.2.7.9-r1.ebuild,
jcs-1.3-r1.ebuild:
diff --git a/dev-java/jcs/Manifest b/dev-java/jcs/Manifest
index 64a8359ea2a0..932693b591ae 100644
--- a/dev-java/jcs/Manifest
+++ b/dev-java/jcs/Manifest
@@ -4,20 +4,23 @@ Hash: SHA256
AUX build-1.2.7.8.xml 1301 SHA256 23aa79da40881782d71d557acd6db52ece62add677178db0013576b831a5b158 SHA512 3a34c1d42b3bcbd3a5facc9ed991db3e3fee0ee5ffacaa94c53feb488a5b1f4c0c762eee6c6acf116cff706580ad390d93e7bf83f35b8b76f1d544aa2b23421a WHIRLPOOL 4128a2692db186440cac514782b401f1925293260ef55d437d60a2861e7feaa95856310b3a20d66f1d52d78cd4df7fc89144a4a413bb596845548334a5c1a1d0
AUX build-1.2.7.9.xml 1301 SHA256 23aa79da40881782d71d557acd6db52ece62add677178db0013576b831a5b158 SHA512 3a34c1d42b3bcbd3a5facc9ed991db3e3fee0ee5ffacaa94c53feb488a5b1f4c0c762eee6c6acf116cff706580ad390d93e7bf83f35b8b76f1d544aa2b23421a WHIRLPOOL 4128a2692db186440cac514782b401f1925293260ef55d437d60a2861e7feaa95856310b3a20d66f1d52d78cd4df7fc89144a4a413bb596845548334a5c1a1d0
AUX build-1.3.xml 1278 SHA256 31a0c8d315a290bf2d953518fe9a017e93c49b2389869b293a4281f4e4822a04 SHA512 7167390aec4c6268ae68462d59e8e1a1491cd7c048da9d776051b6efbcc3cdc67d3700cd048dea2da015b827c334014a402a4761deaaecb8137abc247294d629 WHIRLPOOL 7697a53dd51a84d1c9c9bc3b24b96f5735ab01dd9073340208c72f247a296e19f6978552b0c61b77aa9c7c711087524cb646e3529e2e7997bba76d370e1ff484
+AUX jcs-2.0-build.xml 16360 SHA256 749112f080215b6a6a948d8db4b9155011a07ba4d9c50681fc7ff7e9afaf18f2 SHA512 8b11500fb24f7166475b3bb37b210884d8203bb73879649bcbeb4f892059c16bc20a9871b7d306c119efa7033e91a64ee77c5244a2adb460c4d63473de0f9b33 WHIRLPOOL e09216756276538663167cd9058e261f51c6fe34c9df8c4803a52e08a6b8a466a7b071f74dd0950563427b0a86868fa089384297d065103d6401f47fca529be2
+DIST commons-jcs-dist-2.0-beta-1-src.tar.gz 825048 SHA256 2ff60facc31b52625f1f2d8907380947508790bd864e2fea03625dee0c36ffa5 SHA512 56d68807de6d47debc893584a738bc797c2a150503ae460dc1444e9434b438926f6ad9fe8c1292250f6a0b2936210084cbd512083b5a8cc4f20e692b759a314f WHIRLPOOL e5e67465a7c318ec73de3ffacc566cce48304a3379885dd814f0c32f362c1d2e24abf2935e090056df0bd8db0fa85cb36553203e5eb6e837e23e888ca6cd137f
DIST jcs-1.2.7.9.tar.bz2 570289 SHA256 9963cfb34fd813167b52907f21c2c5123f8a78b2d4fe2d21802967fb097735cf SHA512 3ea9a753d95815fcd81266e4ce83046b2eac22d52ab166929cbc082d2b5aa7e184a74adf87dcd77a2f19c4658d15deb364a439f515d4a1ba5d20c021f230abbc WHIRLPOOL 43e0a7853843e7c32799213043270b86e36e34756c3ce991a12d919a03f3bd806405b2734a938b236fa27d0e8e2b3bf2a2bd159235c6b9a70a5ce8f83fb1acb6
DIST jcs-1.3-src.tar.gz 608600 SHA256 cb5534698e77e04715e634ed748941e3c24ecc0be6b8db1731a131848a51f611 SHA512 edaf63c83393c9e48711aa3b76545cafb2297909a4f7470a1396f3a1d3f7a5c78321ce29a8d0097be8b0600e587757fd1d45b5e5feb31e658ec6b4f3af950be6 WHIRLPOOL 34e698826ffd14b2b0fe488b5dcbac02fc43abb969eca207e98bef45b448c767e567f489682419a4e8566439026bef721bf57fc564cb6570ba692a36a4358da3
EBUILD jcs-1.2.7.9-r1.ebuild 1753 SHA256 a80eec3b69ab32b08682f17e40b54fe73154ba4033e4678804c61b4cc3544d40 SHA512 788feef814da85a6467cae337d5972f7bc2bc5afc21afc5132df61328439ae1c4d8fdf9fc2a2159e1255641f4a6d8b9dc85922e70d39159ed46f72d1e0b58cc7 WHIRLPOOL 4ad0125b2b025845adae5f1484ef2ae1db6f1c050de4a2d5242708d06b900e5b383886000c190de5049fb1272d6daa9e30bdf56c42540a584ccba3055b1cca03
EBUILD jcs-1.3-r1.ebuild 1573 SHA256 ec148aeb95a98429ac67d25cf1f60134bf03f84b8711593550bb26074400b928 SHA512 1b4405ddad358ada21587329ee04954e54a2accf6d0201b548f602b587e7eca16788ca502649f93301331490729b6f8dc529146c7efec4c960acc790ba2329e7 WHIRLPOOL c11238a98262dad89a1b4406324de4290a9c129ea3468a7af14d72a48ce75cb844d0a97cbc0025b3be9e058b648b4cbf792321756be111653c22a5666db81fc2
-MISC ChangeLog 3701 SHA256 4a2feab6a4e1dde70dc49c72014bfdd553371cb9d33d333b37a615a0158a01f4 SHA512 49299a1953504c5c962240493b20e1d4a3e927209c7ab7a0e176ea95951aaa5b875ef07b7b4535cd22ff56c4f490fc6a701771094a2825993bd954ca48021845 WHIRLPOOL d6eadde9f066a4aba390d571a5e1a94090dcae44f148ba0e82f6d2b3f1486166289653d2167754b0b3e77b297bda4e8d7c7adf086e25fe9cf54a4a000cfcab91
+EBUILD jcs-2.0.ebuild 2590 SHA256 b31f2932940a29b975184145058faae2d2cfb210beedf9cb5b8dc5ddd373ff85 SHA512 6bcb2810d494bac9066c509c7245b9c68461ed7b7555536f0d69e049e37e383726e588e23299c9640acdf6ada31189cb2c47cbebf39ff4f39dae6c5109fa0484 WHIRLPOOL 1c27ee352f175153ec58778f65f7fc2eb2e6c5ee56b0318d076b60392a53beed0c823d51d5f41cb4495e0a10ad6ad0cbe6a19423d66ee9905a89f855cffaa527
+MISC ChangeLog 3874 SHA256 03675d7096dd8ccd664aefe446157ce124afe65f772b5eaa358db6112ca8ab7e SHA512 923b2bc5d9f63c2f0a9770d75386108af2a1d39a7fc45561af023adab1d4e731485871fa325e14df75b86862561b601007363e7d9f9ce9ac5c33ea515b699471 WHIRLPOOL 8c5dc07b55f1f12959a75a211b7bacc3ef0172571da3a5cd4c6140fdac23e8b7a1975311dafa39c6efa36e2f2a839887078aaa3de54e140bf79d1a3002d816fc
MISC metadata.xml 232 SHA256 de4fbba5472a1a5e4b1014a186c98896d0b52d9c07b48beb2bc5a5350d25d6ad SHA512 b7061ae24f19c67046c7b79d7edb109a11a1f88c4bb160c5544ee2e5bd4793f4b807f418fd943cbea60b6fa80b6fa39623b687ccf2540d849f6d978be1a819ea WHIRLPOOL e84a2ae7600e3d8a122b1cb417a8013595e372210d0183ae310c8fc172a9b3f3fa1deca9870590d190a88f9519f137f3f7d25f3f32309c8e63a79633f4be7297
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQEcBAEBCAAGBQJUB/BRAAoJEKCEBkJ3xQHtAbUH/A/PajhooaWum02bs6yqfP8J
-5ioZev+rIwHdb19+mVsm4eYaZo1qoXlqIpWcUHOM51TKOC/vIUZZKBxTMXI6JVXg
-t59BJvXb3bW0mWU50DV8peB1N6S72XV0jqkRm1UrJeQHevyEqDfW3YnY+Cj+cdXp
-YqGRPxy/GdpxyVGZ2Q94MfMQ5qJ55Wgv4KiGuvyVMeXVgfEPFrWbOIeK/rbKjQRq
-e1ub73TSPVxCd0qZfxovlX1VxlLtcUi5GOgR4OrSC5MgaGHdXMLKJV3XeuhvVVEk
-xkQTkKKOyjKdGqcILlSjn9n5Y+Ma+5KoRUGq76S1v1YpBiKYtkocEK+UAysSFRE=
-=Bcz7
+iQEcBAEBCAAGBQJVfZFmAAoJEJGRpfGTSRu4h8EIAJaib/8EV7MPbO9t5/KwWn4t
+ZqHkGbSOa/L9ag5EBQ2CSzKDOduL8h0y1b5705x1fz2tO2//NCRfop5SXwQkkXWj
+Z8QGOUJ5IK3J44ZLWcy/3/NmfvDvUYE0J0pyhbCXESIHYFn//5AlQLoccGUQukMF
+pPpZIer9F9uw7G2ciV8VCsIHoD+DNXdQt9Hx7N8KnEl9IDrGSCIirUVYPzm4K4ib
+XmLWAtHipprCWguqB7F9MumcC90pdOy7B8OSf6fnjFUteb0vfaNy1kMvoIyTYlMD
+gSZXmnu0L9wrHvv/RP71tVfPALt6R/OSQNQUgYkpwztOahOE4itiL3SxqeoffPM=
+=bjTA
-----END PGP SIGNATURE-----
diff --git a/dev-java/jcs/files/jcs-2.0-build.xml b/dev-java/jcs/files/jcs-2.0-build.xml
new file mode 100644
index 000000000000..04c4dae81729
--- /dev/null
+++ b/dev-java/jcs/files/jcs-2.0-build.xml
@@ -0,0 +1,306 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
+<!-- ====================================================================== -->
+
+<!-- ====================================================================== -->
+<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
+<!-- ====================================================================== -->
+<!-- -->
+<!-- Any modifications will be overwritten. -->
+<!-- -->
+<!-- Generated by Maven Ant Plugin on 6/14/15 12:02 AM -->
+<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<project name="commons-jcs-core-from-maven" default="package" basedir=".">
+
+ <!-- ====================================================================== -->
+ <!-- Build environment properties -->
+ <!-- ====================================================================== -->
+
+ <property file="${user.home}/.m2/maven.properties"/>
+ <property file="maven-build.properties"/>
+
+ <property name="maven.build.finalName" value="commons-jcs-core-2.0-beta-1"/>
+ <property name="maven.build.dir" value="target"/>
+ <property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
+ <property name="maven.build.srcDir.0" value="src/main/java"/>
+ <property name="maven.build.resourceDir.0" value="src/main/resources"/>
+ <property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
+ <property name="maven.build.testDir.0" value="src/test/java"/>
+ <property name="maven.build.testResourceDir.0" value="src/test/test-conf"/>
+ <property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
+ <property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
+
+ <property name="maven.repo.local" value="${user.home}/.m2/repository"/>
+ <property name="maven.settings.offline" value="false"/>
+ <property name="maven.settings.interactiveMode" value="true"/>
+
+ <!-- ====================================================================== -->
+ <!-- Defining classpaths -->
+ <!-- ====================================================================== -->
+
+ <path id="build.classpath">
+ <pathelement location="${maven.repo.local}/commons-logging/commons-logging/1.2/commons-logging-1.2.jar"/>
+ <pathelement location="${maven.repo.local}/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar"/>
+ <pathelement location="${maven.repo.local}/commons-pool/commons-pool/1.6/commons-pool-1.6.jar"/>
+ <pathelement location="${maven.repo.local}/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar"/>
+ <pathelement location="${maven.repo.local}/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/>
+ <pathelement location="${maven.repo.local}/commons-digester/commons-digester/1.8/commons-digester-1.8.jar"/>
+ <pathelement location="${maven.repo.local}/commons-chain/commons-chain/1.1/commons-chain-1.1.jar"/>
+ <pathelement location="${maven.repo.local}/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"/>
+ <pathelement location="${maven.repo.local}/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar"/>
+ <pathelement location="${maven.repo.local}/dom4j/dom4j/1.1/dom4j-1.1.jar"/>
+ <pathelement location="${maven.repo.local}/oro/oro/2.0.8/oro-2.0.8.jar"/>
+ <pathelement location="${maven.repo.local}/sslext/sslext/1.2-0/sslext-1.2-0.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar"/>
+ <pathelement location="${maven.repo.local}/antlr/antlr/2.7.2/antlr-2.7.2.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/velocity/velocity/1.6.2/velocity-1.6.2.jar"/>
+ <pathelement location="${maven.repo.local}/commons-lang/commons-lang/2.4/commons-lang-2.4.jar"/>
+ <pathelement location="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
+ <pathelement location="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
+ <pathelement location="${maven.repo.local}/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/>
+ </path>
+ <path id="build.test.classpath">
+ <pathelement location="${maven.repo.local}/commons-logging/commons-logging/1.2/commons-logging-1.2.jar"/>
+ <pathelement location="${maven.repo.local}/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar"/>
+ <pathelement location="${maven.repo.local}/commons-pool/commons-pool/1.6/commons-pool-1.6.jar"/>
+ <pathelement location="${maven.repo.local}/hsqldb/hsqldb/1.8.0.10/hsqldb-1.8.0.10.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/commons/commons-collections4/4.0/commons-collections4-4.0.jar"/>
+ <pathelement location="${maven.repo.local}/junit/junit/4.11/junit-4.11.jar"/>
+ <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar"/>
+ <pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar"/>
+ <pathelement location="${maven.repo.local}/log4j/log4j/1.2.17/log4j-1.2.17.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/velocity/velocity-tools/2.0/velocity-tools-2.0.jar"/>
+ <pathelement location="${maven.repo.local}/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar"/>
+ <pathelement location="${maven.repo.local}/commons-digester/commons-digester/1.8/commons-digester-1.8.jar"/>
+ <pathelement location="${maven.repo.local}/commons-chain/commons-chain/1.1/commons-chain-1.1.jar"/>
+ <pathelement location="${maven.repo.local}/commons-collections/commons-collections/3.2/commons-collections-3.2.jar"/>
+ <pathelement location="${maven.repo.local}/commons-validator/commons-validator/1.3.1/commons-validator-1.3.1.jar"/>
+ <pathelement location="${maven.repo.local}/dom4j/dom4j/1.1/dom4j-1.1.jar"/>
+ <pathelement location="${maven.repo.local}/oro/oro/2.0.8/oro-2.0.8.jar"/>
+ <pathelement location="${maven.repo.local}/sslext/sslext/1.2-0/sslext-1.2-0.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/struts/struts-core/1.3.8/struts-core-1.3.8.jar"/>
+ <pathelement location="${maven.repo.local}/antlr/antlr/2.7.2/antlr-2.7.2.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/struts/struts-taglib/1.3.8/struts-taglib-1.3.8.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/struts/struts-tiles/1.3.8/struts-tiles-1.3.8.jar"/>
+ <pathelement location="${maven.repo.local}/org/apache/velocity/velocity/1.6.2/velocity-1.6.2.jar"/>
+ <pathelement location="${maven.repo.local}/commons-lang/commons-lang/2.4/commons-lang-2.4.jar"/>
+ <pathelement location="${maven.repo.local}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
+ <pathelement location="${maven.repo.local}/commons-codec/commons-codec/1.2/commons-codec-1.2.jar"/>
+ <pathelement location="${maven.repo.local}/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/>
+ </path>
+
+ <!-- ====================================================================== -->
+ <!-- Cleaning up target -->
+ <!-- ====================================================================== -->
+
+ <target name="clean" description="Clean the output directory">
+ <delete dir="${maven.build.dir}"/>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Compilation target -->
+ <!-- ====================================================================== -->
+
+ <target name="compile" description="Compile the code">
+ <mkdir dir="${maven.build.outputDir}"/>
+ <javac destdir="${maven.build.outputDir}"
+ encoding="UTF-8"
+ nowarn="false"
+ debug="true"
+ optimize="false"
+ deprecation="true"
+ target="1.6"
+ verbose="false"
+ fork="false"
+ source="1.6">
+ <src>
+ <pathelement location="${maven.build.srcDir.0}"/>
+ </src>
+ <classpath refid="build.classpath"/>
+ </javac>
+ <mkdir dir="${maven.build.outputDir}//var/tmp/portage/dev-java/jcs-2.0/work/commons-jcs-dist-2.0-beta-1-src/commons-jcs-core/target/classes"/>
+ <copy todir="${maven.build.outputDir}//var/tmp/portage/dev-java/jcs-2.0/work/commons-jcs-dist-2.0-beta-1-src/commons-jcs-core/target/classes">
+ <fileset dir="${maven.build.resourceDir.0}"/>
+ </copy>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Test-compilation target -->
+ <!-- ====================================================================== -->
+
+ <target name="compile-tests"
+ description="Compile the test code"
+ unless="maven.test.skip">
+ <mkdir dir="${maven.build.testOutputDir}"/>
+ <javac destdir="${maven.build.testOutputDir}"
+ encoding="UTF-8"
+ nowarn="false"
+ debug="true"
+ optimize="false"
+ deprecation="true"
+ target="1.6"
+ verbose="false"
+ fork="false"
+ source="1.6">
+ <src>
+ <pathelement location="${maven.build.testDir.0}"/>
+ </src>
+ <classpath>
+ <path refid="build.test.classpath"/>
+ <pathelement location="${maven.build.outputDir}"/>
+ </classpath>
+ </javac>
+ <copy todir="${maven.build.testOutputDir}">
+ <fileset dir="${maven.build.testResourceDir.0}">
+ <include name="**/*.properties"/>
+ <include name="**/*.ccf"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Run all tests -->
+ <!-- ====================================================================== -->
+
+ <target name="test"
+ depends="compile-tests, junit-missing"
+ unless="junit.skipped"
+ description="Run the test cases">
+ <mkdir dir="${maven.test.reports}"/>
+ <junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
+ <sysproperty key="basedir" value="."/>
+ <formatter type="xml"/>
+ <formatter type="plain" usefile="false"/>
+ <classpath>
+ <path refid="build.test.classpath"/>
+ <pathelement location="${maven.build.outputDir}"/>
+ <pathelement location="${maven.build.testOutputDir}"/>
+ </classpath>
+ <batchtest todir="${maven.test.reports}" unless="test">
+ <fileset dir="${maven.build.testDir.0}">
+ <include name="**/*UnitTest.java"/>
+ <exclude name="**/BlockDiskElementDescriptorUnitTest.java"/>
+ <exclude name="**/HSQLDiskCacheConcurrentUnitTest.java"/>
+ <exclude name="**/HSQLDiskCacheUnitTest.java"/>
+ <exclude name="**/IndexedDiskCacheOptimizationUnitTest.java"/>
+ <exclude name="**/TestTCPLateralUnitTest.java"/>
+ <exclude name="**/UDPDiscoveryUnitTest.java"/>
+ <exclude name="**/UDPDiscoverySenderUnitTest.java"/>
+ </fileset>
+ </batchtest>
+ <batchtest todir="${maven.test.reports}" if="test">
+ <fileset dir="${maven.build.testDir.0}">
+ <include name="**/${test}.java"/>
+ <exclude name="**/BlockDiskElementDescriptorUnitTest.java"/>
+ <exclude name="**/HSQLDiskCacheConcurrentUnitTest.java"/>
+ <exclude name="**/HSQLDiskCacheUnitTest.java"/>
+ <exclude name="**/IndexedDiskCacheOptimizationUnitTest.java"/>
+ <exclude name="**/TestTCPLateralUnitTest.java"/>
+ <exclude name="**/UDPDiscoveryUnitTest.java"/>
+ <exclude name="**/UDPDiscoverySenderUnitTest.java"/>
+ </fileset>
+ </batchtest>
+ </junit>
+ </target>
+
+ <target name="test-junit-present">
+ <available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
+ </target>
+
+ <target name="test-junit-status"
+ depends="test-junit-present">
+ <condition property="junit.missing">
+ <and>
+ <isfalse value="${junit.present}"/>
+ <isfalse value="${maven.test.skip}"/>
+ </and>
+ </condition>
+ <condition property="junit.skipped">
+ <or>
+ <isfalse value="${junit.present}"/>
+ <istrue value="${maven.test.skip}"/>
+ </or>
+ </condition>
+ </target>
+
+ <target name="junit-missing"
+ depends="test-junit-status"
+ if="junit.missing">
+ <echo>=================================== WARNING ===================================</echo>
+ <echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
+ <echo>===============================================================================</echo>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Javadoc target -->
+ <!-- ====================================================================== -->
+
+ <target name="javadoc" description="Generates the Javadoc of the application">
+ <javadoc sourcepath="${maven.build.srcDir.0}"
+ packagenames="*"
+ destdir="${maven.reporting.outputDirectory}/apidocs"
+ access="protected"
+ old="false"
+ verbose="false"
+ encoding="UTF-8"
+ version="true"
+ use="true"
+ author="true"
+ splitindex="false"
+ nodeprecated="false"
+ nodeprecatedlist="false"
+ notree="false"
+ noindex="false"
+ nohelp="false"
+ nonavbar="false"
+ serialwarn="false"
+ charset="ISO-8859-1"
+ docencoding="UTF-8"
+ source="1.6"
+ linksource="true"
+ breakiterator="false">
+ <link href="http://docs.oracle.com/javase/6/docs/api/"/>
+ <link href="http://docs.oracle.com/javaee/6/api/"/>
+ </javadoc>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- Package target -->
+ <!-- ====================================================================== -->
+
+ <target name="package" depends="compile" description="Package the application">
+ <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
+ compress="true"
+ index="false"
+ basedir="${maven.build.outputDir}"
+ excludes="**/package.html">
+ <manifest>
+ <attribute name="Main-Class" value="Main"/>
+ </manifest>
+ </jar>
+ </target>
+
+ <!-- ====================================================================== -->
+ <!-- A dummy target for the package named after the type it creates -->
+ <!-- ====================================================================== -->
+
+ <target name="jar" depends="package" description="Builds the jar for the application"/>
+
+ <!-- ====================================================================== -->
+ <!-- Download dependencies target -->
+ <!-- ====================================================================== -->
+
+ <target name="test-offline">
+ <condition property="maven.mode.offline">
+ <equals arg1="${maven.settings.offline}" arg2="true"/>
+ </condition>
+ </target>
+</project>
diff --git a/dev-java/jcs/jcs-2.0.ebuild b/dev-java/jcs/jcs-2.0.ebuild
new file mode 100644
index 000000000000..e8986727a001
--- /dev/null
+++ b/dev-java/jcs/jcs-2.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/jcs-2.0.ebuild,v 1.1 2015/06/14 14:38:41 monsieurp Exp $
+
+EAPI=5
+JAVA_PKG_IUSE="test doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="commons-${PN}-dist-${PV}-beta-1-src"
+JCS_CORE="commons-${PN}-core"
+
+DESCRIPTION="JCS is a distributed caching system written in Java for server-side Java applications"
+HOMEPAGE="http://commons.apache.org/jcs/"
+SRC_URI="http://apache.mirrors.ovh.net/ftp.apache.org/dist/commons/${PN}/source/commons-${PN}-dist-${PV}-beta-1-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="2.0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="admin"
+
+CDEPEND="dev-java/jisp:2.5
+ dev-db/hsqldb:0
+ dev-java/xmlrpc:0
+ dev-java/commons-lang:0
+ dev-java/commons-dbcp:0
+ dev-java/commons-pool:0
+ dev-java/commons-logging:0
+ dev-java/commons-httpclient:3
+ java-virtuals/servlet-api:3.0"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+DEPEND=">=virtual/jdk-1.6
+ test? ( dev-java/ant-junit:0 )
+ ${CDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="
+ xmlrpc
+ hsqldb
+ jisp-2.5
+ commons-lang
+ commons-pool
+ commons-dbcp
+ commons-logging
+ commons-httpclient-3
+ servlet-api-3.0
+"
+
+EANT_BUILD_XML="${JCS_CORE}/build.xml"
+EANT_BUILD_TARGET="package"
+
+java_prepare() {
+ cp "${FILESDIR}/${P}-build.xml" ${JCS_CORE}/build.xml
+
+ # Disable the velocity-tools dep.
+ rm -v \
+ ${JCS_CORE}/src/main/java/org/apache/commons/jcs/admin/servlet/JCSAdminServlet.java
+
+ if use test; then
+ # Make use of commons-collections4 not yet packaged in Gentoo
+ rm -v \
+ "${JCS_CORE}"/src/test/java/org/apache/commons/jcs/utils/struct/JCSvsCommonsLRUMapPerformanceTest.java \
+ "${JCS_CORE}"/src/test/java/org/apache/commons/jcs/utils/struct/LRUMapPerformanceTest.java
+
+ # Fails for some reason.
+ rm -v \
+ "${JCS_CORE}"/src/test/java/org/apache/commons/jcs/auxiliary/disk/AbstractDiskCacheUnitTest.java \
+ "${JCS_CORE}"/src/test/java/org/apache/commons/jcs/auxiliary/disk/LRUMapJCSUnitTest.java \
+ "${JCS_CORE}"/src/test/java/org/apache/commons/jcs/engine/logging/CacheEventLoggerDebugLoggerUnitTest.java \
+ "${JCS_CORE}"/src/test/java/org/apache/commons/jcs/utils/struct/DoubleLinkedListUnitTest.java
+ fi
+}
+
+EANT_TEST_TARGET="test"
+
+src_test() {
+ java-pkg-2_src_test
+}
+
+src_install() {
+ local target="${JCS_CORE}"/target
+ java-pkg_newjar "${target}"/"${JCS_CORE}-${PV}"-beta-1.jar "${JCS_CORE}".jar
+
+ if use doc; then
+ java-pkg_dojavadoc "${target}"/site/apidocs
+ fi
+
+ if use source; then
+ java-pkg_dosrc "${JCS_CORE}"/src
+ fi
+}