This folder contains scripts which can be used to perform building and administrating tasks related to cayenne-axis-server project.
Main Ant project - building web app. Depending on configuration (see further) building implies:
Data base generation. Reads db connection info from Cayenne configuration files and generates database structure (as defined in data map).
There is Winstone Web Container .jar file in lib/ folder. It is very small servlet container (350kb). It can be used for quick testing web app. "Start-web-container.xml" script will start Winstone using ../build/ dir as webroot. "Stop-web-container.xml" script will send shutdown request to the server. Also restarting web app at Winstone supported by build.xml (see "Configuration"). JSP not supported by this server without addons. So some pages may be not visible. (use Tomcat or something else if JSP's are strictly needed).
All configuration properties can be set in "*.properties.xml" files in "properties" folder:
Information related to Cayenne configuration files (data maps, db driver, cayenne.xml etc...).
Information related to local deployment of web app after building. Local deployment implies copying war archive (or dir tree) to "webapps" (or other) deployment folder of some local web server and restarting this web app at this through some control points.
Currently the easiest way to test web application is using embedded Winstone Servlet Container. In this case no deployment needed because Winstone can be started straight on "../build" dir of the project where all application files placed.
Common properties.
See property files contents for more comments.