You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Sean Schofield <se...@gmail.com> on 2005/03/10 21:52:43 UTC

Revised Webapps Proposal

Here is an updated proposal.  

We should create a new simple-examples webapp using the simplified JSP
pages that I gave Matthias.  This I think we are in 100% agreement on
this (we'll leave the original alone for now.)

We should dramatically simplify the build scripts used to build the webapps.

Here are the problems with the current build scripts as I see them:

i.   There are a bunch of them and now we need one more (for
simplified examples)

ii.  Each build script is in its own folder inside the build directory
of CVS which contains nothing but that build script

iii. The build scripts have a lot of extra stuff for deploying to
Tomcat which I think we could take out.  The nightly build (which
builds these examples) should not require TOMCAT_HOME which is now
required because of the catalina-ant.jar tasks.

Here is my proposal:

1. Move the stuff in webapps/examples/src to webapps/src (so it can be
more easily shared across the webapps.)

2. Create a new webapps/simple directory where the stuff I gave Matthias goes

3. Create a new build-webapps.xml script which will compile the
example src and build the appropriate war files (no deployment, etc.) 
Webapps to be built will include: blank, myfaces-examples and
simple-examples for now.

4. Get rid of the separate build scripts for blank, myfaces-examples
and simple-examples.

5. Modify the nightly bootstrap build file to also build the webapps
and then tar them up.  Also add a "release" target to the bootstrap
file so we can build the release and nightlies using CVS in a
consistent manner (as Martin Cooper has suggested.)

I will do the grunt work of all of this if we can get agreement.  I
think it would be a mistake to not try to get control of some of this
stuff right now while we have the chance.

sean

Re: Revised Webapps Proposal

Posted by Sean Schofield <se...@gmail.com>.
Nice work Matthias.  I am out of town this weekend due to a family
emergency (everything is ok now.)  I will take a look shortly and see
if I can't work up some of those improvements to the build files.

sean


On Sat, 12 Mar 2005 12:58:01 +0100, Matthias Wessendorf
<ma...@matthias-wessendorf.de> wrote:
> Hi all,
> 
> I just did the following to our web apps example
> 
> -moved webapps/examples/src to webapps/src
> -moved webapps/examples/web to webapps/examples
> -created webapps/simple/ that contains Sean's simple web app files
> -created a new build.xml inside of build/simple-webapp
> 
> I guess, there is some work on the build files needed...
> 
> But for now the sample app seams to be clearer...
> 
> -Matthias
> 
> Sean Schofield wrote:
> > Here is an updated proposal.
> >
> > We should create a new simple-examples webapp using the simplified JSP
> > pages that I gave Matthias.  This I think we are in 100% agreement on
> > this (we'll leave the original alone for now.)
> >
> > We should dramatically simplify the build scripts used to build the webapps.
> >
> > Here are the problems with the current build scripts as I see them:
> >
> > i.   There are a bunch of them and now we need one more (for
> > simplified examples)
> >
> > ii.  Each build script is in its own folder inside the build directory
> > of CVS which contains nothing but that build script
> >
> > iii. The build scripts have a lot of extra stuff for deploying to
> > Tomcat which I think we could take out.  The nightly build (which
> > builds these examples) should not require TOMCAT_HOME which is now
> > required because of the catalina-ant.jar tasks.
> >
> > Here is my proposal:
> >
> > 1. Move the stuff in webapps/examples/src to webapps/src (so it can be
> > more easily shared across the webapps.)
> >
> > 2. Create a new webapps/simple directory where the stuff I gave Matthias goes
> >
> > 3. Create a new build-webapps.xml script which will compile the
> > example src and build the appropriate war files (no deployment, etc.)
> > Webapps to be built will include: blank, myfaces-examples and
> > simple-examples for now.
> >
> > 4. Get rid of the separate build scripts for blank, myfaces-examples
> > and simple-examples.
> >
> > 5. Modify the nightly bootstrap build file to also build the webapps
> > and then tar them up.  Also add a "release" target to the bootstrap
> > file so we can build the release and nightlies using CVS in a
> > consistent manner (as Martin Cooper has suggested.)
> >
> > I will do the grunt work of all of this if we can get agreement.  I
> > think it would be a mistake to not try to get control of some of this
> > stuff right now while we have the chance.
> >
> > sean
> >
> 
> --
> Matthias Weßendorf
> Aechterhoek 18
> DE-48282 Emsdetten
> Germany
> phone: +49-2572-9170275
> cell phone: +49-179-1118979
> email: matzew AT apache DOT org
> url: http://www.wessendorf.net
> callto://mwessendorf (Skype)
> icq: 47016183
>

Re: Revised Webapps Proposal

Posted by Matthias Wessendorf <ma...@matthias-wessendorf.de>.
Hi all,

I just did the following to our web apps example

-moved webapps/examples/src to webapps/src
-moved webapps/examples/web to webapps/examples
-created webapps/simple/ that contains Sean's simple web app files
-created a new build.xml inside of build/simple-webapp

I guess, there is some work on the build files needed...

But for now the sample app seams to be clearer...

-Matthias

Sean Schofield wrote:
> Here is an updated proposal.  
> 
> We should create a new simple-examples webapp using the simplified JSP
> pages that I gave Matthias.  This I think we are in 100% agreement on
> this (we'll leave the original alone for now.)
> 
> We should dramatically simplify the build scripts used to build the webapps.
> 
> Here are the problems with the current build scripts as I see them:
> 
> i.   There are a bunch of them and now we need one more (for
> simplified examples)
> 
> ii.  Each build script is in its own folder inside the build directory
> of CVS which contains nothing but that build script
> 
> iii. The build scripts have a lot of extra stuff for deploying to
> Tomcat which I think we could take out.  The nightly build (which
> builds these examples) should not require TOMCAT_HOME which is now
> required because of the catalina-ant.jar tasks.
> 
> Here is my proposal:
> 
> 1. Move the stuff in webapps/examples/src to webapps/src (so it can be
> more easily shared across the webapps.)
> 
> 2. Create a new webapps/simple directory where the stuff I gave Matthias goes
> 
> 3. Create a new build-webapps.xml script which will compile the
> example src and build the appropriate war files (no deployment, etc.) 
> Webapps to be built will include: blank, myfaces-examples and
> simple-examples for now.
> 
> 4. Get rid of the separate build scripts for blank, myfaces-examples
> and simple-examples.
> 
> 5. Modify the nightly bootstrap build file to also build the webapps
> and then tar them up.  Also add a "release" target to the bootstrap
> file so we can build the release and nightlies using CVS in a
> consistent manner (as Martin Cooper has suggested.)
> 
> I will do the grunt work of all of this if we can get agreement.  I
> think it would be a mistake to not try to get control of some of this
> stuff right now while we have the chance.
> 
> sean
> 

-- 
Matthias Weßendorf
Aechterhoek 18
DE-48282 Emsdetten
Germany
phone: +49-2572-9170275
cell phone: +49-179-1118979
email: matzew AT apache DOT org
url: http://www.wessendorf.net
callto://mwessendorf (Skype)
icq: 47016183

Re: Revised Webapps Proposal

Posted by Sean Schofield <se...@gmail.com>.
Matthias told me he is going to take a stab at this so I will wait and
see what he comes up with.

sean