Uninstalling with ANT's RPM target

2010-11-10 Thread Fawad Ali
Hi All, Can we uninstall a package from an ant's script. If yes, how? I want to have two tasks in ant file 1)ant install from spec file *( That is easy)* 2)Ant uninstall by simply running the Linux's *rpm -e package *command. Now how can I achieve this with ANT? -- Regards, S. Fawad Ali Shah Sof

RE: Uninstalling with ANT's RPM target

2010-11-10 Thread Ludwig, Michael
> I want to have > two tasks in ant file > 1)ant install from spec file *( That is easy)* > 2)Ant uninstall by simply running the Linux's *rpm -e package > *command. Take a look at the optional task and the help for your rpm command, or some examples like here: http://www.thegeekstuff.com/2010