Author: hqm
Date: 2007-10-24 13:34:48 -0700 (Wed, 24 Oct 2007)
New Revision: 6997

Modified:
   openlaszlo/trunk/lps/admin/solo-dhtml-deploy.jsp
Log:
Change 20071024-hqm-4 by [EMAIL PROTECTED] on 2007-10-24 16:21:19 EDT
    in /cygdrive/c/users/hqm/openlaszlo/trunk/lps/admin
    for http://svn.openlaszlo.org/openlaszlo/trunk/lps/admin

Summary:  make solo dhtml deployer grab all dhtml LFC files

New Features:

Bugs Fixed: LPP-NaN

Technical Reviewer: max
QA Reviewer: ptw
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    

Tests:



Modified: openlaszlo/trunk/lps/admin/solo-dhtml-deploy.jsp
===================================================================
--- openlaszlo/trunk/lps/admin/solo-dhtml-deploy.jsp    2007-10-24 20:22:31 UTC 
(rev 6996)
+++ openlaszlo/trunk/lps/admin/solo-dhtml-deploy.jsp    2007-10-24 20:34:48 UTC 
(rev 6997)
@@ -411,12 +411,14 @@
          }
 
         // Copy the DHTML LFC to lps/includes/LFC-dhtml.js
-         copyFileToZipFile(zout, basedir + "/lps/includes/lfc/LFCdhtml.js", 
"lps/includes/lfc/LFCdhtml.js", out);
-        // Copy blank.gif for IE
-         copyFileToZipFile(zout, basedir + "/lps/includes/blank.gif", 
"lps/resources/lps/includes/blank.gif", out);
-        // Copy excanvas.js for IE
-         copyFileToZipFile(zout, basedir + "/lps/includes/excanvas.js", 
"lps/resources/lps/includes/excanvas.js",out);
-         
+         ArrayList lfcfiles = new ArrayList();
+         listFiles(lfcfiles, new File(basedir + "/lps/includes/lfc"));
+         for (int i=0; i<lfcfiles.size(); i++) {
+             String fname = (String) lfcfiles.get(i);
+             if (!fname.matches(".*LFCdhtml.*.js")) { continue; }
+             String stripped = 
fname.substring(basedir.getCanonicalPath().length()+1);
+             copyFileToZipFile(zout, fname, stripped, out);
+         }
 
      // track how big the file is, check that we don't write more than some 
limit
      int contentSize = 0;


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

Reply via email to