Shoot!

I should have some automated way of doing 'ant dguide' before I check in.

As it is I trust my (evidently quite falible) memory.

I'll fix right now.

Sorry.

jrs

On Mar 8, 2007, at 7:15 PM, Jim Grandy wrote:

There's a hose in docs/src/dguide/deployers-guide.html. Looks like a mismatched tag:

[style] Processing /Users/jgrandyw/dev/svn/openlaszlo/branches/ legals/docs/src/dguide/deploy-preface.html to /Users/jgrandyw/dev/ svn/openlaszlo/branches/legals/docs/src/build/deploy/deploy- preface.dbk [style] Processing /Users/jgrandyw/dev/svn/openlaszlo/branches/ legals/docs/src/dguide/deployers-guide.html to /Users/jgrandyw/dev/ svn/openlaszlo/branches/legals/docs/src/build/deploy/deployers- guide.dbk [style] Users/jgrandyw/dev/svn/openlaszlo/branches/legals/docs/ src/dguide/deployers-guide.html:128:3: Fatal Error! The element type "body" must be terminated by the matching end-tag "</body>". [style] Failed to process /Users/jgrandyw/dev/svn/openlaszlo/ branches/legals/docs/src/dguide/deployers-guide.html

BUILD FAILED
/Users/jgrandyw/dev/svn/openlaszlo/branches/legals/build.xml:556: The following error occurred while executing this line: /Users/jgrandyw/dev/svn/openlaszlo/branches/legals/docs/src/ build.xml:1052: The following error occurred while executing this line: /Users/jgrandyw/dev/svn/openlaszlo/branches/legals/docs/src/ build.xml:941: Fatal error during transformation

If I had to guess, I'd say it was on line 115, where you have "&lt;pre&gt;" trying to match with "</pre>".

&lt;pre&gt;
&lt;Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443"
               compression="on"
               compressionMinSize="2048"
               noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/ javascript,application/x-javascript,application/javascript"&gt;
    &lt;/Connector&gt;
&lt;Connector acceptCount="100" disableUploadTimeout="true" port="8443" scheme="https" secure="true" sslProtocol="TLS" keystoreFile="conf/lzkeystore" keystorePass="changeit"
               compression="on"
               compressionMinSize="2048"
               noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/ javascript,application/x-javascript,application/javascript"&gt;
    &lt;/Connector&gt;
</pre>

Begin forwarded message:

From: [EMAIL PROTECTED]
Date: March 8, 2007 2:28:06 PM PST
To: [email protected]
Subject: [Laszlo-checkins] r4172 - openlaszlo/branches/legals/docs/ src/dguide
Reply-To: [email protected]

Author: jsundman
Date: 2007-03-08 14:27:57 -0800 (Thu, 08 Mar 2007)
New Revision: 4172

Modified:
   openlaszlo/branches/legals/docs/src/dguide/deployers-guide.html
   openlaszlo/branches/legals/docs/src/dguide/richtext.html
Log:
domain-specific compression info & tweak to rich text chapter

Modified: openlaszlo/branches/legals/docs/src/dguide/deployers- guide.html
===================================================================
--- openlaszlo/branches/legals/docs/src/dguide/deployers- guide.html 2007-03-08 22:04:36 UTC (rev 4171) +++ openlaszlo/branches/legals/docs/src/dguide/deployers- guide.html 2007-03-08 22:27:57 UTC (rev 4172)
@@ -92,6 +92,7 @@
this document, but deployers should note that performance of a servlet container (and underlying JVM) can have a significant impact on OpenLaszlo Server
 performance.  </p>
+<h3>Changing servlet container settings</h3>
<p>Once you have chosen and installed a servlet container, you may need to adjust some of its default configuration settings. In particular, you may need to configure the default TCP/IP port and secure (SSL/ https)
@@ -106,6 +107,25 @@
 beyond the scope of this document; see your servlet container
documentation for details. However, see below for more details on which
 parameters you may need to set.</p>
+<h4>Setting compression</h4>
+<p condition="dhtml">
+For best results, you may need to change your servelet container's compression settings, especially for DHTML applications. You can use an internet search engine using a phrase gzip followed by your server, e.g. 'gzip tomcat'. For example, here's a typical
+<code> tomcat/conf/server.xml</code>
+</p>
+&lt;pre&gt;
+ &lt;Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443"
+               compression="on"
+               compressionMinSize="2048"
+               noCompressionUserAgents="gozilla, traviata"
+ compressableMimeType="text/html,text/xml,text/ javascript,application/x-javascript,application/javascript"&gt;
+    &lt;/Connector&gt;
+ &lt;Connector acceptCount="100" disableUploadTimeout="true" port="8443" scheme="https" secure="true" sslProtocol="TLS" keystoreFile="conf/lzkeystore" keystorePass="changeit"
+               compression="on"
+               compressionMinSize="2048"
+               noCompressionUserAgents="gozilla, traviata"
+ compressableMimeType="text/html,text/xml,text/ javascript,application/x-javascript,application/javascript"&gt;
+    &lt;/Connector&gt;
+</pre>
<h3><a name="javamemconfig"></a>Setting Java memory (heap) sizes</ h3> <p>You can set the heap sizes via the <code>-Xmx</code> and <code>-Xms</code> command
 line options such</p><pre>

Modified: openlaszlo/branches/legals/docs/src/dguide/richtext.html
===================================================================
--- openlaszlo/branches/legals/docs/src/dguide/richtext.html 2007-03-08 22:04:36 UTC (rev 4171) +++ openlaszlo/branches/legals/docs/src/dguide/richtext.html 2007-03-08 22:27:57 UTC (rev 4172)
@@ -7,7 +7,7 @@
 <body>

 <!-- Put Chapter title in h1 -->
-<h1>Rich Text</h1>
+<h1 condition="swf">Rich Text</h1>


<p>OpenLaszlo provides a rich text object and capabilities for procedurally setting HTML text attributes:</p>


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins


Reply via email to