Portage is a package management system used by Gentoo Linux
# ChangeLog for dev-java/ant-eclipse-ecj
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-eclipse-ecj/ChangeLog,v 1.8 2008/03/22 00:54:20 maekke Exp $
22 Mar 2008; Markus Meier
ant-eclipse-ecj-3.3.0-r1.ebuild:
amd64 stable, bug #204484
11 Feb 2008; Brent Baude
ant-eclipse-ecj-3.3.0-r1.ebuild:
Marking ant-eclipse-ecj-3.3.0-r1 ppc64 for bug 204484
10 Jan 2008; Brent Baude
ant-eclipse-ecj-3.3.0-r1.ebuild:
Marking ant-eclipse-ecj-3.3.0-r1 ~ppc64 for bug 204484
08 Jan 2008; Krzysiek Pawlik
ant-eclipse-ecj-3.3.0-r1.ebuild:
Stable on ppc, bug #204484.
07 Jan 2008; Markus Meier
ant-eclipse-ecj-3.3.0-r1.ebuild:
x86 stable, bug #204484
05 Jan 2008; Petteri Räty
-ant-eclipse-ecj-3.3.0.ebuild:
Delete old revision.
*ant-eclipse-ecj-3.3.0-r1 (20 Dec 2007)
20 Dec 2007; Petteri Räty
+ant-eclipse-ecj-3.3.0-r1.ebuild:
Use java-pkg_getjars instead of java-config -p so that dependencies get
recorded properly, add app-arch/unzip to DEPEND and quote vars.
*ant-eclipse-ecj-3.3.0 (27 Jul 2007)
27 Jul 2007; Joshua Nichols
+files/compiler-settings-3.3, +metadata.xml,
+ant-eclipse-ecj-3.3.0.ebuild:
Initial version imported from gcj-overlay.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
AUX compiler-settings-3.3 282 RMD160 c5a6c8f8be8b4170032803e691a0a84ed2425cfa SHA1 5190a2fd42b1c23d329a537e6d5d5bd40ac93e5a SHA256 233f31f877115a0cd74dc08a3c7a9ac50a4ca707860c0f16c1de3dca77ce1f14
DIST ecjsrc.zip 1215250 RMD160 938320ae54050e322bbb98c78b0e86d241862153 SHA1 e08a27fd77e5ac7af8f2c84beed175cd3fdd0c60 SHA256 f41194a9580023afd11d18b82f6815b064af83c4f9ca407a40cd8d960bd112cc
EBUILD ant-eclipse-ecj-3.3.0-r1.ebuild 1398 RMD160 a6a90e03b2f2a21471b7eb1eafdda273f576e897 SHA1 4ef8a30cf2e4209a0da134a1f964974883b65ac1 SHA256 869585beab6be32685b39644332dd723a5ac92520150f1ba40d66b7f8aa39194
MISC ChangeLog 1436 RMD160 3936a98b5a040fed7ae7e0efd9914934f8b2572e SHA1 2614b7e0ed6ea545beb0f636a4f283230a2e5b01 SHA256 b315b0f54b9dd04872e501a28149678d96fbe58f44afeb79abf81e706a6361e8
MISC metadata.xml 471 RMD160 a7f40a047de904e4e2f63fce4ae9377a36b66fa0 SHA1 c855f10cc8e043bcd1e59b48d570053304a66f49 SHA256 229f3cffb80ccec1b7c3ddff609d045bd11f8004724bcb9de5d3bf9104a37d20
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFH5Fj+kKaRLQcq0GIRAgFLAJ48F8bDQ85nkTtAr1/vtj0/HOP3HACeOcKW
XwamwDBefi6K8d1KiJBDqpw=
=jgJ+
-----END PGP SIGNATURE-----
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-eclipse-ecj/ant-eclipse-ecj-3.3.0-r1.ebuild,v 1.6 2008/03/22 00:54:20 maekke Exp $
inherit java-pkg-2
MY_PN="ecj"
DMF="R-${PV}-200706251500"
S="${WORKDIR}"
DESCRIPTION="Ant Compiler Adapter for Eclipse Java Compiler"
HOMEPAGE="http://www.eclipse.org/"
SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/${DMF/.0}/${MY_PN}src.zip"
LICENSE="EPL-1.0"
KEYWORDS="amd64 ppc ppc64 x86"
SLOT="3.3"
IUSE=""
RDEPEND=">=virtual/jre-1.4
~dev-java/eclipse-ecj-${PV}
>=dev-java/ant-core-1.7"
DEPEND="${RDEPEND}
app-arch/unzip
>=virtual/jdk-1.4
sys-apps/findutils"
src_unpack() {
unpack ${A}
mkdir -p src/org/eclipse/jdt/{core,internal}
cp org/eclipse/jdt/core/JDTCompilerAdapter.java \
src/org/eclipse/jdt/core || die
cp -r org/eclipse/jdt/internal/antadapter \
src/org/eclipse/jdt/internal || die
rm -fr about* org
}
src_compile() {
cd src
ejavac -classpath "$(java-pkg_getjars ant-core,eclipse-ecj-${SLOT})" \
`find org/ -name '*.java'` || die "ejavac failed!"
find org/ -name '*.class' -o -name '*.properties' | \
xargs jar cf "${S}/${PN}.jar" || die "jar failed!"
}
src_install() {
java-pkg_dojar ${PN}.jar
insinto /usr/share/java-config-2/compiler
newins "${FILESDIR}/compiler-settings-${SLOT}" ecj-${SLOT}
}
ECJ is the Eclipse Compiler for Java. It's a separate packaging of
the embedded Java compiler that comes with Eclipse. It can be used
as a batch-compiler by running the ecj-3.1 script, or it can be
used with Ant by using the -lib option to and and setting
-Dbuild.compiler=ecj