How do I add a (staging/combining) project to a solution, that runs a batch file... nothing else?
Okay, so we have a number of solutions and to each one we want to add a new (common/shared) project. The purpose of this project will be to run a batch file... so far so simple.
It looks as though either a Staging or Combining project should do this job...
The staging project (the name which makes the most sense, since this is a stage in the build process) just won't run the command and so the batch file never executes.
The combining project can be made to run the batch file but it insists on calling "chmod" at the end of it. I really don't want it to do anything other than run the batch file... end of story. Part of the problem here is that chmod doesn't exist in Win7 installs... well, at least not on 64bit anyway. Secondly, I don't want it to make directories writable or read only, I just want it to run the batch file.
Is there a way to do this that I haven't realised?
I know I can set up pre/post build options in the original projects but that's not what I want to do. This is to be a common project shared by seven solutions, each with their own "private" project.
I guess by fixing the chmod issue this would probably work as a combining project, and that might do the trick... but I'm not sure why chmod is required in the first place.
Any thoughts?
Thanks
-
not sure how that got repeated repeated. But what is in the output window is not truly command line runnable. The chmod command runs but it is having a problem making the directory not writeable even tho it is read only. Odd. Now if I put the solution on a network drive which happens to be a Mac and then try it from Windows, then there is no problem. Something fishy about the Windows file permissions. But at the root of it all, why even chmod at all?
Please sign in to leave a comment.
Comments
7 comments