
[英]change ant.zip() output directory
我想将ant.zip()的 output 存储在构建目录中。 我现在正在按照以下方式进行操作。 有没有办法直接在ant.zip()中做到这一点? ...
[英]change ant.zip() output directory
我想将ant.zip()的 output 存储在构建目录中。 我现在正在按照以下方式进行操作。 有没有办法直接在ant.zip()中做到这一点? ...
[英]Issues while configuring log4j 2.17 jar on tomcat 7, java 8
Tomcat:7.0.90 Java:1.8.0_161 Ant项目按照https://logging.apache.org/log4j/2.x/manual/migration.html使用网桥配置 log4j jars 时遇到问题。 长话短说,我删除了旧的 jar 文件并添加了新文件(桥、 ...
[英]is there a way to convert a project built in Ant to a Maven project?
Since Ant is obsolete, and Maven uses the same xml file as Ant, is there a way to convert a project built in Ant to a Maven project? ...
[英]Python Script has no effect on Apache Ant Build
我有一个 ant 构建文件:build.xml,现有构建目标:Rebuild-ALL。 我从 ant eclipse 插件运行。 构建文件包含从另一个文件引用的路径:file.def。 我想创建一个从另一条路径构建的新构建目标。 我开始执行以下操作: 创建修改 file.def 中路径的 pytho ...
[英]Ant checksum comparison?
当 echo debug output 清楚地表明校验和确实匹配时,我一直在努力弄清楚为什么这段代码失败了: 这是怎么回事? 为什么 arg1 和 arg2 匹配时比较失败? Apache Ant 中进行校验和比较的“标准方式”是什么? ...
[英]Problem obfuscating a JAR file using Yguard (com.yworks.yshrink.model.ModelVisitor has interface org.objectweb.asm.ClassVisitor as super class)
我试图混淆我生成的项目 JAR 文件,但没有成功。 所以我试图减少所有步骤以找出发生了什么,我意识到我根本无法使用 yguard,我不知道为什么。 也许是 eclipse 配置错误... 我在 pom.xml 中添加了 yguard 我在 pom.xml 和执行(在打包期间)中添加了试图混淆单个 ...
[英]How to have multiple if cases in a condition statement in Ant
就像在 switch 语句中一样,我想在不同的情况下设置不同的值我只能有一个条件,并且在这个条件语句中只能设置两个不同的值: 一旦设置, prop是不可变的,所以我不能改变它的价值。 我需要的是这样的 ...
[英]Pass Command Line arguments to Apache Ant build file from DITAOT custom plugin
我正在尝试为 dita-ot 构建一个非常基本的自定义 html5 插件。 下面是我目前的设置。 这是我的 plugin.xml 文件。 插件.xml 这里是 build.xml 控制台只显示文本,没有值。 我期待在那里看到“否”,因为它是默认值。 最终目标是在转换标签中获取 CLI argumen ...
[英]Why do my Mockito-inline JUnit tests crash when run through Ant, and succeed in IntelliJ IDEA?
由于各种原因,我已经开始使用 Mockito 在我的单元测试中模拟一些类,并且随着我的开发,我得到了一切工作。 完成更改后,我推送到我们的构建服务器,发现通过 Ant 运行时单元测试被破坏。 我已经能够在一个简单的精简案例中重现这一点,其中我使用 Mockito 来测试模拟 static 方法的 ...
[英]Run a command with su -c and exit when done
我正在尝试使用其他用户使用以下命令运行命令: sh 文件调用 ant 脚本。 当 BUILD SUCCESSFUL 出现在文件上时,我需要结束它。 但是,如果我在 myuser 中运行它,它就可以工作。 如果我通过另一个用户运行它,并使用 su -c,它最后不会退出,我需要按 CTRL+C。 最后 ...
[英]Javacard: error on static array initialization in package build with ant-javacard
对于带有 static 数组的库 package,我有以下玩具代码: 以及以下 ant 任务来构建库 package: 但我收到以下错误消息: 为什么库中的 static 数组有问题? 如果我删除 static 阵列,则构建良好 ...
[英]how to upload SAP hybris to Azure artifacts and use for build dependancy
我是 Devops 的新手。 我正在尝试为 SAP hybris 设置 Azure devops 管道。 您能否提供有关如何将 SAP hybris 框架上传到 Azure 工件并将其用于构建时间依赖性的任何指示? 到目前为止,我已经创建了 windows 构建代理。 我不清楚为 SAP hybri ...
[英]How can PMD HTML Report's Error Description Link Show Local Folder
我正在通过 ant 任务为我的 java web 项目使用 PMD 源代码分析器 ( PMD )。 计算机处于脱机状态(未连接到 Internet)。 ant部分任务如下: 当我运行pmd target 时, report.html文件生成正常。 html 文件基本上列出了 <fileNa ...
[英]Ant execution different depending on svn export
我有一个ant build.xml脚本。 为了运行我的应用程序,它需要外部库。 I am able to successfully run ant clean jar in the command prompt, and in the -do-jar-copylibs function the l ...
[英]Compiling QZ Tray with ant using self signed certificate
我正在尝试使用 Mac 上的 ant 命令行编译带有自签名证书的 QZ Tray 应用程序。 我一直在关注官方指南。 签出代码后,我生成了证书和密钥,并使用了以下命令: ant dmg -Dauthcert.use="cert.pem" 也试过ant pkgbuild -Dauthcert.use ...
[英]Migration from Ant to Maven with OSGI?
我正在将一个旧项目从 Ant 迁移到 Maven。 该项目应该由捆绑在一起的几个项目组成,并且必须是 OSGI。 它曾经是以 OSGI 的方式构建的 Ant。 我正在使用 Eclipse IDE。 是否可以从 Maven 运行 Ant 并确保它是 OSGI? 我可以找到一些关于从 Maven(Ma ...
[英]How can I click on a button on the same element with a specific name?
这是 ant-react 项目。 html: js: 有很多item元素。 我需要单击名称为“名称 1”的元素的“完成”按钮。 但每次我得到错误: ... Cypress 要求将元素附加到 DOM 中以与它们交互。 我该怎么做? ...
[英]Ant formulation transformation from taskdef to exec problem
由于与此问题相同的问题,我必须对此进行转换: 使用这种公式: 我已经尝试了一些东西,但我无法弄清楚,知道吗? ...
[英]Hybris how to create another storefront with its own urls
我创建了一个新的 hybris 项目,它有自己的 b2c 电子店面和自己的映射: website.electronics.http=http://electronics.local:9001/teststorefront1 website.electronics.https=https://ele ...
[英]Spring AntPathMatcher with a custom separator behaves strangely
我遇到了 Spring Boot 版本2.5.5 AntPathMatcher问题。 我假设如果pattern和path相等并且它们都不包含 Ant 特定的字符(即假设它只包含字母数字字符),则 Ant 匹配器应该返回true 。 以下几行演示了假设失败: new AntPathMatcher() ...