Skip to main content

Questions tagged [ant]

Apache Ant (formerly Jakarta Ant) is a declarative, XML-based build tool created originally for Java projects. It provides a rich set of standard tasks for performing most common build operations, such as compiling Java source, building archives and running tests. Ant's functionality can be extended through custom tasks and macros.

ant
-1 votes
0 answers
27 views

How to solve "java.lang.IllegalStateException: CONSTANT_info: invalid tag value [18]" when running "ant test" command? [duplicate]

I have a spring project building with apache-ant-1.10.9. tools-2.14 version is used. When running "ant test" command in local environment, build is failing and got the error saying "...
RoshiDil's user avatar
  • 355
0 votes
0 answers
29 views

Warning: LF will be replaced by CRLF

We fetch the discrepencies of our salesforce org and our bitbucket repository and add commits with differences for each component type: Steps for automated script: Create a new branch and checkout to ...
Ritvik Bhomia's user avatar
0 votes
0 answers
11 views

Inconsistent Java Builds Using NetBeans and Ant

I have a Java Ant project in Netbeans that automatically generated the build script. During development, I used NB to compile and build the code. This consistently generates a jar file that is 140 KB ...
Gracie Crabtree's user avatar
0 votes
1 answer
19 views

package org.apache.tools.ant.util does not exist

I am trying to wrap an Ant Prjoect in Maven using the maven-antrun-plugin. This is my Plugin config <plugin> <groupId>org.apache.maven.plugins</groupId> <...
Tejas Mehta's user avatar
-1 votes
1 answer
50 views

Jacoco @Generated annotation is not excluding class with methods having anonymous class

I am using following this article to exclude any custom class where I dont want to write test cases https://www.baeldung.com/jacoco-report-exclude annotation to exclude class from jacoco coverage. I ...
harpal18's user avatar
  • 135
-1 votes
1 answer
38 views

Permission denied when setting environment variable on macOS

I'm trying to install apache ANT 1.10.14. I downloaded the binary configuration from this page. I then moved the unzipped 'apache-ant-1.10.14' to my home directory. As the setup guide suggests, I need ...
Rodolfo's user avatar
  • 310
0 votes
1 answer
138 views

XRechnung Visualization Transformators - PDF generation not working

After I Installed Java and Ant than I go xrechnung-visualization directory and run the commands, the PDF generated is not working, when trying to open it with adobe acrobat it says: "Adobe ...
mensur's user avatar
  • 11
0 votes
0 answers
14 views

How to set the TeamCity build number in ant?

I am new to ant and TeamCity, but my team has been using it a little. We can't seem to figure out this issue with customizing the build number. We want the build number to be formatted: b.<year>&...
Izek H's user avatar
  • 61
0 votes
1 answer
38 views

Why isn't my buildfile able to find a java class?

I'm trying to make a buildfile for a java class with a main method which uses command line arguments. But the run-target of the buildfile isn't able to find the classe even though the path should be ...
PochitaFanboy's user avatar
0 votes
0 answers
19 views

How to terminate tests in TestNG ANT task gracefully?

I have built test suite where they invoke builds in Jenkins through HTTP call and monitor the execution status. However whenever I send Ctrl+C, I notice that test execution halts immediately. I want ...
Kulkarni Sachin's user avatar
1 vote
1 answer
26 views

How to start weblogic server in debug mode with ant task?

I have the following script that starts and stops the weblogic 12.1.3 server without problems, but I can't get it to start in debug, even when I add the line <jvmarg value="-Xdebug -Xnoagent -...
estebanjpc's user avatar
0 votes
0 answers
20 views

Jenkins pipeline failed for run ant unit test case

I am running below Jenkins pipeline to run unit test case with Jacoco and ant but it showing me stylesheet error, but when I run same ant command from server its working fine. I have attached Jenkins ...
ankit thakkar's user avatar
0 votes
1 answer
27 views

Is it possible to use bash aliases in Apache Ant build.xml script?

I use Apache Ant for automate build program from sources. build.xml have exec task with command lazbuild which on my machine is not registered in path and needs to be called with some additional ...
Artem's user avatar
  • 529
0 votes
1 answer
31 views

My ant build fails concerning to node and npm - "npm error for site : Permission denied (publickey)."

Please find my ant target details concerning to node and npm for which my build process fails. <!-- Task to Install the required node modules --> <target name="resolve-npm" depends=&...
Dev Anand Sadasivam's user avatar
1 vote
0 answers
91 views

Maven Ant not showing all regular logs without debug mode

I want to run an ant build.xml file in Maven and see all the regular logs that ant shows when running the build file. The build file contains numerous targets and are called from one another. Our ant ...
user avatar

15 30 50 per page
1
2 3 4 5
1027