Thad, You can use the following parameters: spawn=false failonerror=true and a couple of others which are documented here: http://ant.apache.org/manual/CoreTasks/exec.html
On 5/5/05, Smith, Thad <[EMAIL PROTECTED]> wrote: > > Thanks, Easy enough... > > Does anyone know if there is a way to read the output from an > <ant:exec/> task (which could be multi-line) to determine if the > compilation was in fact successful? If not, I'll probably need to write > an ant task to do this. > > Thad Smith > > -----Original Message----- > From: Thomas Van de Velde [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 05, 2005 11:25 AM > To: Maven Users List > Subject: Re: Multi-language projects > > I am not aware of any plugins for C but you could call <ant:exec/> from > a > custom plugin to execute a compilation script for your language. Your > compilation scripts can be packaged within a plugin and executed on any > machine that has the a > > On 5/5/05, Smith, Thad <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > I'm new to Maven and am looking at it to unify the build processes for > > all of the internal products my group supports. We have several J2EE > > projects that we're working on which makes Maven a good fit. But we > also > > have several non-Java projects and what's worse is that some of our > J2EE > > projects have other languages intertwined such as Perl and C and even > > some proprietary languages. > > > > I'm looking for two things...First, is anyone else out there using > Maven > > to successfully manage non-java projects like this? If so, do you have > > any experiences/best practices that you can share? > > > > Secondly, Are there any plugins out there to do Perl validation or C > > compilation? My intuition is no since I can't find them on any of the > > Maven plugin pages. I wanted to make sure before I go writing my own. > > > > Regards, > > > > Thad Smith > > Senior Software Engineer > > Electric Reliability Council of Texas > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >