From users-return-6411-apmail-continuum-users-archive=continuum.apache.org@continuum.apache.org Wed Apr 30 23:29:55 2008 Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 37934 invoked from network); 30 Apr 2008 23:29:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 23:29:55 -0000 Received: (qmail 89962 invoked by uid 500); 30 Apr 2008 23:29:55 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 89938 invoked by uid 500); 30 Apr 2008 23:29:55 -0000 Mailing-List: contact users-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@continuum.apache.org Delivered-To: mailing list users@continuum.apache.org Received: (qmail 89927 invoked by uid 99); 30 Apr 2008 23:29:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 16:29:55 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.1.189] (HELO exprod6og105.obsmtp.com) (64.18.1.189) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 30 Apr 2008 23:29:03 +0000 Received: from source ([168.230.130.248]) by exprod6ob105.postini.com ([64.18.5.12]) with SMTP; Wed, 30 Apr 2008 16:26:52 PDT Received: from STPMSGMB01.corp.fairisaac.com ([10.32.5.92]) by STPMSGPF00.corp.fairisaac.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 Apr 2008 18:29:14 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: How to use exec-maven-plugin from Continuum? Date: Wed, 30 Apr 2008 18:29:15 -0500 Message-ID: <41A3BED1DB16944EA46CC3114E5A7FF30580237F@STPMSGMB01.corp.fairisaac.com> In-Reply-To: <9948cb690804300611w6f789b26tbcbcf2e9907f8214@mail.gmail.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to use exec-maven-plugin from Continuum? Thread-Index: Aciqw9Rwy/KJagCAQbGz2+JC1AtAkgAVTbHw References: <0350561216F6304796A8051881D92CAB21BB0053CE@VMBX107.ihostexchange.net> <41A3BED1DB16944EA46CC3114E5A7FF30576ECF6@STPMSGMB01.corp.fairisaac.com> <9948cb690804300611w6f789b26tbcbcf2e9907f8214@mail.gmail.com> From: "Tawfik, Sameh E" To: X-OriginalArrivalTime: 30 Apr 2008 23:29:14.0280 (UTC) FILETIME=[004FFA80:01C8AB1A] X-Virus-Checked: Checked by ClamAV on apache.org Thanks Oliver that worked fine. And more thing, if I want to execute more than one Perl script but at different times, for example, I want to run one Perl script, run a build, and then run a second Perl script when the build is complete. Can I do something like the following under the Goals? exec:exec clean install exec:exec And under the Arguments section, I would define both scripts one after the other. Would that work? What is the order of execution? Is the above is enough to make it run in this order? Thanks, Sameh -----Original Message----- From: oliver.lamy@gmail.com [mailto:oliver.lamy@gmail.com] On Behalf Of Olivier Lamy Sent: Wednesday, April 30, 2008 6:11 AM To: users@continuum.apache.org Subject: Re: How to use exec-maven-plugin from Continuum? Hi, Don't define evrything under goals sections Just : exec:exec (or more goals you need) The others must be in the Arguments section : -N -Dexec.executable=3D"2_Test_Update.pl" 2008/4/30 Tawfik, Sameh E : > > I've the following code in my pom.xml: > > > org.codehaus.mojo > exec-maven-plugin > > > > exec > > > > false > > Test_Update.pl > > 20 > > > > > I can successfully execute this code from the command line, by running > the following command: > > C:\projects>mvn -N exec:exec -Dexec.executable=3D"2_Test_Update.pl" > > But so far, I'd no luck executing this code from Continuum? > > I defined -N exec:exec -Dexec.executable=3D"2_Test_Update.pl" under Goals > section, but nothing happened? > > I tried adding the same code under the Arguments section, but that did > not work either? > > Does anyone know what the right syntax is? > > Thanks, > > Sameh > This email and any files transmitted with it are confidential, proprietary > and intended solely for the individual or entity to whom they are addressed. > If you have received this email in error please delete it immediately. > > This email and any files transmitted with it are confidential, proprietar= y and intended solely for the individual or entity to whom they are address= ed. If you have received this email in error please delete it immediately. =0D