Why do you need to use ant to run your task? Is there configuration
that Ant generates right before runtime? I think you can achieve
what you want with a main() method and a shell script. You could even
schedule it as a cron job. *batch file & task scheduler if your windows
At work we
I have an Appfuse Spring/Hibernate app where part of it is a process that
pulls data from various web sources and populates our local database. I
currently invoke this from a JUnit test with Maven and commit the
transaction rather than rolling it back. I'd rather create a main() method
in a non-t