Return-Path: Delivered-To: apmail-incubator-thrift-dev-archive@minotaur.apache.org Received: (qmail 25880 invoked from network); 23 Jun 2009 16:20:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Jun 2009 16:20:29 -0000 Received: (qmail 72752 invoked by uid 500); 23 Jun 2009 16:20:40 -0000 Delivered-To: apmail-incubator-thrift-dev-archive@incubator.apache.org Received: (qmail 72719 invoked by uid 500); 23 Jun 2009 16:20:40 -0000 Mailing-List: contact thrift-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: thrift-dev@incubator.apache.org Delivered-To: mailing list thrift-dev@incubator.apache.org Received: (qmail 72704 invoked by uid 99); 23 Jun 2009 16:20:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 16:20:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Jun 2009 16:20:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9D884234C056 for ; Tue, 23 Jun 2009 09:20:07 -0700 (PDT) Message-ID: <1825836615.1245774007644.JavaMail.jira@brutus> Date: Tue, 23 Jun 2009 09:20:07 -0700 (PDT) From: "Michael Walsh (JIRA)" To: thrift-dev@incubator.apache.org Subject: [jira] Created: (THRIFT-525) ThriftTest project will not generate c# from .thrift file or generate ThriftImpl.dll MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org ThriftTest project will not generate c# from .thrift file or generate ThriftImpl.dll ------------------------------------------------------------------------------------ Key: THRIFT-525 URL: https://issues.apache.org/jira/browse/THRIFT-525 Project: Thrift Issue Type: Bug Components: Library (C#), Test Suite Affects Versions: 0.2 Environment: Windows, Visual Studio.net 2008, x86, cygwin dependant thrift.exe compiler Reporter: Michael Walsh The C# Library Solution (thrift\lib\csharp\src\Thrift.sln) fails to compile because of problems with the PreBuildEvent for the ThriftTest Project (thrift\test\csharp\ThriftTest\ThriftTest.csproj). - Thrift.exe is called with the outdated -csharp instead of --gen csharp - All of the existing commands in the PreBuildEvent will fail if there's a space in any directory name in the directory tree (such as "My Documents" or "Visual Studio 2008"). - The recursive forced rmdir command will match other directory trees that share a common root (e.g. c:\test\Work\ will be recursively removed if the project is located in c:\test\Work for Thrift\test\csharp) I have attached a patch that replaces the PreBuildEvent in the ThriftTest project file to fix these problems and work with directory trees that contain spaces. As the thrift.exe compiler does NOT accept paths with spaces when surrounded by quotes, my script generates MSDOS 8.3 pathnames to pass to the thrift compiler and it appears to work just fine. This has only been tested on my machine with VS.net pro 2008 and a current thrift checkout -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.