Skip to content

Tag: ant

How to implement Log4j-audit in Java/GWT web app

Currently working on implementing audit logging for a web app and would like to use log4j-audit. The app is written using OpenJDK 8 and GWT 2.7 hosted by Jboss 6.4 and built using Ant 1.10.5. My question is how does one implement the log4j-audit framework into our current structure? I have worked through the getting started section and read the

How to set classpath in ant correctly?

I have my single dependency on path projectRoot/lib/jsoup.jar. My build.xml is simple: This doesn’t work, because jsoup.jar is not included in final AntDemo.jar. EDIT When compile target is running the output has warning: What does this warning mean? Thank you! Answer When you compile classes and specify a classpath, the classes and other resources in that javac classpath don’t get

ant build.xml file doesn’t exist

After the installation of my ant in my windows 7 . In cmd i typed ant -v it’s given the ant version but it says the following also. What’s the problem in the system. How i can rectify this issue? Answer You should use ant -version command instead. The -v option is equivalent of -verbose option. See Command-line Options Summary

Ant is not able to delete some files on windows

I have an ant build that makes directories, calls javac and all the regular stuff. The issue I am having is that when I try to do a clean (delete all the stuff that was generated) the delete task reports that is was unable to delete some files. When I try to delete them manually it works just fine. The