Robert,
I am running the latest 2.1 development snapshots, but I think this also worked with the 2.1 final release as well. These are directions to build a "blank" Cocoon webapp.
In the top-level cocoon-2.1 directory create a file named "local.build.properties" and put this content in the file:
# File: local.build.properties # ---- Exclude from Webapp ---- exclude.webapp.documentation=true exclude.webapp.javadocs=true exclude.webapp.idldocs=true exclude.webapp.samples=true # ---- Build Exclusions ---- exclude.javadocs=true exclude.idldocs=true # End of file
Follow the the instructions in "INSTALL.txt": Setup the JAVA_HOME environment variable. Run the build script with no options.
The directory "cocoon-2.1/build/webapp" is now a webapp with no documentation or examples which can be dropped in Jetty, Tomcat, etc. I would not worry about the "cocoon-2.1/build/cocoon-2.1" directory.
If you want to script your customizations to the sitemap or other XML configuration files, just use Ant with the XConfTool: http://wiki.cocoondev.org/Wiki.jsp?page=XPatchTaskUsage
It works for me, let me know if you need more help, --Tim Larson
BTW: I agree that there should be a simple build target that selects these options for you to build a "blank" version of Cocoon. If you figure out a good way to do this, consider submitting a patch to the developers list or to Bugzilla.
Can you all agree on which options should define a "production build"?
Geoff
P.S. Welcome back, Robert.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
