Gentoo Archives: gentoo-commits

From: "Jean-Noel Rivasseau (elvanor)" <elvanor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/groovy/files: groovy-build.patch build.xml-1.0_rc01 groovy-build.xml.patch build.xml-1.0 groovy-1.0_rc01-compiler-exit-code.patch groovy-1.0-compiler-exit-code.patch
Date: Tue, 28 Jul 2009 14:35:24
Message-Id: E1MVnlt-0002KN-4a@stork.gentoo.org
1 elvanor 09/07/28 14:35:17
2
3 Added: groovy-build.patch
4 Removed: build.xml-1.0_rc01 groovy-build.xml.patch
5 build.xml-1.0
6 groovy-1.0_rc01-compiler-exit-code.patch
7 groovy-1.0-compiler-exit-code.patch
8 Log:
9 Groovy-1.6.3 version bump (#235272)
10 (Portage version: 2.1.6.13/cvs/Linux i686)
11
12 Revision Changes Path
13 1.1 dev-java/groovy/files/groovy-build.patch
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/files/groovy-build.patch?rev=1.1&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/groovy/files/groovy-build.patch?rev=1.1&content-type=text/plain
17
18 Index: groovy-build.patch
19 ===================================================================
20 diff -ur groovy-1.6.3/build.xml groovy-1.6.3-new/build.xml
21 --- groovy-1.6.3/build.xml 2009-07-27 10:36:57.000000000 +0200
22 +++ groovy-1.6.3-new/build.xml 2009-07-27 10:45:48.000000000 +0200
23 @@ -55,6 +55,10 @@
24 <istrue value="${skipFetch}"/>
25 </condition>
26
27 + <condition property="_skipEmbeddable_">
28 + <istrue value="${skipEmbeddable}"/>
29 + </condition>
30 +
31 <condition property="groovy.build.vm5">
32 <not>
33 <contains string="${ant.java.version}" substring="1.4"/>
34 @@ -551,7 +555,7 @@
35 tofile="${targetDistDirectory}/groovy-jdk14-${groovyVersion}-sources.jar"/>
36 </target>
37
38 - <target name="-jarjarInit">
39 + <target name="-jarjarInit" unless="_skipEmbeddable_">
40 <taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask">
41 <classpath>
42 <fileset dir="${bootstrapDirectory}" includes="jarjar-*.jar"/>
43 @@ -559,7 +563,7 @@
44 </taskdef>
45 </target>
46
47 - <target name="-createEmbeddableJar" depends="-jarjarInit" unless="testFailed">
48 + <target name="-createEmbeddableJar" depends="-jarjarInit" unless="_skipEmbeddable_">
49 <delete dir="${stagingDirectory}" quiet="true"/>
50 <mkdir dir="${stagingDirectory}"/>
51 <unzip dest="${stagingDirectory}">
52 @@ -839,6 +843,7 @@
53 <path id="groovydocpath">
54 <path path="${mainClassesDirectory}"/>
55 <path refid="runtimePath"/>
56 + <path refid="toolsPath"/>
57 <path path="${java.class.path}"/>
58 </path>
59 <antforked target="realgroovydoc" maxmemory="${groovyDoc_mx}" classpathref="groovydocpath"/>
60 diff -ur groovy-1.6.3/config/ant/build-maven.xml groovy-1.6.3-new/config/ant/build-maven.xml
61 --- groovy-1.6.3/config/ant/build-maven.xml 2009-07-27 10:36:57.000000000 +0200
62 +++ groovy-1.6.3-new/config/ant/build-maven.xml 2009-07-27 10:38:34.000000000 +0200
63 @@ -58,7 +58,7 @@
64
65 <target name="-mavenInit" depends="-mavenTaskdef,-mavenPomDefinitions"/>
66
67 - <target name="-mavenTaskdef">
68 + <target name="-mavenTaskdef" unless="_skipFetch_">
69 <typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant">
70 <classpath>
71 <fileset dir="${bootstrapDirectory}" includes="maven-ant-tasks-*.jar"/>
72 @@ -66,7 +66,7 @@
73 </typedef>
74 </target>
75
76 - <target name="-mavenPomDefinitions">
77 + <target name="-mavenPomDefinitions" unless="_skipFetch_">
78 <maven.pom file="pom.xml" id="groovy.pom"/>
79 <xslt in="pom.xml" out="${targetDirectory}/groovy-all.pom" style="config/maven/groovy-all.xsl"/>
80 <maven.pom file="${targetDirectory}/groovy-all.pom" id="groovy-all.pom"/>
81 @@ -84,7 +84,7 @@
82 <!--<maven.pom file="${targetDirectory}/groovy-all-jdk14.pom" id="groovy-all-jdk14.pom"/>-->
83 </target>
84
85 - <target name="-fetchDependencies" depends="-mavenFetchAllModules,-copyLibraries"/>
86 + <target name="-fetchDependencies" depends="-mavenFetchAllModules,-copyLibraries,-definePathsWithoutCopyingLibraries"/>
87
88 <target name="-mavenFetchAllModules" depends="-mavenInit" unless="_skipFetch_">
89 <fetch.maven.all.modules/>
90 @@ -99,6 +99,27 @@
91 <definePath pathId="jdk14ExtrasPath" filesetId="fs.runtime.groovy-jdk14-extras" libdir="${extrasLibDirectory}"/>
92 </target>
93
94 + <target name="-definePathsWithoutCopyingLibraries" if="_skipFetch_">
95 + <path id="compilePath">
96 + <fileset dir="${compileLibDirectory}" includes="**/*.jar"/>
97 + </path>
98 + <path id="runtimePath">
99 + <fileset dir="${runtimeLibDirectory}" includes="**/*.jar"/>
100 + </path>
101 + <path id="testLibPath">
102 + <fileset dir="${testLibDirectory}" includes="**/*.jar"/>
103 + </path>
104 + <path id="toolsPath">
105 + <fileset dir="${toolsLibDirectory}" includes="**/*.jar"/>
106 + </path>
107 + <path id="examplesPath">
108 + <fileset dir="${examplesLibDirectory}" includes="**/*.jar"/>
109 + </path>
110 + <path id="jdk14ExtrasPath">
111 + <fileset dir="${extrasLibDirectory}" includes="**/*.jar"/>
112 + </path>
113 + </target>
114 +
115 <target name="-mavenDeployInit" depends="-mavenInit">
116 <artifact:install-provider artifactId="wagon-webdav" version="1.0-beta-2"/>
117 </target>
118 diff -ur groovy-1.6.3/config/ant/build-setup.xml groovy-1.6.3-new/config/ant/build-setup.xml
119 --- groovy-1.6.3/config/ant/build-setup.xml 2009-07-27 10:36:57.000000000 +0200
120 +++ groovy-1.6.3-new/config/ant/build-setup.xml 2009-07-27 10:35:08.000000000 +0200
121 @@ -66,7 +66,11 @@
122 <sequential>
123 <java classname="org.apache.tools.ant.launch.Launcher" fork="true" maxmemory="@{maxmemory}" failonerror="true">
124 <classpath refid="@{classpathref}"/>
125 + <jvmarg value="-Duser.home=${user.home}" />
126 <arg value="@{target}"/>
127 + <arg value="-DskipFetch=${skipFetch}"/>
128 + <arg value="-DruntimeLibDirectory=${runtimeLibDirectory}"/>
129 + <arg value="-DtoolsLibDirectory=${toolsLibDirectory}" />
130 </java>
131 </sequential>
132 </macrodef>