Got it working now. Thanks. It looks like there is no deploy target
anymore. This is too bad since hitting the web page everytime you want
to deploy is kind of a pain...

Scott

-----Original Message-----
From: Jeremiah Johnson 
Sent: Tuesday, March 15, 2005 4:33 PM
To: Beehive Developers
Subject: RE: Proper way to build a webapp from a dist?

I believe that this is what is currently the proper way:

1. Copy build.properties and build.xml from
<BEEHIVE_HOME>/samples/netui-blank/WEB-INF/src to your WEB-INF/src
directory (where <BEEHIVE_HOME> is the root of your distribution).
2. Edit your copy of build.properties to correctly set the value of
beehive.home=<BEEHIVE_HOME> (again, where <BEEHIVE_HOME> is the root of
your distribution).  You can use beehive.home=${os.BEEHIVE_HOME} if you
have the BEEHIVE_HOME environment variable set to the root of the
distribution.
3. Edit your copy of build.xml to set the contextPath property.
4. ant build war

In the case of the Pet Store, you can find the build.xml scripts in the
WEB-INF/src there as well.  You probably won't need to update any of the
files to build the Pet Store since it is within distribution.  Note that
petstoreWeb.war is deposited at <BEEHIVE_HOME>/samples if you use 'ant
build war'.

- jeremiah

-----Original Message-----
From: Scott Semyan
Sent: Tuesday, March 15, 2005 5:21 PM
To: Beehive Developers
Subject: Proper way to build a webapp from a dist?

What is the proper way to build a web app from a distribution? I can't
find any ant scripts for the Petstore app (for example) when I generate
a distribution. I know I can use the script from the svn enlistment but
it seems a distribution should be standalone.
 
Scott Semyan



Reply via email to