Things might not be as bad as I thought. Once I changed the artifact
names to match the current names I was able to install the jsp & servlet
examples from my local repo. I still had issues with the LDAP sample.
The next thing to try was removing the samples from my local repo to see
if it would find them elsewhere. This failed - looking into what repos
it checks now (I see in the code that we should be pulling in the
default repo as well as the ibiblio). I would have expected it to find
the samples in the default repo for the release.
I still wonder if we should single out these samples on the welcome
page. The LDAP sample is an especially strange one to highlight here.
At the very least we should remove that one even if we decide to keep
the servlet and jsp examples there.
Joe
Joe Bohn wrote:
The Geronimo welcome page (http://localhost:8080/) has long included
links under a header of Geronimo Examples.
Under this header are the following 3 links:
- Servlet Examples
- JSP Examples
- LDAP Demo
- Additional Samples
I'd like to remove the first 3 links and rename the last link to simply
"Samples" for trunk and branches/2.1 (prior to the 2.1.2 release). The
last link takes you to a page on our wiki that lists doc links for the
samples per release ... I think that is more appropriate.
The first 3 links present another html page from the local server that
contains text similar to this:
This sample has not been installed yet. If this server can connect to
the internet, click here to install and connect to the sample
application. It will take a few minutes to download and install the
sample and then load it.
Those 3 links present some problems (and currently don't work for 2.1 or
2.1.1 that have already been released).
- Clicking the install link attempts to connect to a repository and
initiate a install of the specified sample.
- The repository is not always as desired. For me it defaults to my
local maven2 repo.
- The current component IDs are incorrect. That's easy enough to change
but I suspect there would still be issues (see the next points).
- Even if it linked to the correct repo for the release, there would
still be a period of time after a server release when the samples are
not yet available in the repository.
- The LDAP demo requires some additional setup now because we no longer
include Directory in the initial server image ... hence this gives a
false impression that simply clicking on the link will make the example
functional.
Given these problem and the fact that is has been broken for several
releases. I'd like to remove the specific server example links from the
welcome page before we ship 2.1.2. Any objections?
Joe