Re: Running multiple phases on multimodules.

2010-03-24 Thread Brian Dilley
oops, mvnn.sh clean install

On Wed, Mar 24, 2010 at 3:18 PM, Brian Dilley  wrote:

> #!/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 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  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: users-unsubscr...@maven.apache.org
>> >> For additional commands, e-mail: users-h...@maven.apache.org
>> >
>> >
>> > -
>> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> > For additional commands, e-mail: users-h...@maven.apache.org
>> >
>>
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>


Re: Running multiple phases on multimodules.

2010-03-24 Thread Brian Dilley
#!/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  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  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: users-unsubscr...@maven.apache.org
> >> For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>