Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 99420 invoked from network); 16 Apr 2002 23:22:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 16 Apr 2002 23:22:41 -0000 Received: (qmail 10620 invoked by uid 97); 16 Apr 2002 23:22:41 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 10576 invoked by uid 97); 16 Apr 2002 23:22:40 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 2757 invoked from network); 16 Apr 2002 15:38:06 -0000 From: "Edward Gemar" To: Subject: Building C# projects using Ant Date: Tue, 16 Apr 2002 10:38:03 -0500 Message-ID: <005401c1e55c$b316eaa0$1dcba8c0@forwardvue.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0055_01C1E532.CA40E2A0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0055_01C1E532.CA40E2A0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, The project I am working on has a J2EE server component and .Net C# client. We have the Java server components building and deploying fine using ant and now need to automate the build of our C# client. I know there are .Net optional Ant tasks, but they don't seem to do what we need. We would like to be able to just point to our existing Visual Studio solution and project files and have them build correctly. Currently, we are using the VS devenv.exe tool with the proper command line switches to this manually. There is an environment variable VSCOMNTOOLS that Visual Studio sets up that in theory we can use to point to the devenv.exe location. The problem is that the path set in VSCOMNTOOLS is quoted and does not point directly to the devenv.exe location. i.e. - VSCOMNTOOLS="C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\" Ant barfs if you try to add a relative path to a path that is quoted i.e. "C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\"..\IDE So the question is: Is there a better way to build VS .Net projects using Ant? If not is there an easy way to strip the quotes from a path or property? That will solve our problem if there is a way to do it because then it is trivial to build a path to the devenv.exe and invoke it using the task. Thanks Edward Gemar ForwardVue Technologies, Inc. Austin, TX Vox: 512-482-5126 Fax: 512-651-3209 ------=_NextPart_000_0055_01C1E532.CA40E2A0--