Author: ptw
Date: 2007-08-16 12:07:05 -0700 (Thu, 16 Aug 2007)
New Revision: 6090
Added:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/buildlfcbacktrace
Modified:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/build.xml
Log:
Change 20070816-ptw-6 by [EMAIL PROTECTED] on 2007-08-16 12:33:26 EDT
in /Users/ptw/OpenLaszlo/wafflecone
for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
Summary: Support for enabling backtraces at runtime
Bugs Fixed:
LP-1417 'Allow backtracing to be invoked from the developer console' (partial)
Technical Reviewer: hminksy (pending)
QA Reviewer: max (pending)
Details:
buildlfcbacktrace, build.xml: Build LFC*-backtrace
Tests:
Henry is going to make the modifications to the compilation
manager to allow you to say ?debug=backtrace which will enable
backtrace generation in the compiler and link with the
LFC*-backtrace lfc. This will allow you to enable/disable
backtracing at runtime, rather than having to rebuild your system
each time you switch.
Modified: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/build.xml
===================================================================
--- openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/build.xml 2007-08-16
19:03:45 UTC (rev 6089)
+++ openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/build.xml 2007-08-16
19:07:05 UTC (rev 6090)
@@ -107,7 +107,7 @@
</ant>
</target>
- <!-- We want to build the cross-product of [dhtml, swf7, swf8] with [
regular, debug, profile ] -->
+ <!-- We want to build the cross-product of [dhtml, swf7, swf8] with [
regular, debug, backtrace, profile ] -->
<target name="lfcs"
depends="init">
@@ -169,6 +169,14 @@
"dhtml",
"--option nameFunctions --option warnGlobalAssignments
'-D$debug=true'");
}
+ var backtrace = LFCdir + "LFCdhtml-backtrace.js";
+ if (!(new File(backtrace)).exists()) {
+ // TODO: [2006-06-07 ptw] (LPP-2034) When the LFC is 'clean' of
+ // warnings, the options can be changed to simply -g3
+ dobuild(backtrace,
+ "dhtml",
+ "--option debugBacktrace --option nameFunctions --option
warnGlobalAssignments '-D$debug=true'");
+ }
}
if (buildProfile) {
var profile = LFCdir + "LFCdhtml-profile.js";
Added: openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/buildlfcbacktrace
Property changes on:
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/buildlfcbacktrace
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ text/plain
Name: svn:eol-style
+ native
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins