From nmaven-issues-return-137-apmail-incubator-nmaven-issues-archive=incubator.apache.org@incubator.apache.org Tue Jul 15 02:33:26 2008 Return-Path: Delivered-To: apmail-incubator-nmaven-issues-archive@locus.apache.org Received: (qmail 97409 invoked from network); 15 Jul 2008 02:33:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 02:33:26 -0000 Received: (qmail 36074 invoked by uid 500); 15 Jul 2008 02:33:26 -0000 Delivered-To: apmail-incubator-nmaven-issues-archive@incubator.apache.org Received: (qmail 36056 invoked by uid 500); 15 Jul 2008 02:33:26 -0000 Mailing-List: contact nmaven-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: nmaven-issues@incubator.apache.org Delivered-To: mailing list nmaven-issues@incubator.apache.org Received: (qmail 36045 invoked by uid 99); 15 Jul 2008 02:33:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 19:33:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 02:32:33 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 0996A14A803F for ; Mon, 14 Jul 2008 21:32:27 -0500 (CDT) Message-ID: <14795252.1216089147036.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Mon, 14 Jul 2008 21:32:27 -0500 (CDT) From: "Brett Porter (JIRA)" To: nmaven-issues@incubator.apache.org Subject: [jira] Commented: (NMAVEN-106) NMaven Service Embedder vs Simple Call of mvn.bat using dotnet System.Diagnostics.Process MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/NMAVEN-106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=141783#action_141783 ] Brett Porter commented on NMAVEN-106: ------------------------------------- the patch looks good, but I get: [ERROR] 'vbc' is not recognized as an internal or external command, [ERROR] operable program or batch file. is the batch file inheriting the environment of the IDE, or does the IDE not configure those paths? > NMaven Service Embedder vs Simple Call of mvn.bat using dotnet System.Diagnostics.Process > ----------------------------------------------------------------------------------------- > > Key: NMAVEN-106 > URL: http://jira.codehaus.org/browse/NMAVEN-106 > Project: NMaven > Issue Type: Improvement > Affects Versions: 0.14 (Unreleased) > Environment: win32 > Reporter: Leopoldo Agdeppa III > Fix For: 0.14 (Unreleased) > > Attachments: nmaven-106.patch, NMAVEN-106.patch, vsaddin_fix.zip > > > the Current way of running nmaven in Visual Studio is through NMaven Service Embedder running on Jetty > and commands are given through SOAP requests, then the service embedder executes the maven command using > embedded maven > One problem on this approach is canceling an executed nmaven command in VS > I think using this approach is not too maintainable since you have to maintain to components > One solution is to use System.Diagnostics.Process in VS for running maven commands since mvn.bat is already adequate for running nmaven commands > in this way we only have to maintain the command executed in the process -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira