Subversion's post-commit on windows with ANT
I was very disappointed when I installed subversion and noticed that the commit scripts were non-windows based within the windows-installer for subversion. Well I quickly got over that, and realized ANT had all my needs. I searched the web for ANT Subversion Commit Scripts; and it returned some interesting articles, but no solid examples. So I quickly, researched ANT SVN plugins, then realized, I will be just executing SVN command line utilities to get the info I needed. First, you can find these details almost anywhere, but quickly for you POST-COMMIT script to work, windows must need to know how to execute it, therefore, it must have a recognizable extension (like .bat). So to start out with rename the file that came with the repository to post-commit.bat Second, subversion hooks run in a non-initialized dos command. That means you are not going to have any of the environment variables to your exposure. The following is the code I have within my post script to execute my ...