Author: hqm
Date: 2007-11-09 06:27:32 -0800 (Fri, 09 Nov 2007)
New Revision: 7201

Modified:
   
openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/FileResolver.java
Log:
Change 20071108-hqm-a by [EMAIL PROTECTED] on 2007-11-08 22:53:54 EST
    in /cygdrive/c/users/hqm/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: fix to prevent subdirectories from shadowing lps autoincludes

New Features:

Bugs Fixed: LPP-5065

Technical Reviewer: ptw
QA Reviewer: pbr
Doc Reviewer: jsundman

Documentation:

When given a path with a leading "/", <include> will always search in the
lps components directory before searching at the subdirs of the app directly.

Release Notes:

Details:
    

Tests:

place a bogus file in a subdir of the test app, named extensions/html.lzx,
and see if using the <html> tag in the app picks up the bogus file instead of
the lps/components version



Modified: 
openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/FileResolver.java
===================================================================
--- 
openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/FileResolver.java
   2007-11-09 14:25:10 UTC (rev 7200)
+++ 
openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/FileResolver.java
   2007-11-09 14:27:32 UTC (rev 7201)
@@ -148,6 +148,7 @@
         if (pathname.startsWith("/")) {
           // Try absolute
           v.add("");
+          v.add(LPS.getComponentsDirectory());
         }
         v.add(base);
         if (SWFtoPNG) {


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

Reply via email to