Re: ant run command piping and get out put to value

2007-02-11 Thread Mr raju varghese
pipes) string. The > task also has a 'outputproperty' attribute that > allows you define the name of a property whose value > will be the output the commandline execution > > Good Luck, > > Ninju > > > - Original Message > From: Mr raju vargh

ant run command piping and get out put to value

2007-02-10 Thread Mr raju varghese
Hi, I need Ant to run some commands and save out put to a property value. how can i achive that. For example command: svn info | grep version I need to put output of the above command to property called 'svninfo'. And also how can i pipe commands using Ants exec. Thanks, Raju ___