Lines 1-4
Link Here
|
1 |
--- build.xml.orig 2020-04-10 22:29:25 UTC |
1 |
--- build.xml.orig 2020-07-17 21:24:30 UTC |
2 |
+++ build.xml |
2 |
+++ build.xml |
3 |
@@ -23,6 +23,7 @@ |
3 |
@@ -23,6 +23,7 @@ |
4 |
<property file="build.properties" /> |
4 |
<property file="build.properties" /> |
Lines 7-14
Link Here
|
7 |
+ <property name="pycmd" value="python"/> |
7 |
+ <property name="pycmd" value="python"/> |
8 |
|
8 |
|
9 |
<!-- default version and SCM information --> |
9 |
<!-- default version and SCM information --> |
10 |
<property name="base.version" value="4.0-alpha4"/> |
10 |
<property name="base.version" value="4.0-beta1"/> |
11 |
@@ -75,14 +76,14 @@ |
11 |
@@ -74,14 +75,14 @@ |
12 |
<condition property="version" value="${base.version}"> |
12 |
<condition property="version" value="${base.version}"> |
13 |
<isset property="release"/> |
13 |
<isset property="release"/> |
14 |
</condition> |
14 |
</condition> |
Lines 25-31
Link Here
|
25 |
<property name="maven-ant-tasks.url" |
25 |
<property name="maven-ant-tasks.url" |
26 |
value="https://repo.maven.apache.org/maven2/org/apache/maven/maven-ant-tasks" /> |
26 |
value="https://repo.maven.apache.org/maven2/org/apache/maven/maven-ant-tasks" /> |
27 |
<!-- details of how and which Maven repository we publish to --> |
27 |
<!-- details of how and which Maven repository we publish to --> |
28 |
@@ -241,7 +242,7 @@ |
28 |
@@ -246,7 +247,7 @@ |
29 |
</path> |
29 |
</path> |
30 |
<path id="cassandra.classpath.test"> |
30 |
<path id="cassandra.classpath.test"> |
31 |
<file file="${build.dir}/${final.name}.jar"/> <!-- we need the jar for tests and benchmarks (multi-version jar) --> |
31 |
<file file="${build.dir}/${final.name}.jar"/> <!-- we need the jar for tests and benchmarks (multi-version jar) --> |
Lines 34-48
Link Here
|
34 |
<include name="**/*.jar" /> |
34 |
<include name="**/*.jar" /> |
35 |
<exclude name="**/*-sources.jar"/> |
35 |
<exclude name="**/*-sources.jar"/> |
36 |
<exclude name="**/ant-*.jar"/> |
36 |
<exclude name="**/ant-*.jar"/> |
37 |
@@ -262,6 +263,7 @@ |
37 |
@@ -391,8 +392,7 @@ |
38 |
bottom="Copyright &copy; 2009-2020 The Apache Software Foundation" |
|
|
39 |
useexternalfile="yes" encoding="UTF-8" |
40 |
maxmemory="256m"> |
41 |
+ <arg value="${jdk11-javac-exports}"/> |
42 |
<filesets/> |
43 |
</javadoc> |
44 |
</sequential> |
45 |
@@ -379,8 +381,7 @@ |
46 |
<artifact:dependencies pathId="wikitext.classpath"> |
38 |
<artifact:dependencies pathId="wikitext.classpath"> |
47 |
<dependency groupId="com.datastax.wikitext" artifactId="wikitext-core-ant" version="1.3"/> |
39 |
<dependency groupId="com.datastax.wikitext" artifactId="wikitext-core-ant" version="1.3"/> |
48 |
<dependency groupId="org.fusesource.wikitext" artifactId="textile-core" version="1.3"/> |
40 |
<dependency groupId="org.fusesource.wikitext" artifactId="textile-core" version="1.3"/> |
Lines 52-58
Link Here
|
52 |
</artifact:dependencies> |
44 |
</artifact:dependencies> |
53 |
<taskdef classpathref="wikitext.classpath" resource="wikitexttasks.properties" /> |
45 |
<taskdef classpathref="wikitext.classpath" resource="wikitexttasks.properties" /> |
54 |
<wikitext-to-html markupLanguage="Textile"> |
46 |
<wikitext-to-html markupLanguage="Textile"> |
55 |
@@ -393,6 +394,8 @@ |
47 |
@@ -405,6 +405,8 @@ |
56 |
<target name="gen-doc" depends="maven-ant-tasks-init" description="Generate documentation" unless="ant.gen-doc.skip"> |
48 |
<target name="gen-doc" depends="maven-ant-tasks-init" description="Generate documentation" unless="ant.gen-doc.skip"> |
57 |
<exec executable="make" osfamily="unix" dir="${doc.dir}"> |
49 |
<exec executable="make" osfamily="unix" dir="${doc.dir}"> |
58 |
<arg value="html"/> |
50 |
<arg value="html"/> |
Lines 61-67
Link Here
|
61 |
</exec> |
53 |
</exec> |
62 |
<exec executable="cmd" osfamily="dos" dir="${doc.dir}"> |
54 |
<exec executable="cmd" osfamily="dos" dir="${doc.dir}"> |
63 |
<arg value="/c"/> |
55 |
<arg value="/c"/> |
64 |
@@ -435,10 +438,6 @@ |
56 |
@@ -447,10 +449,6 @@ |
65 |
description="Initialize Maven ANT Tasks"> |
57 |
description="Initialize Maven ANT Tasks"> |
66 |
<typedef uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" /> |
58 |
<typedef uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" /> |
67 |
|
59 |
|
Lines 72-78
Link Here
|
72 |
<macrodef name="install"> |
64 |
<macrodef name="install"> |
73 |
<attribute name="pomFile"/> |
65 |
<attribute name="pomFile"/> |
74 |
<attribute name="file"/> |
66 |
<attribute name="file"/> |
75 |
@@ -842,16 +841,14 @@ |
67 |
@@ -865,16 +863,14 @@ |
76 |
filesetId="build-dependency-jars" |
68 |
filesetId="build-dependency-jars" |
77 |
cacheDependencyRefs="true" |
69 |
cacheDependencyRefs="true" |
78 |
dependencyRefsBuildFile="${build.dir}/build-dependencies.xml"> |
70 |
dependencyRefsBuildFile="${build.dir}/build-dependencies.xml"> |
Lines 91-97
Link Here
|
91 |
</artifact:dependencies> |
83 |
</artifact:dependencies> |
92 |
<copy todir="${build.dir.lib}/jars"> |
84 |
<copy todir="${build.dir.lib}/jars"> |
93 |
<fileset refid="build-dependency-jars"/> |
85 |
<fileset refid="build-dependency-jars"/> |
94 |
@@ -864,7 +861,7 @@ |
86 |
@@ -887,7 +883,7 @@ |
95 |
<!-- code coverage tools --> |
87 |
<!-- code coverage tools --> |
96 |
<artifact:dependencies pomRefId="coverage-deps-pom" |
88 |
<artifact:dependencies pomRefId="coverage-deps-pom" |
97 |
filesetId="coverage-dependency-jars"> |
89 |
filesetId="coverage-dependency-jars"> |
Lines 100-106
Link Here
|
100 |
</artifact:dependencies> |
92 |
</artifact:dependencies> |
101 |
<copy todir="${build.dir.lib}/jars"> |
93 |
<copy todir="${build.dir.lib}/jars"> |
102 |
<fileset refid="coverage-dependency-jars"/> |
94 |
<fileset refid="coverage-dependency-jars"/> |
103 |
@@ -893,8 +890,7 @@ |
95 |
@@ -916,8 +912,7 @@ |
104 |
sourcesFilesetId="test-dependency-sources" |
96 |
sourcesFilesetId="test-dependency-sources" |
105 |
cacheDependencyRefs="true" |
97 |
cacheDependencyRefs="true" |
106 |
dependencyRefsBuildFile="${build.dir}/test-dependencies.xml"> |
98 |
dependencyRefsBuildFile="${build.dir}/test-dependencies.xml"> |
Lines 110-116
Link Here
|
110 |
</artifact:dependencies> |
102 |
</artifact:dependencies> |
111 |
<copy todir="${test.lib}/jars"> |
103 |
<copy todir="${test.lib}/jars"> |
112 |
<fileset refid="test-dependency-jars"/> |
104 |
<fileset refid="test-dependency-jars"/> |
113 |
@@ -1217,6 +1213,86 @@ |
105 |
@@ -1227,6 +1222,87 @@ |
114 |
</copy> |
106 |
</copy> |
115 |
</target> |
107 |
</target> |
116 |
|
108 |
|
Lines 150-155
Link Here
|
150 |
+ <fileset dir="pylib"> |
142 |
+ <fileset dir="pylib"> |
151 |
+ <include name="**" /> |
143 |
+ <include name="**" /> |
152 |
+ <exclude name="**/*.pyc" /> |
144 |
+ <exclude name="**/*.pyc" /> |
|
|
145 |
+ <exclude name="Dockerfile.ubuntu.*" /> |
153 |
+ </fileset> |
146 |
+ </fileset> |
154 |
+ </copy> |
147 |
+ </copy> |
155 |
+ <copy todir="${dist.dir}/"> |
148 |
+ <copy todir="${dist.dir}/"> |
Lines 197-203
Link Here
|
197 |
<!-- creates release tarballs --> |
190 |
<!-- creates release tarballs --> |
198 |
<target name="artifacts" depends="_artifacts-init" |
191 |
<target name="artifacts" depends="_artifacts-init" |
199 |
description="Create Cassandra release artifacts"> |
192 |
description="Create Cassandra release artifacts"> |
200 |
@@ -1923,8 +1999,8 @@ |
193 |
@@ -1347,6 +1423,7 @@ |
|
|
194 |
<target name="_build-test"> |
195 |
<javac |
196 |
fork="true" |
197 |
+ memorymaximumsize="512M" |
198 |
compiler="modern" |
199 |
debug="true" |
200 |
debuglevel="${debuglevel}" |
201 |
@@ -1938,8 +2015,8 @@ |
201 |
<exec executable="nproc" outputproperty="cores.count" os="Linux,SunOS,Solaris" failifexecutionfails="false"> |
202 |
<exec executable="nproc" outputproperty="cores.count" os="Linux,SunOS,Solaris" failifexecutionfails="false"> |
202 |
<arg value="--all"/> |
203 |
<arg value="--all"/> |
203 |
</exec> |
204 |
</exec> |
Lines 208-214
Link Here
|
208 |
<arg value="-n"/> |
209 |
<arg value="-n"/> |
209 |
<arg value="hw.ncpu"/> |
210 |
<arg value="hw.ncpu"/> |
210 |
</exec> |
211 |
</exec> |
211 |
@@ -1944,6 +2020,11 @@ |
212 |
@@ -1959,6 +2036,11 @@ |
212 |
<exec executable="sysctl" outputproperty="mem.size" os="Mac,Mac OS X,Darwin" failifexecutionfails="false"> |
213 |
<exec executable="sysctl" outputproperty="mem.size" os="Mac,Mac OS X,Darwin" failifexecutionfails="false"> |
213 |
<arg value="-n"/> |
214 |
<arg value="-n"/> |
214 |
<arg value="hw.memsize"/> |
215 |
<arg value="hw.memsize"/> |