#!/bin/bash

for i in $@
do
        mvn $i
        if [ $? != 0 ];
        then
                exit $?
        fi
done

put than in "mvnn.sh" and do:

mvn.sh clean install

:)

On Wed, Mar 24, 2010 at 3:14 PM, Manfred Moser <[email protected]> wrote:

> You can always stick it into a .bat file and call that..
>
> > That was my assumption, along with a French-sounding name making the
> > "profit" reference potentially meaningless.
> >
> > -K, who develops on a Mac. I do test on Windows...
> >
> > On Mar 24, 2010, at 5:04 PM, Wendy Smoak wrote:
> >
> >> On Wed, Mar 24, 2010 at 5:52 PM, Wayne Fay <[email protected]> wrote:
> >>
> >>>>> $ mvn clean ; mvn install ; echo profit!
> >>>
> >>> Did you try Jesse's suggestion on the command line? It does exactly
> >>> what you requested.
> >>
> >> ... unless he's on Windows, where there's no way to do it on one line
> >> afaik.  Happy to be proven wrong though!
> >>
> >> --
> >> Wendy
> >>
> >> ---------------------------------------------------------------------
> >> 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]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to