Most voted "ant" questions
Apache Ant is a tool used for compilation automation in software construction. It is similar to make but is written in the Java language and was initially developed to be used in projects of this language.
Learn more…10 questions
Sort by count of
-
6
votes2
answers189
viewsAdd JNI Library Compilation with Maven or ant tasks
I am creating a Java project with native methods (JNI) without having to create three separate projects for it. My goal is to compile everything I need all at once. I use only one DLL/OS in this…
-
5
votes1
answer154
viewsEclipse executes the ANT xml buildfile 2 times, even if it only has one run
In netbeans, after a few searches, I was able to edit the file build.xml in order to customize the way the IDE generated my jar and my manifest file. I had to migrate some projects to the eclipse,…
-
4
votes1
answer93
viewsChange lines of code within files with Apache Ant
I’m studying Apache Ant to try to change some existing lines of code within files, but so far I haven’t found anything about it in the official documentation the most I can do is rename files like…
-
3
votes2
answers2692
viewsChange project dependency folder (lib)
When compiling my project on Netbeans the files are generated in this way: ./dist ./dist/meuProjeto.jar ./dist/readme.txt ./dist/lib ./dist/lib/dependencia1.jar ./dist/lib/dependencia2.jar And I…
-
3
votes1
answer133
viewsError when building project with bilbioteca Commons-Email-1.4
In my project I needed to add the option of sending emails I added the library commons-email-1.4 I wrote all the code and tested it. So far everything perfect but when cleaning and building the file…
-
2
votes1
answer39
viewsHow to change the life cycle of the Maven?
I have an EJB project and would like to run the test after deploying my Air. Because I have a test on the ejb layer, which needs to access the ejbstubs inside the server(was), before I did it with…
-
1
votes1
answer267
viewsMaven calling Ant
I have a Maven project, I want Maven to "call" some target of ant, I’ve seen that there is a plugin "Maven-antrun-plugin" there on the apache site, but I can’t understand any example, someone could…
-
0
votes1
answer472
viewsHow to generate a jar through ANT?
I’m using Jdeveloper in conjunction with Ant, however I came across a very boring situation... I can’t generate one. functional jar through ant. I have already built a build.xml that contains the…
-
0
votes1
answer18
viewsSyntax error in SQL when starting OW2 Orchestra
I recently downloaded the OW2 orchestra software. In the user manual, after going through all the configuration steps (I’m using Mysql as my BD. The other settings are the defaults, including the…
-
0
votes2
answers131
viewsLoad with Ant and EAP task 7x "Caused by: java.lang.Noclassdeffounderror: javax/xml/Ws/Soap/Soapfaultexception"
I compile a script using the ant task, the load and the application platform JBOSS EAP 7, below follows my source code: <taskdef resource="cargo.tasks"> <classpath> <fileset…