Hi Wolfgang: Sorry I missed this until now.
We re-wrote the tutorials so they are from a Beehive distribution perspective. They now assume you are working from the alpha distribution. The older versions assumed you had the Beehive source, because, at the time, there was no distrubtion. -Steve Hanson -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 12:42 PM To: [email protected] Subject: checkin request for WSM Hi Michael, I have a checkin request for the issue (BEEHIVE-90) in Jira. The patch (svn diff) is at the bottom of this email. There're a couple of notes. 1 --------------------------------------------- - The tutorial says "ant -Dwebapp.dir=C:\beehive_projects\ws_tutorial -f ant\buildWebapp.xml deploy.wsm.webapp.runtime " but it should be as follows in the trunk directory. "ant -Dwebapp.dir=C:\beehive_projects\ws_tutorial -f test\ant\buildWebapp.xml <---- NOTICE the test directory is added !! deploy.wsm.webapp.runtime " This is caused by the difference between alpha and trunk directory structures. 2 --------------------------------------------- After installing the ws_tutorial with above, you must do the following stuff. "ant -Dwebapp.dir=C:\beehive_projects\ws_tutorial -f test/ant/buildWebapp.xml -Dcontext.path=ws_tutorial build.webapp " This is for compiling the source codes in ws_tutorial/WEB-INF/src and copy the classes to the WEB-INF/classes directory. That's it. You can enjoy ws_tutorial in trunk directory... ( anyways, how come we need tutorial in dev tree ? :) Thanks in advance. Wolfgang Index: test/ant/webappRuntimeCore.xml =================================================================== --- test/ant/webappRuntimeCore.xml (revision 76000) +++ test/ant/webappRuntimeCore.xml (working copy) @@ -23,6 +23,47 @@ </ant> </target> + <!-- params (location webapp.dir) --> + <target name="deploy.wsm.webapp.runtime" description="Deploy the Beehive/WSM webapp runtime given a webapp root as -Dwebapp.dir"> + <available property="webapp.dir.available" file="${webapp.dir}" type="dir"/> + <fail unless="webapp.dir.available" message="Can't find the webapp directory ${webapp.dir}"/> + + <!-- make sure wsm and controls have been built. controls will be built while wsm is being built. --> + <ant dir="${beehive.dir}/wsm" target="build_all"/> + + <echo>Deploy WSM to webapp rooted at: ${webapp.dir}</echo> + + <copy todir="${webapp.dir}/WEB-INF/lib"> + <fileset dir="${os.BEEHIVE_HOME}/external/xmlbeans"> + <include name="apache-xbean.jar"/> + </fileset> + <fileset dir="${os.BEEHIVE_HOME}/installed/jsr173"> + <include name="jsr173_1.0_api.jar"/> + </fileset> + <fileset dir="${os.BEEHIVE_HOME}/external/log4j"> + <include name="*.jar"/> + </fileset> + <fileset dir="${os.BEEHIVE_HOME}/external/velocity"> + <include name="*.jar"/> + </fileset> + <fileset dir="${os.BEEHIVE_HOME}/wsm/lib"> + <include name="*.jar"/> + </fileset> + <fileset dir="${os.BEEHIVE_HOME}/wsm/external"> + <include name="*.jar"/> + </fileset> + + <!-- trust the following directory structures for now --> + <fileset dir="${os.BEEHIVE_HOME}/controls/build/jars"> + <include name="controls.jar"/> + </fileset> + <fileset dir="${os.BEEHIVE_HOME}/wsm/build/jars"> + <include name="*.jar"/> + </fileset> + + </copy> + </target> + <target name="usage" description=""> <java fork="no" classname="org.apache.tools.ant.Main"> <arg line="-projecthelp"/>
