# ChangeLog for dev-java/groovy
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/ChangeLog,v 1.17 2006/12/29 17:37:16 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/ChangeLog,v 1.18 2006/12/30 20:46:42 caster Exp $
+
+ 30 Dec 2006; Vlastimil Babka <caster@gentoo.org> files/build.xml-1.0_rc01,
+ groovy-1.0_rc01.ebuild:
+ Fix libdir property in build.xml wrt bug #159457 by Sean
+ <sean.gollschewsky@gmail.com>. Remove -Dnoget=true from eant call, because
+ it's now default in the eclass. Fix and apply the exit-code patch again.
*groovy-1.0_rc01 (29 Dec 2006)
<property file="${user.home}/build.properties"></property>
<!--Build properties-->
<property name="defaulttargetdir" value="${basedir}/target"></property>
- <property name="libdir" value="${user.home}/.maven/repository"></property>
+ <property name="libdir" value="${defaulttargetdir}/lib"></property>
<property name="classesdir" value="${basedir}/target/classes"></property>
<property name="testclassesdir" value="${basedir}/target/test-classes"></property>
<property name="testreportdir" value="${basedir}/target/test-reports"></property>
--- /dev/null
+diff -ru groovy-1.0-JSR-06-orig/src/main/org/codehaus/groovy/tools/FileSystemCompiler.java groovy-1.0-JSR-06/src/main/org/codehaus/groovy/tools/FileSystemCompiler.java
+--- groovy-1.0-JSR-06-orig/src/main/org/codehaus/groovy/tools/FileSystemCompiler.java 2006-06-28 10:42:01.000000000 -0400
++++ groovy-1.0-JSR-06/src/main/org/codehaus/groovy/tools/FileSystemCompiler.java 2006-09-23 00:13:34.000000000 -0400
+@@ -223,6 +223,7 @@
+ catch( Throwable e ) \r
+ {\r
+ new ErrorReporter( e, displayStackTraceOnError ).write( System.err );\r
++ System.exit(1);\r
+ }\r
+ }\r
+ \r
+diff -ru groovy-1.0-JSR-06-orig/src/test/UberTestCase.java groovy-1.0-JSR-06/src/test/UberTestCase.java
+--- groovy-1.0-JSR-06-orig/src/test/UberTestCase.java 2006-06-28 10:42:01.000000000 -0400
++++ groovy-1.0-JSR-06/src/test/UberTestCase.java 2006-09-23 00:12:36.000000000 -0400
+@@ -17,7 +17,7 @@
+ \r
+ String osName = System.getProperty ( "os.name" ) ;\r
+ if ( osName.equals ( "Linux" ) || osName.equals ( "SunOS" ) ) {\r
+- suite.addTestSuite ( ExecuteTest_LinuxSolaris.class ) ;\r
++// suite.addTestSuite ( ExecuteTest_LinuxSolaris.class ) ;\r
+ }\r
+ else {\r
+ System.err.println ( "XXXXXX No execute testsfor this OS. XXXXXX" ) ;\r
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/groovy-1.0_rc01.ebuild,v 1.1 2006/12/29 17:37:16 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/groovy/groovy-1.0_rc01.ebuild,v 1.2 2006/12/30 20:46:42 caster Exp $
inherit versionator java-pkg-2 java-ant-2
unpack ${A}
cd ${S}
-# epatch ${FILESDIR}/${PN}-1.0.06-compiler-exit-code.patch
+ epatch ${FILESDIR}/${P}-compiler-exit-code.patch
mkdir -p ${S}/target/lib
}
src_compile() {
- eant -Dnoget=true jar
+ eant jar
# need to compile .groovy files to .class files
cd src/main