Lines 1-4
Link Here
|
1 |
--- build.xml.orig 2018-10-07 14:44:46 UTC |
1 |
--- build.xml.orig 2019-02-02 22:06:43 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="3.11.3"/> |
10 |
<property name="base.version" value="3.11.4"/> |
11 |
@@ -75,14 +76,14 @@ |
11 |
@@ -77,14 +78,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="http://repo2.maven.org/maven2/org/apache/maven/maven-ant-tasks" /> |
26 |
value="http://repo2.maven.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 |
@@ -244,8 +245,7 @@ |
28 |
@@ -247,8 +248,7 @@ |
29 |
<artifact:dependencies pathId="wikitext.classpath"> |
29 |
<artifact:dependencies pathId="wikitext.classpath"> |
30 |
<dependency groupId="com.datastax.wikitext" artifactId="wikitext-core-ant" version="1.3"/> |
30 |
<dependency groupId="com.datastax.wikitext" artifactId="wikitext-core-ant" version="1.3"/> |
31 |
<dependency groupId="org.fusesource.wikitext" artifactId="textile-core" version="1.3"/> |
31 |
<dependency groupId="org.fusesource.wikitext" artifactId="textile-core" version="1.3"/> |
Lines 35-41
Link Here
|
35 |
</artifact:dependencies> |
35 |
</artifact:dependencies> |
36 |
<taskdef classpathref="wikitext.classpath" resource="wikitexttasks.properties" /> |
36 |
<taskdef classpathref="wikitext.classpath" resource="wikitexttasks.properties" /> |
37 |
<wikitext-to-html markupLanguage="Textile"> |
37 |
<wikitext-to-html markupLanguage="Textile"> |
38 |
@@ -258,6 +258,7 @@ |
38 |
@@ -261,6 +261,7 @@ |
39 |
<target name="gen-doc" depends="maven-ant-tasks-init" description="Generate documentation"> |
39 |
<target name="gen-doc" depends="maven-ant-tasks-init" description="Generate documentation"> |
40 |
<exec executable="make" osfamily="unix" dir="${doc.dir}"> |
40 |
<exec executable="make" osfamily="unix" dir="${doc.dir}"> |
41 |
<arg value="html"/> |
41 |
<arg value="html"/> |
Lines 43-49
Link Here
|
43 |
</exec> |
43 |
</exec> |
44 |
<exec executable="cmd" osfamily="dos" dir="${doc.dir}"> |
44 |
<exec executable="cmd" osfamily="dos" dir="${doc.dir}"> |
45 |
<arg value="/c"/> |
45 |
<arg value="/c"/> |
46 |
@@ -300,10 +301,6 @@ |
46 |
@@ -303,10 +304,6 @@ |
47 |
description="Initialize Maven ANT Tasks"> |
47 |
description="Initialize Maven ANT Tasks"> |
48 |
<typedef uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" /> |
48 |
<typedef uri="antlib:org.apache.maven.artifact.ant" classpathref="maven-ant-tasks.classpath" /> |
49 |
|
49 |
|
Lines 54-60
Link Here
|
54 |
<macrodef name="install"> |
54 |
<macrodef name="install"> |
55 |
<attribute name="pomFile"/> |
55 |
<attribute name="pomFile"/> |
56 |
<attribute name="file"/> |
56 |
<attribute name="file"/> |
57 |
@@ -682,16 +679,14 @@ |
57 |
@@ -685,16 +682,14 @@ |
58 |
filesetId="build-dependency-jars" |
58 |
filesetId="build-dependency-jars" |
59 |
cacheDependencyRefs="true" |
59 |
cacheDependencyRefs="true" |
60 |
dependencyRefsBuildFile="${build.dir}/build-dependencies.xml"> |
60 |
dependencyRefsBuildFile="${build.dir}/build-dependencies.xml"> |
Lines 73-79
Link Here
|
73 |
</artifact:dependencies> |
73 |
</artifact:dependencies> |
74 |
<copy todir="${build.dir.lib}/jars"> |
74 |
<copy todir="${build.dir.lib}/jars"> |
75 |
<fileset refid="build-dependency-jars"/> |
75 |
<fileset refid="build-dependency-jars"/> |
76 |
@@ -704,7 +699,7 @@ |
76 |
@@ -707,7 +702,7 @@ |
77 |
<!-- code coverage tools --> |
77 |
<!-- code coverage tools --> |
78 |
<artifact:dependencies pomRefId="coverage-deps-pom" |
78 |
<artifact:dependencies pomRefId="coverage-deps-pom" |
79 |
filesetId="coverage-dependency-jars"> |
79 |
filesetId="coverage-dependency-jars"> |
Lines 82-88
Link Here
|
82 |
</artifact:dependencies> |
82 |
</artifact:dependencies> |
83 |
<copy todir="${build.dir.lib}/jars"> |
83 |
<copy todir="${build.dir.lib}/jars"> |
84 |
<fileset refid="coverage-dependency-jars"/> |
84 |
<fileset refid="coverage-dependency-jars"/> |
85 |
@@ -725,8 +720,7 @@ |
85 |
@@ -728,8 +723,7 @@ |
86 |
sourcesFilesetId="test-dependency-sources" |
86 |
sourcesFilesetId="test-dependency-sources" |
87 |
cacheDependencyRefs="true" |
87 |
cacheDependencyRefs="true" |
88 |
dependencyRefsBuildFile="${build.dir}/test-dependencies.xml"> |
88 |
dependencyRefsBuildFile="${build.dir}/test-dependencies.xml"> |
Lines 92-98
Link Here
|
92 |
</artifact:dependencies> |
92 |
</artifact:dependencies> |
93 |
<copy todir="${test.lib}/jars"> |
93 |
<copy todir="${test.lib}/jars"> |
94 |
<fileset refid="test-dependency-jars"/> |
94 |
<fileset refid="test-dependency-jars"/> |
95 |
@@ -1021,6 +1015,88 @@ |
95 |
@@ -1024,6 +1018,88 @@ |
96 |
</jar> |
96 |
</jar> |
97 |
</target> |
97 |
</target> |
98 |
|
98 |
|
Lines 181-183
Link Here
|
181 |
<!-- creates release tarballs --> |
181 |
<!-- creates release tarballs --> |
182 |
<target name="artifacts" depends="jar,javadoc,gen-doc" |
182 |
<target name="artifacts" depends="jar,javadoc,gen-doc" |
183 |
description="Create Cassandra release artifacts"> |
183 |
description="Create Cassandra release artifacts"> |
|
|
184 |
@@ -1767,8 +1843,8 @@ |
185 |
<exec executable="nproc" outputproperty="cores.count" os="Linux,SunOS,Solaris" failifexecutionfails="false"> |
186 |
<arg value="--all"/> |
187 |
</exec> |
188 |
- <!-- support for Mac OS X --> |
189 |
- <exec executable="sysctl" outputproperty="cores.count" os="Mac,Mac OS X,Darwin" failifexecutionfails="false"> |
190 |
+ <!-- support for Mac OS X and FreeBSD --> |
191 |
+ <exec executable="sysctl" outputproperty="cores.count" os="Mac,Mac OS X,Darwin,FreeBSD" failifexecutionfails="false"> |
192 |
<arg value="-n"/> |
193 |
<arg value="hw.ncpu"/> |
194 |
</exec> |
195 |
@@ -1788,6 +1864,11 @@ |
196 |
<exec executable="sysctl" outputproperty="mem.size" os="Mac,Mac OS X,Darwin" failifexecutionfails="false"> |
197 |
<arg value="-n"/> |
198 |
<arg value="hw.memsize"/> |
199 |
+ </exec> |
200 |
+ <!-- support for FreeBSD --> |
201 |
+ <exec executable="sysctl" outputproperty="mem.size" os="FreeBSD" failifexecutionfails="false"> |
202 |
+ <arg value="-n"/> |
203 |
+ <arg value="hw.physmem"/> |
204 |
</exec> |
205 |
<echo message="Mem size : ${mem.size}"/> |
206 |
</target> |