こんにちは、
post-commit.bat というバッチ ファイルを作成し、/hooks ディレクトリに配置しました。
ファイルの内容は次のとおりです。
TestCS.exe
exeファイルの内容は次のとおりです。
static void Main(string[] args)
{
try
{
// create a writer and open the file
TextWriter tw = new StreamWriter("date.txt");
// write a line of text to the file
tw.WriteLine(DateTime.Now);
// close the stream
tw.Close();
}
catch { }
}
post-commit.bat をダブルクリックすると、date.txt ファイルが作成されます。
SVN でコミットすると、時間がかかり、最終的に次のメッセージが表示されます: alt text http://img688.imageshack.us/img688/3894/exception.jpg
何が問題になる可能性がありますか?
ありがとう!