Ok. I know what goes wrong now.
For debug log4j with ant, it is jvmarg instead of arg needed to be
added within java tag.
log4j.properties is not read because there is another project which
also uses log4j logging system that I was not aware of. And that
classpath property is
I have a build.xml file which will read log4j.properties, stored in
conf, from conf and log message to another dir e.g. logs/file.log
My build file's classpath points to conf and then when launch the
application it will have classpath provided.
...
...
And in ta