You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Prasad Kashyap <go...@gmail.com> on 2005/11/01 23:09:39 UTC

Question reg: build script

I have a question regarding one of our build scripts, particularly the
publish_build.sh
http://svn.apache.org/repos/asf/geronimo/scripts/publish_build.sh
 Why is there a *build()* at all ? The *publish_build_archives()* seems
relevant and appropriate.
 Cheers
Prasad

Re: Question reg: build script

Posted by David Blevins <da...@visi.com>.
On Nov 2, 2005, at 11:52 AM, Prasad Kashyap wrote:

> Cool.  My ant equivalent of the same is nearing completion too. Let  
> me test them both.
>

Awesome!

-David

>
> Thanx Dave.
>
> Cheers
> Prasad
>
>
> On 11/2/05, David Blevins <da...@visi.com> wrote: On Nov 1,  
> 2005, at 2:47 PM, David Blevins wrote:
>
> > On Nov 1, 2005, at 2:09 PM, Prasad Kashyap wrote:
> >
> >
> >> I have a question regarding one of our build scripts, particularly
> >> the publish_build.sh
> >> http://svn.apache.org/repos/asf/geronimo/scripts/publish_build.sh
> >>
> >> Why is there a build() at all ?  The publish_build_archives()
> >> seems relevant and appropriate.
> >>
> >>
> >
> > The original version of the script didn't have the "build" part in
> > it and assumed you knew the build was good.  It's a kind of hackish
> > part of the script that 1) builds online and makes sure you have
> > everything on your machine you need to build and 2) builds all the
> > projects related to Geronimo.  Both of which can take a long time.
> >
> > It can easily be yanked for a box that runs a build very often.
> >
>
> So last night I hacked up the publish_build.sh script creates the
> unstable builds to fix some of the things you've mentioned on IRC .
> First, i yanked the "build" function as you note above is a little
> crufty.  Second, I modified the maven call in the
> publish_build_archives section to do an m:build-all.
>
> Also, we now pass -Dgeronimo_version=1.0-12345 (for example) as a
> parameter which is now possible via a couple changes in the maven
> setup Dims and I made recently.  Much nicer than the perl technique
> that was previously there.
>
> Give it a run and tell me if it works for you.
>
> -David
>
>


Re: Question reg: build script

Posted by Prasad Kashyap <go...@gmail.com>.
Cool. My ant equivalent of the same is nearing completion too. Let me test
them both.
 Thanx Dave.
 Cheers
Prasad

 On 11/2/05, David Blevins <da...@visi.com> wrote:
>
> On Nov 1, 2005, at 2:47 PM, David Blevins wrote:
>
> > On Nov 1, 2005, at 2:09 PM, Prasad Kashyap wrote:
> >
> >
> >> I have a question regarding one of our build scripts, particularly
> >> the publish_build.sh
> >> http://svn.apache.org/repos/asf/geronimo/scripts/publish_build.sh
> >>
> >> Why is there a build() at all ? The publish_build_archives()
> >> seems relevant and appropriate.
> >>
> >>
> >
> > The original version of the script didn't have the "build" part in
> > it and assumed you knew the build was good. It's a kind of hackish
> > part of the script that 1) builds online and makes sure you have
> > everything on your machine you need to build and 2) builds all the
> > projects related to Geronimo. Both of which can take a long time.
> >
> > It can easily be yanked for a box that runs a build very often.
> >
>
> So last night I hacked up the publish_build.sh script creates the
> unstable builds to fix some of the things you've mentioned on IRC .
> First, i yanked the "build" function as you note above is a little
> crufty. Second, I modified the maven call in the
> publish_build_archives section to do an m:build-all.
>
> Also, we now pass -Dgeronimo_version=1.0-12345 (for example) as a
> parameter which is now possible via a couple changes in the maven
> setup Dims and I made recently. Much nicer than the perl technique
> that was previously there.
>
> Give it a run and tell me if it works for you.
>
> -David
>
>

Re: Question reg: build script

Posted by David Blevins <da...@visi.com>.
On Nov 1, 2005, at 2:47 PM, David Blevins wrote:

> On Nov 1, 2005, at 2:09 PM, Prasad Kashyap wrote:
>
>
>> I have a question regarding one of our build scripts, particularly  
>> the publish_build.sh
>> http://svn.apache.org/repos/asf/geronimo/scripts/publish_build.sh
>>
>> Why is there a build() at all ?  The publish_build_archives()  
>> seems relevant and appropriate.
>>
>>
>
> The original version of the script didn't have the "build" part in  
> it and assumed you knew the build was good.  It's a kind of hackish  
> part of the script that 1) builds online and makes sure you have  
> everything on your machine you need to build and 2) builds all the  
> projects related to Geronimo.  Both of which can take a long time.
>
> It can easily be yanked for a box that runs a build very often.
>

So last night I hacked up the publish_build.sh script creates the  
unstable builds to fix some of the things you've mentioned on IRC .   
First, i yanked the "build" function as you note above is a little  
crufty.  Second, I modified the maven call in the  
publish_build_archives section to do an m:build-all.

Also, we now pass -Dgeronimo_version=1.0-12345 (for example) as a  
parameter which is now possible via a couple changes in the maven  
setup Dims and I made recently.  Much nicer than the perl technique  
that was previously there.

Give it a run and tell me if it works for you.

-David


Re: Question reg: build script

Posted by David Blevins <da...@visi.com>.
On Nov 1, 2005, at 2:09 PM, Prasad Kashyap wrote:

> I have a question regarding one of our build scripts, particularly  
> the publish_build.sh
> http://svn.apache.org/repos/asf/geronimo/scripts/publish_build.sh
>
> Why is there a build() at all ?  The publish_build_archives() seems  
> relevant and appropriate.
>

The original version of the script didn't have the "build" part in it  
and assumed you knew the build was good.  It's a kind of hackish part  
of the script that 1) builds online and makes sure you have  
everything on your machine you need to build and 2) builds all the  
projects related to Geronimo.  Both of which can take a long time.

It can easily be yanked for a box that runs a build very often.

-David