Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Paul McMahan

On Oct 28, 2007, at 3:22 PM, Donald Woods wrote:

Any thoughts on setting up automated builds of Samples at least  
once a week?


That would be helpful.  Now that we have catalog support in car-maven- 
plugin we could also automatically update the online plugins catalog  
as well.  This would require some coordination around building server/ 
trunk and samples/trunk.Basically:

1.)  build server/trunk
2.)  build samples/trunk
3.)  run a script on ~/.m2/repository/geronimo-plugins.xml to remove  
references to the local repo
4.)  svn commit site/trunk/docs/plugins/geronimo-x.x/geronimo- 
plugins.xml


I can help with a perl script for #3 if someone more savvy with build  
automation wants to look further into this.


One other question -- should we try to have parity between what's in  
samples/trunk and what's in the samples section of the wiki?  Are  
there barriers, technical or otherwise, that make this difficult?


  http://cwiki.apache.org/GMOxSAMPLES/index.html
  http://svn.apache.org/repos/asf/geronimo/samples/trunk/


Best wishes,
Paul



Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Jarek Gawor
On 10/28/07, Donald Woods [EMAIL PROTECTED] wrote:

 Also, maybe a samples project under the server testsuite dir that
 verifies each sample can be installed and functions?

+1 to tests but I would rather put them somewhere with the samples.

Jarek


Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Jarek Gawor
On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:

 One other question -- should we try to have parity between what's in
 samples/trunk and what's in the samples section of the wiki?  Are
 there barriers, technical or otherwise, that make this difficult?

http://cwiki.apache.org/GMOxSAMPLES/index.html
http://svn.apache.org/repos/asf/geronimo/samples/trunk/

Yes, definitely. That was the goal for 2.0 samples at least. The wiki
documentation should be up to date (expect the artifact version) and
all the code in wiki should be in the samples svn. If anything, I
would like to remove the attached sample .zip files from the wiki and
instead direct the users to checkout the sample code from svn.

Also, I think we should release samples at the same time (or close to)
when we release Geronimo.

Jarek


Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Prasad Kashyap
While a part of me seems to agree with you that we should remove the
zip file from the samples' wiki pages, a greater part of me feels that
we may be forcing some our users to now get SVN.

A user who just downloads and installs from a binary server will have
no need for svn. But just to get to the samples, he now has to get
SVN.

Then he has to get maven to play with the samples. So we are making
him jump thro' many hoops just to see our prized samples.

Hmm..

Cheers
Prasad

On 10/29/07, Jarek Gawor [EMAIL PROTECTED] wrote:
 On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:
 
  One other question -- should we try to have parity between what's in
  samples/trunk and what's in the samples section of the wiki?  Are
  there barriers, technical or otherwise, that make this difficult?
 
 http://cwiki.apache.org/GMOxSAMPLES/index.html
 http://svn.apache.org/repos/asf/geronimo/samples/trunk/

 Yes, definitely. That was the goal for 2.0 samples at least. The wiki
 documentation should be up to date (expect the artifact version) and
 all the code in wiki should be in the samples svn. If anything, I
 would like to remove the attached sample .zip files from the wiki and
 instead direct the users to checkout the sample code from svn.

 Also, I think we should release samples at the same time (or close to)
 when we release Geronimo.

 Jarek



Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Prasad Kashyap
Paul,

I can help you do this.

Cheers
Prasad

On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:
 On Oct 28, 2007, at 3:22 PM, Donald Woods wrote:

  Any thoughts on setting up automated builds of Samples at least
  once a week?

 That would be helpful.  Now that we have catalog support in car-maven-
 plugin we could also automatically update the online plugins catalog
 as well.  This would require some coordination around building server/
 trunk and samples/trunk.Basically:
 1.)  build server/trunk
 2.)  build samples/trunk
 3.)  run a script on ~/.m2/repository/geronimo-plugins.xml to remove
 references to the local repo
 4.)  svn commit site/trunk/docs/plugins/geronimo-x.x/geronimo-
 plugins.xml

 I can help with a perl script for #3 if someone more savvy with build
 automation wants to look further into this.

 One other question -- should we try to have parity between what's in
 samples/trunk and what's in the samples section of the wiki?  Are
 there barriers, technical or otherwise, that make this difficult?

http://cwiki.apache.org/GMOxSAMPLES/index.html
http://svn.apache.org/repos/asf/geronimo/samples/trunk/


 Best wishes,
 Paul




Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Erik B. Craig

Prasad,
I have put some thought into this myself and agree with you. It would be 
too much of a hassle for users, I think, if they have to download 
subversion and maven along with the sample app, and THEN compile it 
before attempting to deploy it. Probably the best thing would be to have 
'releases' or snapshots of the sample apps up on the wiki, along with 
the source being in the subversion repo.



-Erik

Prasad Kashyap wrote:

While a part of me seems to agree with you that we should remove the
zip file from the samples' wiki pages, a greater part of me feels that
we may be forcing some our users to now get SVN.

A user who just downloads and installs from a binary server will have
no need for svn. But just to get to the samples, he now has to get
SVN.

Then he has to get maven to play with the samples. So we are making
him jump thro' many hoops just to see our prized samples.

Hmm..

Cheers
Prasad

On 10/29/07, Jarek Gawor [EMAIL PROTECTED] wrote:
  

On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:


One other question -- should we try to have parity between what's in
samples/trunk and what's in the samples section of the wiki?  Are
there barriers, technical or otherwise, that make this difficult?

   http://cwiki.apache.org/GMOxSAMPLES/index.html
   http://svn.apache.org/repos/asf/geronimo/samples/trunk/
  

Yes, definitely. That was the goal for 2.0 samples at least. The wiki
documentation should be up to date (expect the artifact version) and
all the code in wiki should be in the samples svn. If anything, I
would like to remove the attached sample .zip files from the wiki and
instead direct the users to checkout the sample code from svn.

Also, I think we should release samples at the same time (or close to)
when we release Geronimo.

Jarek




  


Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Jarek Gawor
Binary files in wiki and source in svn? That works for me.

Jarek

On 10/29/07, Erik B. Craig [EMAIL PROTECTED] wrote:
 Prasad,
 I have put some thought into this myself and agree with you. It would be
 too much of a hassle for users, I think, if they have to download
 subversion and maven along with the sample app, and THEN compile it
 before attempting to deploy it. Probably the best thing would be to have
 'releases' or snapshots of the sample apps up on the wiki, along with
 the source being in the subversion repo.


 -Erik

 Prasad Kashyap wrote:
  While a part of me seems to agree with you that we should remove the
  zip file from the samples' wiki pages, a greater part of me feels that
  we may be forcing some our users to now get SVN.
 
  A user who just downloads and installs from a binary server will have
  no need for svn. But just to get to the samples, he now has to get
  SVN.
 
  Then he has to get maven to play with the samples. So we are making
  him jump thro' many hoops just to see our prized samples.
 
  Hmm..
 
  Cheers
  Prasad
 
  On 10/29/07, Jarek Gawor [EMAIL PROTECTED] wrote:
 
  On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:
 
  One other question -- should we try to have parity between what's in
  samples/trunk and what's in the samples section of the wiki?  Are
  there barriers, technical or otherwise, that make this difficult?
 
 http://cwiki.apache.org/GMOxSAMPLES/index.html
 http://svn.apache.org/repos/asf/geronimo/samples/trunk/
 
  Yes, definitely. That was the goal for 2.0 samples at least. The wiki
  documentation should be up to date (expect the artifact version) and
  all the code in wiki should be in the samples svn. If anything, I
  would like to remove the attached sample .zip files from the wiki and
  instead direct the users to checkout the sample code from svn.
 
  Also, I think we should release samples at the same time (or close to)
  when we release Geronimo.
 
  Jarek
 
 
 
 



Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Paul McMahan
When I mentioned parity between svn and the wiki I really meant to  
stress the same stuff showing both locations, which I think Jarek's  
suggestion would help achieve.Another idea would be to build and  
deploy the samples using maven.  Then we could point the wiki page at  
the maven repo for both the compiled binary and for the source.zip  
(which is automatically created by maven).


Best wishes,
Paul

On Oct 29, 2007, at 2:12 PM, Jarek Gawor wrote:


Binary files in wiki and source in svn? That works for me.

Jarek

On 10/29/07, Erik B. Craig [EMAIL PROTECTED] wrote:

Prasad,
I have put some thought into this myself and agree with you. It  
would be

too much of a hassle for users, I think, if they have to download
subversion and maven along with the sample app, and THEN compile it
before attempting to deploy it. Probably the best thing would be  
to have

'releases' or snapshots of the sample apps up on the wiki, along with
the source being in the subversion repo.


-Erik

Prasad Kashyap wrote:

While a part of me seems to agree with you that we should remove the
zip file from the samples' wiki pages, a greater part of me feels  
that

we may be forcing some our users to now get SVN.

A user who just downloads and installs from a binary server will  
have

no need for svn. But just to get to the samples, he now has to get
SVN.

Then he has to get maven to play with the samples. So we are making
him jump thro' many hoops just to see our prized samples.

Hmm..

Cheers
Prasad

On 10/29/07, Jarek Gawor [EMAIL PROTECTED] wrote:


On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:

One other question -- should we try to have parity between  
what's in

samples/trunk and what's in the samples section of the wiki?  Are
there barriers, technical or otherwise, that make this difficult?

   http://cwiki.apache.org/GMOxSAMPLES/index.html
   http://svn.apache.org/repos/asf/geronimo/samples/trunk/

Yes, definitely. That was the goal for 2.0 samples at least. The  
wiki
documentation should be up to date (expect the artifact version)  
and

all the code in wiki should be in the samples svn. If anything, I
would like to remove the attached sample .zip files from the  
wiki and

instead direct the users to checkout the sample code from svn.

Also, I think we should release samples at the same time (or  
close to)

when we release Geronimo.

Jarek











Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Donald Woods

Then why not make this a real release, with a bin and src zip/tar like
we do for the server?

-Donald


Prasad Kashyap wrote:

While a part of me seems to agree with you that we should remove the
zip file from the samples' wiki pages, a greater part of me feels that
we may be forcing some our users to now get SVN.

A user who just downloads and installs from a binary server will have
no need for svn. But just to get to the samples, he now has to get
SVN.

Then he has to get maven to play with the samples. So we are making
him jump thro' many hoops just to see our prized samples.

Hmm..

Cheers
Prasad

On 10/29/07, Jarek Gawor [EMAIL PROTECTED] wrote:

On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:

One other question -- should we try to have parity between what's in
samples/trunk and what's in the samples section of the wiki?  Are
there barriers, technical or otherwise, that make this difficult?

   http://cwiki.apache.org/GMOxSAMPLES/index.html
   http://svn.apache.org/repos/asf/geronimo/samples/trunk/

Yes, definitely. That was the goal for 2.0 samples at least. The wiki
documentation should be up to date (expect the artifact version) and
all the code in wiki should be in the samples svn. If anything, I
would like to remove the attached sample .zip files from the wiki and
instead direct the users to checkout the sample code from svn.

Also, I think we should release samples at the same time (or close to)
when we release Geronimo.

Jarek





smime.p7s
Description: S/MIME Cryptographic Signature


Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Prasad Kashyap
+1 to that.

If we released it, then we could point it to the published binaries.

Cheers
Prasad

On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:
 When I mentioned parity between svn and the wiki I really meant to
 stress the same stuff showing both locations, which I think Jarek's
 suggestion would help achieve.Another idea would be to build and
 deploy the samples using maven.  Then we could point the wiki page at
 the maven repo for both the compiled binary and for the source.zip
 (which is automatically created by maven).

 Best wishes,
 Paul

 On Oct 29, 2007, at 2:12 PM, Jarek Gawor wrote:

  Binary files in wiki and source in svn? That works for me.
 
  Jarek
 
  On 10/29/07, Erik B. Craig [EMAIL PROTECTED] wrote:
  Prasad,
  I have put some thought into this myself and agree with you. It
  would be
  too much of a hassle for users, I think, if they have to download
  subversion and maven along with the sample app, and THEN compile it
  before attempting to deploy it. Probably the best thing would be
  to have
  'releases' or snapshots of the sample apps up on the wiki, along with
  the source being in the subversion repo.
 
 
  -Erik
 
  Prasad Kashyap wrote:
  While a part of me seems to agree with you that we should remove the
  zip file from the samples' wiki pages, a greater part of me feels
  that
  we may be forcing some our users to now get SVN.
 
  A user who just downloads and installs from a binary server will
  have
  no need for svn. But just to get to the samples, he now has to get
  SVN.
 
  Then he has to get maven to play with the samples. So we are making
  him jump thro' many hoops just to see our prized samples.
 
  Hmm..
 
  Cheers
  Prasad
 
  On 10/29/07, Jarek Gawor [EMAIL PROTECTED] wrote:
 
  On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:
 
  One other question -- should we try to have parity between
  what's in
  samples/trunk and what's in the samples section of the wiki?  Are
  there barriers, technical or otherwise, that make this difficult?
 
 http://cwiki.apache.org/GMOxSAMPLES/index.html
 http://svn.apache.org/repos/asf/geronimo/samples/trunk/
 
  Yes, definitely. That was the goal for 2.0 samples at least. The
  wiki
  documentation should be up to date (expect the artifact version)
  and
  all the code in wiki should be in the samples svn. If anything, I
  would like to remove the attached sample .zip files from the
  wiki and
  instead direct the users to checkout the sample code from svn.
 
  Also, I think we should release samples at the same time (or
  close to)
  when we release Geronimo.
 
  Jarek
 
 
 
 
 




Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-29 Thread Donald Woods

+1 to removing all zips from the Wiki and releasing the samples with (or
very quickly) after the server.

-Donald


Jarek Gawor wrote:

On 10/29/07, Paul McMahan [EMAIL PROTECTED] wrote:

One other question -- should we try to have parity between what's in
samples/trunk and what's in the samples section of the wiki?  Are
there barriers, technical or otherwise, that make this difficult?

   http://cwiki.apache.org/GMOxSAMPLES/index.html
   http://svn.apache.org/repos/asf/geronimo/samples/trunk/


Yes, definitely. That was the goal for 2.0 samples at least. The wiki
documentation should be up to date (expect the artifact version) and
all the code in wiki should be in the samples svn. If anything, I
would like to remove the attached sample .zip files from the wiki and
instead direct the users to checkout the sample code from svn.

Also, I think we should release samples at the same time (or close to)
when we release Geronimo.

Jarek



smime.p7s
Description: S/MIME Cryptographic Signature


Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-28 Thread Donald Woods

Cool, thanks.

Any thoughts on setting up automated builds of Samples at least once a week?

Also, maybe a samples project under the server testsuite dir that 
verifies each sample can be installed and functions?



-Donald


Jarek Gawor wrote:

This should be fixed now plus some other things I've found (i.e. licenses).

Jarek

On 10/27/07, Donald Woods [EMAIL PROTECTED] wrote:

I believe there a couple samples still using
org.apache.geronimo.applications instead of the new
org.apache.geronimo.samples groupId

-Donald

Paul McMahan wrote:

Jarek helped on GERONIMO-2784 by moving the samples from server/trunk to
samples/trunk.  Now I would like to deploy those samples to the ASF
snapshot repo so they can still be downloaded/installed from Geronimo's
plugin catalog.This notification starts a 3 day lazy consensus timer
for the PMC before I will deploy the snapshots to their new location in
the ASF snapshot repo.Up until now the samples have been voted on
and deployed concurrently with the server.See the JIRA for details.
https://issues.apache.org/jira/browse/GERONIMO-2784

Best wishes,
Paul







smime.p7s
Description: S/MIME Cryptographic Signature


Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-27 Thread Donald Woods
I believe there a couple samples still using 
org.apache.geronimo.applications instead of the new 
org.apache.geronimo.samples groupId


-Donald

Paul McMahan wrote:
Jarek helped on GERONIMO-2784 by moving the samples from server/trunk to 
samples/trunk.  Now I would like to deploy those samples to the ASF 
snapshot repo so they can still be downloaded/installed from Geronimo's 
plugin catalog.This notification starts a 3 day lazy consensus timer 
for the PMC before I will deploy the snapshots to their new location in 
the ASF snapshot repo.Up until now the samples have been voted on 
and deployed concurrently with the server.See the JIRA for details.

https://issues.apache.org/jira/browse/GERONIMO-2784

Best wishes,
Paul



smime.p7s
Description: S/MIME Cryptographic Signature


Re: deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-27 Thread Jarek Gawor
This should be fixed now plus some other things I've found (i.e. licenses).

Jarek

On 10/27/07, Donald Woods [EMAIL PROTECTED] wrote:
 I believe there a couple samples still using
 org.apache.geronimo.applications instead of the new
 org.apache.geronimo.samples groupId

 -Donald

 Paul McMahan wrote:
  Jarek helped on GERONIMO-2784 by moving the samples from server/trunk to
  samples/trunk.  Now I would like to deploy those samples to the ASF
  snapshot repo so they can still be downloaded/installed from Geronimo's
  plugin catalog.This notification starts a 3 day lazy consensus timer
  for the PMC before I will deploy the snapshots to their new location in
  the ASF snapshot repo.Up until now the samples have been voted on
  and deployed concurrently with the server.See the JIRA for details.
  https://issues.apache.org/jira/browse/GERONIMO-2784
 
  Best wishes,
  Paul
 




deploying snapshots of the samples to a new location in m2-snapshot-repo

2007-10-26 Thread Paul McMahan
Jarek helped on GERONIMO-2784 by moving the samples from server/trunk  
to samples/trunk.  Now I would like to deploy those samples to the  
ASF snapshot repo so they can still be downloaded/installed from  
Geronimo's plugin catalog.This notification starts a 3 day lazy  
consensus timer for the PMC before I will deploy the snapshots to  
their new location in the ASF snapshot repo.Up until now the  
samples have been voted on and deployed concurrently with the  
server.See the JIRA for details.

https://issues.apache.org/jira/browse/GERONIMO-2784

Best wishes,
Paul