15,332 questions
0
votes
0
answers
31
views
Apache Ant - verify checksums from list of files
Assume I have file with checksums called dlls-win32.sha256 with contents:
e6d6d39f4387bd9c63a83d28a753ade939a9760b9fc3870d415763e334e49aa3 *libwebp32.dll
...
1
vote
0
answers
23
views
Trouble with jacoco on apache ant
I have configured my ant target as
<target name="test" depends="build">
<echo message="----- TEST STARTED -----" />
<mkdir dir="${test.classes....
Advice
0
votes
8
replies
6k
views
Ant <script> task failing with GraalJS after migrating to Java 17
I am currently using Apache Ant 1.10.12 and migrating my Java application to Java 17. I have the following jars in my classpath:
js-scriptengine-22.3.1
graal-sdk-22.3.1
icu4j-71.1
js-22.3.1
regex-22.3....
0
votes
1
answer
71
views
How does the `<fileset>` element of Ant's build files work?
I have a buildfile build.xml with the following <copy> directive:
<copy todir="build">
<fileset dir="data"/>
</copy>
This references the ...
0
votes
0
answers
34
views
How to use SLF4J 2.0 with Apache Ant
I have to refactor a custom ant task to use a rewritten implementation of the code.
As part of the rewrite, the logging library was updated from slf4j 1.7.26 to 2.0.17, using logback 1.5.28, updated ...
0
votes
1
answer
42
views
how to add exclusions in gitlab pipeline using jacoco with ant for code coverage of java
How to add exclusions in gitlab pipeline using jacoco with ant for code coverage of java in gitlab? we are not using sonar.
Is there any direct command/property to add exclusions in gitlab?
just ...
0
votes
1
answer
91
views
PCTCompile and strict compile options
Im trying to make PCTCompile fail compilation with the following settings:
requireFullNames="true"
requireFieldQualifiers="true"
requireReturnValues="true"
However, ...
0
votes
1
answer
286
views
You're trying to compile a Drools asset without mvel
I have a unit test for my drools project that is running inside my Intellij IDEA environment, but fails in ant build. The error is:
Exception org.drools.base.common.MissingDependencyException: You're ...
0
votes
1
answer
37
views
Ant var access in groovy when running in parallel tasks
I'm trying to find a way to do use the below in my Ant build scripts, which means using groovy to modify the variable - this operation works fine when doing in serial, but when I use the parallel ...
0
votes
0
answers
59
views
Powershell Build Script: Edit a file, readback file to confirm contents, run ApacheANT to build JAR. Jar file looks like file edits were not made
Making a build script that edits a Config.java file to set the build type. Then run APACHE ANT command line version to generate a JAR file. Apache ANT runs an XML build file.
When I run it, the file ...
0
votes
1
answer
77
views
No appropriate method found for adding default on class org.apache.ivy.core.settings.IvySettings
I am trying to add Ivy to an Ant project for dependency management.
I am following the quick start directions from the docs.
I appear to be finding the ivysettings.xml file because the path specified ...
0
votes
0
answers
73
views
Issue with ant to exit when java process return code 1
I am using ant to trigger my java process using <exec>. A exact ant target written similar to below
<target>
<exec dir="${dir}" executable="${root}/rcc" ...
0
votes
1
answer
202
views
Package exists in another module - java.transaction.xa - JAVA 17
I am working on java 17 migration from java 8.
While upgrading the code I'm getting stuck on below error. Unable to proceed forward due to this issue.
Error:
[exec] ./src/javax/transaction/xa/Xid....
0
votes
1
answer
80
views
Can I specify ant properties in Netbeans project configuration
In Apache Netbeans, is it possible to set an ant property in the Project Configuration?
I've got this line in my projects build.xml:
<property name="Create Installer" value="y" /...
2
votes
1
answer
124
views
Setting system properties Junit 5 and Ant
In the middle of upgrading to junit 5, the current issue I'm running into is when running ant. Before we were setting system properties in the junit task which no longer works with junitlauncher.
...