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 have a commercial product called Appworx. It's pretty good
for managing batch or back-end jobs. If this is a web app that is up
all the time you can consider Quartz. It is pretty easy to learn and
I have had good experiences with it.
-D
On Apr 30, 2008, at 12:13 PM, Dug-I-Am wrote:
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-test class and invoke that. I'm thinking that using Maven
to invoke
an Ant task might be a plan, but I can't find any examples. Anyone
have any
insight or examples about how I might accomplish this?
--
View this message in context:
http://www.nabble.com/Invoke-via-command-line-tp16989663s2369p16989663.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]