我有一个gradle任务来创建目录的zip存档.gradle任务是:
task archiveReports(type: Zip) {
from '/projects/Reports/*'
archiveName 'Reports.zip'
}
Run Code Online (Sandbox Code Playgroud)
当我运行命令'gradle archiveReports'时,它显示构建成功.但是,没有创建任何zip文件.
我在这里错过了什么吗?
我正在尝试在 Windows 机器上安装 kafkaCat 工具。通过运行 ./bootstrap.sh 进行快速构建时,我收到以下错误:
$ ./bootstrap.sh
Directory librdkafka already exists, not downloading https://github.com/edenhill/librdkafka/archive/master.tar.gz
Directory libyajl already exists, not downloading https://github.com/lloyd/yajl/archive/master.tar.gz
Building librdkafka
checking for OS or distribution... ok (MINGW64_NT-6.1)
checking for C compiler from CC env... failed
checking for gcc (by command)... failed
checking for clang (by command)... failed
checking for cc (by command)... failed (fail)
checking for C++ compiler from CXX env... failed
checking for C++ compiler (g++)... failed
checking for C++ compiler (clang++)... failed
checking …Run Code Online (Sandbox Code Playgroud) 我点击上传按钮打开一个Windows文件选择器.我无法使用量角器在该文件选择器对话框中写入文件的路径.
我尝试通过在量角器中传递ctrl + v keypress将文本复制到剪贴板并将其粘贴到文件上载.能够复制文本但粘贴不起作用.
现在我打算使用robotjs或其他工具来实现这一目标.
知道如何在量角器中做到这一点?