Thanks Cocoon developers for thinking thru and working this out. It is much appreciated.
-- Roger ----- Original Message ----- From: "Timothy Larson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 28, 2003 11:06 AM Subject: Re: [Proposal] Simple "production build" directions > --- Geoff Howard <[EMAIL PROTECTED]> wrote: > > It will be easy to add a new build target "production-seed" (or > > something to that effect) which would set those values and perform other > > steps as needed. This would change the instructions to 1) edit blocks > > properties 2) ./build.sh production-seed. Would that be better in your > > mind, or is a sample properties better? I can see positives with both > > solutions. > > I lean toward a example properties file, because that introduces the > customization system that Cocoon uses. I updated to proposed text to > refer to the "production.build.properties" as an example file: > > To make a production build without the documentation, samples, scratchpad, > or deprecated code simply copy the example "production.build.properties" > file to "local.build.properties" before going on to step 3. > See below if you are rebuilding or wish to further customize the build. > > > The key is not how to accomplish it (because the pieces are already in > > place in the build to do either), but _what_ to accomplish. > > The example "production build" does not have to be perfect for everybody, > just reasonable and relatively secure. We already have the customization > instructions for making it perfect. > > > Also, are there other config issues can be agreed on for this > > target/recommended setting? Logging level? Allow/Deny uploads? > > The default log level is already INFO, which is a reasonable default. > A default setting of Deny uploads is the most secure. > > Perhaps we should add these two settings to the example production > build properties file, since they are among the most likely to be > customized: > > # ---- Configuration ---- > #config.enable-uploads=true > # ---- Webapp Build Properties ---- > build.webapp.loglevel=INFO > > --Tim Larson > > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com
