Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use param in antrun to support build in windows #390

Merged
merged 1 commit into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions hugegraph-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
</goals>
<configuration>
<tasks>
<!-- TODO: change to assembly plugin in future -->
<echo file="${project.basedir}/dist.sh">
root_path=$(cd $(dirname $0)/..; pwd)
cd $root_path
Expand Down
1 change: 1 addition & 0 deletions hugegraph-hubble/hubble-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
</goals>
<configuration>
<tasks>
<!-- TODO: change to assembly plugin in future -->
<echo file="${top.level.dir}/dist.sh">
cd ${hubble-fe.dir} || exit 1
export CI=false
Expand Down
19 changes: 6 additions & 13 deletions hugegraph-loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -648,19 +648,12 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo file="${project.basedir}/dist.sh">
tar -zcvf \
${project.basedir}/${final.name}.tar.gz ${final.name} || exit 1
rm -f ${project.basedir}/dist.sh
echo -n "hugegraph-loader tar.gz available at: "
echo "${project.basedir}/${final.name}.tar.gz"
</echo>
<exec executable="${shell-executable}"
dir="${project.basedir}" failonerror="true">
<arg line="./dist.sh"/>
</exec>
</tasks>
<target>
<tar destfile="${project.basedir}/${final.name}.tar.gz"
basedir="${project.basedir}"
includes="${final.name}/**"
Comment on lines -655 to +654
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

old name is hugegraph-loader tar.gz

and the new pkg name is? final.name?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i have fix all tools binary rename in pr #387

compression="gzip"/>
</target>
</configuration>
</execution>
</executions>
Expand Down
19 changes: 6 additions & 13 deletions hugegraph-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,19 +233,12 @@
<goal>run</goal>
</goals>
<configuration>
<tasks>
<echo file="${project.basedir}/dist.sh">
tar -zcvf \
${project.basedir}/${final.name}.tar.gz ${final.name} || exit 1
rm -f ${project.basedir}/dist.sh
echo -n "hugegraph-tools tar.gz available at: "
echo "${project.basedir}/${final.name}.tar.gz"
</echo>
<exec executable="${shell-executable}"
dir="${project.basedir}" failonerror="true">
<arg line="./dist.sh"/>
</exec>
</tasks>
<target>
<tar destfile="${project.basedir}/${final.name}.tar.gz"
basedir="${project.basedir}"
includes="${final.name}/**"
compression="gzip"/>
</target>
</configuration>
</execution>
</executions>
Expand Down