You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2023/08/14 01:33:38 UTC
[iotdb] 03/04: mac
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch build_wind
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 8fa9fc3e0c6448643221067eaca71720dde8f310
Author: HTHou <hh...@outlook.com>
AuthorDate: Mon Aug 7 17:42:54 2023 +0800
mac
---
tools/thrift/pom.xml | 4 ++--
tools/thrift/src/main/assembly/thrift.xml | 9 +++++++--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/tools/thrift/pom.xml b/tools/thrift/pom.xml
index 036e61112c5..384162af905 100644
--- a/tools/thrift/pom.xml
+++ b/tools/thrift/pom.xml
@@ -42,9 +42,9 @@
<goal>wget</goal>
</goals>
<configuration>
- <url>https://archive.apache.org/dist/thrift/${thrift.version}/thrift-${thrift.version}.exe</url>
+ <url>https://gitbox.apache.org/repos/asf?p=iotdb-bin-resources.git;a=blob_plain;f=compile-tools/thrift-0.14-MacOS;hb=HEAD</url>
<outputDirectory>${project.build.directory}/tools</outputDirectory>
- <outputFileName>thrift.exe</outputFileName>
+ <outputFileName>thrift</outputFileName>
</configuration>
</execution>
</executions>
diff --git a/tools/thrift/src/main/assembly/thrift.xml b/tools/thrift/src/main/assembly/thrift.xml
index b40c985f3aa..927d4d865ab 100644
--- a/tools/thrift/src/main/assembly/thrift.xml
+++ b/tools/thrift/src/main/assembly/thrift.xml
@@ -18,7 +18,7 @@
under the License.
-->
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
- <id>windows-x86_64</id>
+ <id>mac-x86_64</id>
<formats>
<format>zip</format>
<format>dir</format>
@@ -28,7 +28,12 @@
<!-- Include the executable -->
<fileSet>
<directory>${project.build.directory}/tools</directory>
- <outputDirectory>bin/Release</outputDirectory>
+ <!-- Make the file executable -->
+ <fileMode>0755</fileMode>
+ <includes>
+ <include>**</include>
+ </includes>
+ <outputDirectory>bin</outputDirectory>
</fileSet>
</fileSets>
</assembly>