Return-Path: Delivered-To: apmail-incubator-beehive-user-archive@www.apache.org Received: (qmail 41381 invoked from network); 6 Aug 2004 03:44:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 6 Aug 2004 03:44:05 -0000 Received: (qmail 27672 invoked by uid 500); 6 Aug 2004 03:44:04 -0000 Delivered-To: apmail-incubator-beehive-user-archive@incubator.apache.org Received: (qmail 27639 invoked by uid 500); 6 Aug 2004 03:44:03 -0000 Mailing-List: contact beehive-user-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: list-id: beehive-user.incubator.apache.org Reply-To: "Beehive Users" Delivered-To: mailing list beehive-user@incubator.apache.org Received: (qmail 27626 invoked by uid 99); 6 Aug 2004 03:44:03 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [63.96.162.5] (HELO ussjmh01.bea.com) (63.96.162.5) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 05 Aug 2004 20:43:56 -0700 Received: from ussjfe01.amer.bea.com (ussjfe01b.bea.com [172.16.120.57]) by ussjmh01.bea.com (Switch-3.0.5/Switch-3.0.0) with ESMTP id i763huRV021462 for ; Thu, 5 Aug 2004 20:43:56 -0700 Received: from USBOEX01.amer.bea.com ([10.36.32.15]) by ussjfe01.amer.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 5 Aug 2004 20:43:55 -0700 Received: from [10.61.4.108] ([10.61.4.108]) by USBOEX01.amer.bea.com with Microsoft SMTPSVC(5.0.2195.6713); Thu, 5 Aug 2004 21:43:55 -0600 Message-ID: <4112FE76.7040903@bea.com> Date: Thu, 05 Aug 2004 21:43:50 -0600 From: "Eddie O'Neil" User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Beehive Users Subject: Re: error on apt compilation References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Aug 2004 03:43:55.0310 (UTC) FILETIME=[99111CE0:01C47B67] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Alex and Carl-- The intention is that the build file in $BEEHIVE_HOME/test/ant/buildWebapp.xml is included as part of the Beehive distribution and is used to compile a Beehive webapp. It should just require the location of a Beehive distribution (not dev build) and a Beehive enabled webapp in order to build a webapp. In general, the file is pretty close and with a bit of refactoring can be most of the way there. The motivation to do this is that if we're using the same build file for the dev build and user distribution, the latter is guaranteed to always be in sync with the actual Beehive webapp build process. Alex, to answer your question, there isn't any specific documentation on the Beehive webapp build process right now other than that in the build file itself; it will eventually be on the wiki. Assuming you've got a webapp with the Beehive runtime, the steps are to basically build XSDs into XMLBeans, build Java files in WEB-INF/src, compile Controls and JPFs, and copy XML and other resources to WEB-INF/classes. Once that's done, the webapp is built and can be deployed on Tomcat using the Tomcat Ant tasks, the manager UI, etc. Hope that helps. Eddie Alexander Smirnoff wrote: >Thanks Eddie, > >Interesting article, somehow I missed that one. > >WSW 8.1 hides many actions when deploying web application. What >puzzles me in Beehive is exactly it: what needed to be done during >building/deployment process of application? > >Is there any Beehive doc on this process, except of scattered ant >build files? It would be great for me and any other folks on >Pollinate project thoroughly investigate this issue and for >beginning have a sort of short description of runtime and involved >ant tasks in build/deploy. > >Thanks, >Alex. > > > >>-----Original Message----- >>From: Eddie O'Neil [mailto:ekoneil@bea.com] >>Sent: August 5, 2004 10:42 AM >>To: Beehive Users >>Subject: Re: error on apt compilation >> >> >>Alex-- >> >> No, you don't need Global.app, though if you have it, it >>must be in: >> >> WEB-INF/src/global/Global.app >> >>It's a top-level controller file (sort of like a Page Flow) >>that is used >>to have global actions and to manage state for the duration >>of a user >>session. >> >>An article covering Global.app is here: >> >> >>http://dev2dev.bea.com/products/wlworkshop81/articles/pg_flows.jsp >> >>Keep in mind that this covered the Workshop 8.1.x version >>of Global.app, >>which used Javadoc based metadata. The Beehive Global.app >>uses JDK 1.5 >>metadata instead. Other than that, the functionality provided by >>Beehive's Global.app is basically the same. >> >> Hope that helps. >> >>Eddie >> >> >> >>Alexander Smirnoff wrote: >> >> >> >>>BTW, Do I need Global.app to run this test? What it for anyway? >>> >>> >>> >>> >>> >>>>-----Original Message----- >>>>From: Alexander Smirnoff [mailto:asmirnoff@vistar.ca] >>>>Sent: August 5, 2004 10:03 AM >>>>To: Beehive Users >>>>Subject: RE: error on apt compilation >>>> >>>> >>>>The environment is Eclipse (3.1 integration). But the compilation >>>>is made by normal ant process. I've even tried it without Eclipse >>>>in command line - the same result. >>>> >>>>I tried to reproduce almost the same ant project as found in >>>>test\ant\buildWebapp.xml, but I have feeling that I missed >>>>something... At least [apt] task is identical... >>>> >>>>Alex. >>>> >>>> >>>> >>>> >>>> >>>>>-----Original Message----- >>>>>From: Sebastian Gozin [mailto:some@gamepoint.net] >>>>>Sent: August 5, 2004 9:56 AM >>>>>To: Beehive Users >>>>>Subject: Re: error on apt compilation >>>>> >>>>> >>>>>Could you tell us a bit more about this environment? Like >>>>>what IDE are >>>>>you using to edit source? >>>>>I find it strange to read the following >>>>> >>>>> [apt] __input:29: The package must be >>>>>"WEB-INF.tmp.miniTests.buttonSubmit" >>>>> >>>>>Makes me think a bit of netbeans changing the package >>>>>statements if you >>>>>opened the source file from the wrong filesystem. >>>>> >>>>>Sebastian >>>>> >>>>> >>>>>.Alexander Smirnoff wrote: >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>>Hi, >>>>>> >>>>>>I'm trying to compile one of the simple tests from DRT in my own >>>>>>environment. Why am I getting this error? >>>>>> >>>>>> [apt] warning on annotation value "Begin.jsp": File >>>>>> >>>>>> >>>>>> >>>>>> >>>>>"Begin.jsp" could >>>>> >>>>> >>>>> >>>>> >>>>>>not be found in the web application. >>>>>> [apt] warning on annotation value "Begin.jsp": File >>>>>> >>>>>> >>>>>> >>>>>> >>>>>"Begin.jsp" could >>>>> >>>>> >>>>> >>>>> >>>>>>not be found in the web application. >>>>>> [apt] warning on annotation value "Begin.jsp": File >>>>>> >>>>>> >>>>>> >>>>>> >>>>>"Begin.jsp" could >>>>> >>>>> >>>>> >>>>> >>>>>>not be found in the web application. >>>>>> [apt] __input:29: The package must be >>>>>>"WEB-INF.tmp.miniTests.buttonSubmit". >>>>>> [apt] (source unavailable) >>>>>> [apt] 1 error >>>>>> >>>>>>it looks like apt tries to compile from tmp directory, but >>>>>> >>>>>> >>>>>> >>>>>> >>>>>cannot resolve >>>>> >>>>> >>>>> >>>>> >>>>>>the package. Here is by built.xml: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>>> >>>>>> >>>>>> >>>>>location="${web.dir}/WEB-INF/classes" /> >>>>> >>>>> >>>>> >>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>>> >>>>>> >>>>>> >>>>includeEmptyDirs="true"/> >>>> >>>> >>>> >>>> >>>>>> >>>>>destdir="${web.dir}/WEB-INF/classes" >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>classpathref="webapp.build.classpath"/> >>>>> >>>>> >>>>> >>>>> >>>>>> >>>>>classname="org.apache.beehive.controls.runtime.generator >>>>>> >>>>>> >>.AptTask" >> >> >>>>>>classpath="${lib.beehive}/controls.jar;${lib.beehive}/beehi >>>>>> >>>>>> >>>>>> >>>>>> >>>>>ve-netui-compiler >>>>> >>>>> >>>>> >>>>> >>>>>>.jar" onerror="report"/> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>>> >>>>>> >>>>>> >>>>>file="${lib.beehive}/beehive-netui-compiler.jar"/> >>>>> >>>>> >>>>> >>>>> >>>>>> >>>>>> >>>>>> >>>>>destdir="${web.dir}/WEB-INF/classes" >>>>>> gendir="${tmp.dir}" >>>>>> classpathref="pageflow.build.classpath" >>>>>>srcExtensions="*.app,*.jpf"> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>Thanks, >>>>>> >>>>>>Alex. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >>> >>> >>> > > > > >