I need to automatize spring roo tasks from an ant build.xml
. Is it somehow possible? Maybe there is an ant task lib for the job?
Using ant instead of maven/gradle/... isn't my decision and I can't do anything with it.
Calling the roo shell with an exec task is only a last resort, I want a solution to that I don't need to step out from the jvm of the ant process.
Roo Shell executes over OSGi environment and requires it to run (uses OSGi dependency injections to get component in runtime). So, as Ant runs as simple java application, no way to run Roo shell as an Ant Task but use ant exec task (as you already comment).
Sorry.