How to execute multiple commands automatically using ant?
I Have n number of rbinfo files in my directory structure.
For eg: I have StateRB.rbinfo file in the directory structure
\wt\lifecycle. To execute this file i run the below ant script:
< exec executable="${WT_HOME}/bin/ResourceBuild.bat">
< arg value="wt.lifecycle.StateRB"/>
< /exec>
This works perfectly fine.
Similarily i have RoleRB.rbinfo file in the location \wt\project and this
can be executed using:
< exec executable="${WT_HOME}/bin/ResourceBuild.bat">
< arg value="wt.project.RoleRB"/>
< /exec>
Note: basically arg value will be folder structure.file name
If i have to run n rbinfo files i need to include the ant scripts n times.
Please can any one suggest if there is any simpler way to run these files
automatically without much manual work!!!
Thanks,
Gouthami
No comments:
Post a Comment