You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Joe Bohn <jo...@earthlink.net> on 2008/02/26 16:13:09 UTC

samples for 2.1?

Is there a plan on how to release the samples for 2.1 and forward?  It 
looks like the changes in the build structure have necessitated that we 
do something to release samples independently (or perhaps it was other 
changes).  In past releases it looks like the samples were built, voted 
on, and released as part of the Geronimo release itself.  However, they 
are no longer included under our configs with the restructure and hence 
they were not included in the process.

Should we create a tag for the 2.1 samples (thus far there are no tags 
in the samples svn (see 
https://svn.apache.org/repos/asf/geronimo/samples/ )?  Do we need to 
create release candidates and vote on releasing samples now?

I ran into this because I took a first pass at generating a new 
geronimo-plugins.xml for 2.1 yesterday since the old version was still 
referencing 2.1-SNAPSHOT for all of the plugins.  To include the samples 
I built https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/ 
but the poms there are versioned as 2.1-SNAPSHOT and are dependent upon 
the Geornimo 2.1-SNAPSHOT release.


Joe


Re: samples for 2.1?

Posted by Lin Sun <li...@gmail.com>.
I agree - it would be really nice to have a sample bundle (along with
plugin samples) released with each major geronimo release.  This can
be very good from a user perspective so that they have something to
get them started.

Lin

On Tue, Feb 26, 2008 at 11:03 AM, Joe Bohn <jo...@earthlink.net> wrote:
>
> Kevan Miller wrote:
>  >
>  > On Feb 26, 2008, at 10:13 AM, Joe Bohn wrote:
>  >
>  >>
>  >> Is there a plan on how to release the samples for 2.1 and forward?  It
>  >> looks like the changes in the build structure have necessitated that
>  >> we do something to release samples independently (or perhaps it was
>  >> other changes).  In past releases it looks like the samples were
>  >> built, voted on, and released as part of the Geronimo release itself.
>  >>  However, they are no longer included under our configs with the
>  >> restructure and hence they were not included in the process.
>  >>
>  >> Should we create a tag for the 2.1 samples (thus far there are no tags
>  >> in the samples svn (see
>  >> https://svn.apache.org/repos/asf/geronimo/samples/ )?  Do we need to
>  >> create release candidates and vote on releasing samples now?
>  >>
>  >> I ran into this because I took a first pass at generating a new
>  >> geronimo-plugins.xml for 2.1 yesterday since the old version was still
>  >> referencing 2.1-SNAPSHOT for all of the plugins.  To include the
>  >> samples I built
>  >> https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/ but
>  >> the poms there are versioned as 2.1-SNAPSHOT and are dependent upon
>  >> the Geornimo 2.1-SNAPSHOT release.
>  >
>  > Definitely something we need to do. Probably should have been something
>  > we did concurrently with a major release (e.g. 2.1).
>
>  I agree.  I think this is something that we need to be doing concurrent
>  with a release in the future.  At the moment things are kinda broken
>  from a user perspective.  They can't install the 2.1-SNAPSHOT plugins on
>  the 2.1 server.  This looks especially bad since we include links in the
>  welcome page ("/") to download and install the samples which currently
>  fail.  BTW, I tried to just change the dependent geronimo release in
>  geronimo-plugins.xml for the samples but they still would not install
>  because there are dependencies are missing (looks like there are
>  references to non-existent org.apache.geronimo.configs car files).
>
>  Joe
>
>
>
>  >
>  > So, I certainly think we should be tagging sample releases, they should
>  > be dependent upon G 2.1, and they need to be voted on.
>  >
>  > --kevan
>  >
>  >
>
>

Re: samples for 2.1?

Posted by Joe Bohn <jo...@earthlink.net>.
Kevan Miller wrote:
> 
> On Feb 26, 2008, at 10:13 AM, Joe Bohn wrote:
> 
>>
>> Is there a plan on how to release the samples for 2.1 and forward?  It 
>> looks like the changes in the build structure have necessitated that 
>> we do something to release samples independently (or perhaps it was 
>> other changes).  In past releases it looks like the samples were 
>> built, voted on, and released as part of the Geronimo release itself. 
>>  However, they are no longer included under our configs with the 
>> restructure and hence they were not included in the process.
>>
>> Should we create a tag for the 2.1 samples (thus far there are no tags 
>> in the samples svn (see 
>> https://svn.apache.org/repos/asf/geronimo/samples/ )?  Do we need to 
>> create release candidates and vote on releasing samples now?
>>
>> I ran into this because I took a first pass at generating a new 
>> geronimo-plugins.xml for 2.1 yesterday since the old version was still 
>> referencing 2.1-SNAPSHOT for all of the plugins.  To include the 
>> samples I built 
>> https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/ but 
>> the poms there are versioned as 2.1-SNAPSHOT and are dependent upon 
>> the Geornimo 2.1-SNAPSHOT release.
> 
> Definitely something we need to do. Probably should have been something 
> we did concurrently with a major release (e.g. 2.1).

I agree.  I think this is something that we need to be doing concurrent 
with a release in the future.  At the moment things are kinda broken 
from a user perspective.  They can't install the 2.1-SNAPSHOT plugins on 
the 2.1 server.  This looks especially bad since we include links in the 
welcome page ("/") to download and install the samples which currently 
fail.  BTW, I tried to just change the dependent geronimo release in 
geronimo-plugins.xml for the samples but they still would not install 
because there are dependencies are missing (looks like there are 
references to non-existent org.apache.geronimo.configs car files).

Joe

> 
> So, I certainly think we should be tagging sample releases, they should 
> be dependent upon G 2.1, and they need to be voted on.
> 
> --kevan
> 
> 


Re: samples for 2.1?

Posted by Joe Bohn <jo...@earthlink.net>.
Kevan Miller wrote:
> 
> On Feb 26, 2008, at 10:13 AM, Joe Bohn wrote:
> 
>>
>> Is there a plan on how to release the samples for 2.1 and forward?  It 
>> looks like the changes in the build structure have necessitated that 
>> we do something to release samples independently (or perhaps it was 
>> other changes).  In past releases it looks like the samples were 
>> built, voted on, and released as part of the Geronimo release itself. 
>>  However, they are no longer included under our configs with the 
>> restructure and hence they were not included in the process.
>>
>> Should we create a tag for the 2.1 samples (thus far there are no tags 
>> in the samples svn (see 
>> https://svn.apache.org/repos/asf/geronimo/samples/ )?  Do we need to 
>> create release candidates and vote on releasing samples now?
>>
>> I ran into this because I took a first pass at generating a new 
>> geronimo-plugins.xml for 2.1 yesterday since the old version was still 
>> referencing 2.1-SNAPSHOT for all of the plugins.  To include the 
>> samples I built 
>> https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/ but 
>> the poms there are versioned as 2.1-SNAPSHOT and are dependent upon 
>> the Geornimo 2.1-SNAPSHOT release.
> 
> Definitely something we need to do. Probably should have been something 
> we did concurrently with a major release (e.g. 2.1).
> 
> So, I certainly think we should be tagging sample releases, they should 
> be dependent upon G 2.1, and they need to be voted on.
> 

It seems like we need to get a release of the samples available for 2.1 
fairly soon.  There are a few things I think we need to do to make that 
happen:

1) Ensure that the samples build with Geronimo 2.1.  I've made some 
changes so they are now building but more may be necessary so that they 
are building correctly.  At the moment all samples in 
samples/branches/2.1 build with dependencies on the released 2.1 server.

2) Create plugins for each sample?  It has been suggested that we should 
have plugins available for each sample.  Some of the samples already 
build plugins (jsp-examples, servlet-examples, and ldap-sample) but most 
do not.  Should we create plugins of each sample?

3) Verify that each sample can deploy and is functional.  I've verified 
the jsp & servlet examples but it would be great if we could get folks 
to verify their favorite samples so that we have 100% coverage.

4) Branch for a 2.1 release or possibly use the maven-release-plugin to 
release the samples.

Are there other things that I've missed?

I was hoping that we could get a candidate release within a week or so. 
  Ideally we should release the samples concurrent with the server 
release in the future (esp. the jsp & servlet examples that are 
referenced from the geronimo welcome page "/").  For now, with the 
changes that I've already made in samples/branches/2.1 and the 
geronimo-plugins.xml, the jsp & servlet examples from the 2.1-SNAPSHOT 
can be installed in a 2.1 server but the install still fails when 
attempted from the welcome page (I think it must not look in the 
snapshot repo for the sample to install).

Joe


Re: samples for 2.1?

Posted by Kevan Miller <ke...@gmail.com>.
On Feb 26, 2008, at 10:13 AM, Joe Bohn wrote:

>
> Is there a plan on how to release the samples for 2.1 and forward?   
> It looks like the changes in the build structure have necessitated  
> that we do something to release samples independently (or perhaps it  
> was other changes).  In past releases it looks like the samples were  
> built, voted on, and released as part of the Geronimo release  
> itself.  However, they are no longer included under our configs with  
> the restructure and hence they were not included in the process.
>
> Should we create a tag for the 2.1 samples (thus far there are no  
> tags in the samples svn (see https://svn.apache.org/repos/asf/geronimo/samples/ 
>  )?  Do we need to create release candidates and vote on releasing  
> samples now?
>
> I ran into this because I took a first pass at generating a new  
> geronimo-plugins.xml for 2.1 yesterday since the old version was  
> still referencing 2.1-SNAPSHOT for all of the plugins.  To include  
> the samples I built https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/ 
>  but the poms there are versioned as 2.1-SNAPSHOT and are dependent  
> upon the Geornimo 2.1-SNAPSHOT release.

Definitely something we need to do. Probably should have been  
something we did concurrently with a major release (e.g. 2.1).

So, I certainly think we should be tagging sample releases, they  
should be dependent upon G 2.1, and they need to be voted on.

--kevan



Re: samples for 2.1?

Posted by Jarek Gawor <jg...@gmail.com>.
Yes, I think we should release the samples with or after each G release.

Thanks for starting this discussion! I meant to do that but got
distracted with other things.

I'm willing to help/work on the samples release.

Jarek

On Tue, Feb 26, 2008 at 10:13 AM, Joe Bohn <jo...@earthlink.net> wrote:
>
>  Is there a plan on how to release the samples for 2.1 and forward?  It
>  looks like the changes in the build structure have necessitated that we
>  do something to release samples independently (or perhaps it was other
>  changes).  In past releases it looks like the samples were built, voted
>  on, and released as part of the Geronimo release itself.  However, they
>  are no longer included under our configs with the restructure and hence
>  they were not included in the process.
>
>  Should we create a tag for the 2.1 samples (thus far there are no tags
>  in the samples svn (see
>  https://svn.apache.org/repos/asf/geronimo/samples/ )?  Do we need to
>  create release candidates and vote on releasing samples now?
>
>  I ran into this because I took a first pass at generating a new
>  geronimo-plugins.xml for 2.1 yesterday since the old version was still
>  referencing 2.1-SNAPSHOT for all of the plugins.  To include the samples
>  I built https://svn.apache.org/repos/asf/geronimo/samples/branches/2.1/
>  but the poms there are versioned as 2.1-SNAPSHOT and are dependent upon
>  the Geornimo 2.1-SNAPSHOT release.
>
>
>  Joe
>
>