q977734161 commented on issue #941:
URL:
https://github.com/apache/incubator-paimon/issues/941#issuecomment-1580457306
@tsreaper still use **zip -d**, but i am going to use
**maven-antrun-plugin** instead of **exec-maven-plugin** ,At the same time, add
the judgment script ,If the system is Windows , use **certutil** to download
**zip. exe**, and then use the command **zip - d**; Otherwise, execute **zip -
d** directly.
`<contains string="${os.name}" substring="Mac"/>
<then>
<exec executable="certutil">
<arg line="-urlcache -split -f
http://stahlworks.com/dev/zip.exe /tmp/paimon-e2e-tests-jars/zip.exe"></arg>
</exec>
<exec
executable="/tmp/paimon-e2e-tests-jars/zip.exe">
<arg line=" -d
/tmp/paimon-e2e-tests-jars/bundled-hadoop.jar
org/apache/commons/cli/CommandLine.class"></arg>
</exec>
</then>
<else>
<exec executable="zip">
<arg line=" -d
/tmp/paimon-e2e-tests-jars/bundled-hadoop.jar
org/apache/commons/cli/CommandLine.class"></arg>
</exec>
</else>`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]