This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I don't get any error but I can say that the inspect.bat is not executing as I don't get the output file which I am getting while running it directly through command prompt.
Does the bat file expect a output dir param? If not, it probably writes to the "current dir" from which the process was triggered. If you know the output filename, you can search for that file on your system and see if it got generated in some other folder than the one in which you are expecting it to be.
Originally posted by Saurabh Joshi: And just to bring to your notice, I can run the inspect.bat only through the intellij_binDir directory, So is my approach correct to run the inspect.bat from this specific dir.
The "exec" task accepts a dir attribute. Does the code in the bat file assume that it is always going to run from the intellij_binDir folder? If the bat file has no such assumptions, then you can place the bat file in some other directory and pass that dir path to the exec task.
Joined: Nov 15, 2007
Hey thanks to both of you for immediate response
Rodrigo: I tried your solution, that was good but it didn't help me.
Jai: Yes the 3 parameters given are mandatory which includes the last one as output dir. And it is compulsory to run the batch file from the specified dir.