[ http://issues.apache.org/jira/browse/BEEHIVE-195?page=history ]

Bryan Che updated BEEHIVE-195:
------------------------------

    Attachment: appserver-patch.tar.gz

>From the README:

This is a patch to make the Beehive distribution easier to use with app
servers other than Tomcat.  It keeps the default support for Tomcat and
keeps Beehive working "out of the box."  But, it also makes using other
app servers simpler for the user to configure.

It does this by doing the following:

- adds a new target, check.appserver.classpath, which verifies that the
  build classpath contains the Servlet API
- makes the build target depend upon check.appserver.classpath.  If a
  user doesn't have the Servlet API properly setup when he builds, he
  will see a helpful error message telling him to configure his app
  server classpath
- moves the appserver.build.classpath path to a separate file,
  appserverClasspath.xml.  Also, refactor setting the path so that it is
  now a refid pointing to an app-server-specific classpath.  This makes
  it easier for a user to swap in a new app server: he has to edit only
  one file which controls the app server classpath and doesn't have to
  search through other, irrelevant targets.  Also, there are build
  classpaths for both Tomcat and JOnAS in this file.


To apply this patch, apply dist-appserver.patch and add
user/appserverClasspath.xml to the trunk.  

There would still need to be documentation added somewhere explaining
the need to edit appserverClasspath.xml appropriately for a user's app
server.

> Beehive Distribution should work with app servers besides just Tomcat
> ---------------------------------------------------------------------
>
>          Key: BEEHIVE-195
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-195
>      Project: Beehive
>         Type: Improvement
>   Components: Build
>     Reporter: Bryan Che
>  Attachments: appserver-patch.tar.gz
>
> The Beehive distribution requires CATALINA_HOME to be set in order to pick up 
> servlet api jars.  It should instead be configurable to work with various app 
> servers and pick up the servlet api jars anywhere.  I will be attaching a 
> patch to support this requirement.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to