You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2019/02/24 08:06:41 UTC
[incubator-iotdb] branch master updated: enable users define the
location of their thrift compiler
This is an automated email from the ASF dual-hosted git repository.
hxd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new b576720 enable users define the location of their thrift compiler
b576720 is described below
commit b576720e088510ea98775627bdf5c3bc32a1359e
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Sun Feb 24 15:39:20 2019 +0800
enable users define the location of their thrift compiler
---
pom.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index bbdbfa4..5aa9503 100644
--- a/pom.xml
+++ b/pom.xml
@@ -500,6 +500,9 @@
<exists>src/main/thrift</exists>
</file>
</activation>
+ <properties>
+ <thrift.exec.absolute.path>${project.build.directory}/tools/${thrift.executable}</thrift.exec.absolute.path>
+ </properties>
<build>
<plugins>
<plugin>
@@ -553,7 +556,7 @@
</goals>
<configuration>
<generator>java</generator>
- <thriftExecutable>${project.build.directory}/tools/${thrift.executable}</thriftExecutable>
+ <thriftExecutable>${thrift.exec.absolute.path}</thriftExecutable>
<thriftSourceRoot>${basedir}/src/main/thrift</thriftSourceRoot>
</configuration>
</execution>