From nmaven-issues-return-138-apmail-incubator-nmaven-issues-archive=incubator.apache.org@incubator.apache.org Tue Jul 15 02:40:56 2008 Return-Path: Delivered-To: apmail-incubator-nmaven-issues-archive@locus.apache.org Received: (qmail 2061 invoked from network); 15 Jul 2008 02:40:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 02:40:56 -0000 Received: (qmail 37587 invoked by uid 500); 15 Jul 2008 02:40:56 -0000 Delivered-To: apmail-incubator-nmaven-issues-archive@incubator.apache.org Received: (qmail 37572 invoked by uid 500); 15 Jul 2008 02:40:56 -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 37561 invoked by uid 99); 15 Jul 2008 02:40:56 -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:40:56 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=SPF_PASS,WEIRD_PORT 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:40:03 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id DC6DB14A803F for ; Mon, 14 Jul 2008 21:40:26 -0500 (CDT) Message-ID: <30822125.1216089626898.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Mon, 14 Jul 2008 21:40:26 -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=141784#action_141784 ] Brett Porter commented on NMAVEN-106: ------------------------------------- also, should this now be removed? webClient.DownloadData("http://localhost:9191?shutdown=true"); > 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