Re: svn commit: r125545 - in incubator/beehive/trunk: . ant controls controls/test controls/test/common controls/test/infra/gtlf/xsl controls/test/infra/tch/runtime controls/test/perf controls/test/perf/webapps controls/test/tools/mantis controls/test/tools/milton controls/test/tools/tch controls/test/webapps docs netui netui/ant netui/src/bootstrap netui/src/compiler netui/src/pageflow netui/src/scoping netui/src/tags-databinding netui/src/tags-html netui/src/tags-template netui/src/tomcat-common netui/src/tomcat-common/5x netui/src/tomcat-server netui/src/tomcat-server/5x netui/src/tomcat-webapp netui/src/tomcat-webapp/5x netui/src/util netui/src/webapp-template/config netui/test/ant netui/test/dist-test/ant netui/test/external netui/test/src/junitTests netui/test/src/testRecorder netui/test/src/testRecorderQA netui/test/webapps/drt netui/test/webapps/drt/coreWeb/WEB-INF netui/test/webapps/drt/coreWeb/WEB-INF/src/formBean/test2 netui/test/webapps/drt/coreWeb/interOp/t! est1/Struts1 netui/test/webapps/drt/coreWeb/interOp/test2/Struts1 netui/test/webapps/drt/coreWeb/interOp/test3/Struts1 netui/test/webapps/drt/coreWeb/interOp/test4/Struts1 netui/test/webapps/drt/coreWeb/interOp/test5/Struts1 netui/test/webapps/drt/coreWeb/miniTests/tiles netui/test/webapps/drt/coreWeb/miscJpf/bug30303 netui/test/webapps/drt/coreWeb/miscJpf/bug38484 netui/test/webapps/drt/coreWeb/miscJpf/bug39028 netui/test/webapps/drt/coreWeb/miscJpf/test13 netui/test/webapps/jsf netui/test/webapps/testRecorder-test samples/controls-blank samples/controls-db test test/ant user wsm wsm/drt wsm/drt/tests/org/apache/beehive/wsm/axis/security wsm/drt/tests/org/apache/beehive/wsm/jsr181/wsdl

18 Jan 2005 21:06:57 -0000

All--

  The build work is now in.

I'm running through some tests on other machines to make sure the change didn't miss any files.

FWIW, I'm not wedded to any of these specific changes, so if there's something you're not happy with, feel free to say so and to take a stab at fixing it!

  Let me know if there are any questions / problems.

  Thanks!

Eddie


[EMAIL PROTECTED] wrote:
Author: ekoneil
Date: Tue Jan 18 13:02:36 2005
New Revision: 125545

URL: http://svn.apache.org/viewcvs?view=rev&rev=125545
Log:
Significant rework of the Beehive build.

The BUILDING.txt file has the best description of how to setup a new build 
environment.

Major changes:
- remove Ant from the build
- remove Tomcat from the build
- note, this is still required as it's the default Servlet container, but Beehive doesn't install this
- remove the BEEHIVE_HOME environment variables from the SVN and distribution builds
- remove all *.cmd / *.sh scripts for initializing an environment from the SVN and distribution builds
- remove the beehive.properties file and change to the Ant <import> model that Bob proposed. Paths and filesets are now defined at the top-level and shared among all sub-projects.
- move Ant used for testing from test/ant to /ant. This puts the webapp build files in the same place as the distribution and makes it easier to target an application against either SVN or a distribution.
- no longer force copying of junit.jar to $ANT_HOME/lib
- this is now an install step
- no longer force copying tomcat-users.xml to $CATALINA_HOME/conf
- this is now an install step
- remove isJDKOver5 checks from nested builds. this is a requirement for Beehive.
- implement Java / Ant version checking in /beehive-imports.xml
- move the definition of an XMLBean schema task from sub-projects to beehive-imports.xml
- start isolating WS / app container dependencies in:
ant/axis-imports.xml
ant/tomcat-imports.xml
These files expose <target>s that are referenced in Ant macros defined in beehive-imports.xml. To plug-in a new server, implement one of these files and change the correct "webservice.runtime" or "servlet.runtime" property in beehive-imports.xml
- switch NetUI coreWeb tests off of using explicitly registered Struts TLDs to using the ones in struts.jar
- move the targets for building a distribution into distribution.xml - update BUILDING.txt


What's broken / undone:
- running the controls performance tests
- re-wiring the builds for all of the code in samples/. The Ant build file shipped in the distribution need work before the next ship date, and these can be fixed as the distribution builds shake out.
- running the JSF tests for NetUI
- removing Axis from the samples. Seems that this should be like Tomcat -- something that the user installs and Beehive references.


I'm sure that there are other things that aren't completed or wired up, but 
hopefully with this checked in, others can pitch-in and help make all of this 
better.

If you've got an existing Beehive build environment, you'll need to make the 
following changes:

1) install Tomcat 5.0.x and set CATALINA_HOME in your shell
2) install Ant 1.6.2 and set ANT_HOME in your shell
3) copy trunk/external/junit/junit.jar to $ANT_HOME/lib
4) ensure that the following is defined in $CATALINA_HOME/conf/tomcat-users.xml
<user username="manager" password="manager" roles="manager"/>


5) ensure your PATH contains $JAVA_HOME/bin:$ANT_HOME/bin

To test your install, run:

  ant check.setup

BB: self
Tests: Beehive DRT, build.dist / test.dist / NetUI dist test

Reply via email to