Is it possible to create an ant build file from java code using the ant API?
No ANT api provides such a function. You will have to use one of the following solutions: manually write the build.xml file:
If you don't need to stick with Java, the easiest way is to use groovy and groovy ant buillder (see here ). groovy is compiled into Java VM code and can be easily integrated into a Java program.
.
Java ANT API.
Java Java Ant
Source: https://habr.com/ru/post/1764473/More articles:ΠΠ°ΠΊ Π·Π°ΠΌΠ΅Π½ΠΈΡΡ ΡΡΡΠΎΠΊΡ Π² NSMutableString ΠΈΠ· Π΄ΡΡΠ³ΠΎΠΉ ΡΡΡΠΎΠΊΠΈ - objective-cWordpress: setting wp_nav_menu output, adding a div to a nested ul - wordpressFinally: it is guaranteed that it will be called anyway - c #How did the sphinx calculate weight? - full-text-searchWhat version of apache http client is compatible with java 1.4.2? - httpclientCan I use ExecuteScalar for updates? - c #ejb3: mapping many-to-many relationships compatible with a simple primary key - javaThe point equivalent for JOIN - syntaxΡΠΆΠ°ΡΡΠΉ/ΠΌΠΈΠ½ΠΈΡΠΈΠΏΠΈΡΠΎΠ²Π°Π½Π½ΡΠΉ ΠΏΡΠΎΡΠΎΡΠΈΠΏ ΡΠ°ΠΉΠ»Π° - prototypejsIs there a centralized error handling process in C # - c #All Articles