[Laszlo-checkins] r10746 - openlaszlo/trunk/WEB-INF/lps/lfc

dda@openlaszlo.org dda at openlaszlo.org
Sat Aug 23 05:52:08 PDT 2008


Author: dda
Date: 2008-08-23 05:51:59 -0700 (Sat, 23 Aug 2008)
New Revision: 10746

Modified:
   openlaszlo/trunk/WEB-INF/lps/lfc/buildlfc
   openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcbacktrace
   openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcdebug
   openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcprofile
   openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcprofiledebug
Log:
Change 20080822-dda-6 by dda at lester.local on 2008-08-22 09:43:36 EDT
    in /Users/dda/laszlo/src/svn/openlaszlo/trunk-a
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary:  Fix broken 'buildlfc*' scripts.

New Features:

Bugs Fixed: (reported by henry in email).

Technical Reviewer: hminsky (pending)
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    buildlfcdebug, buildlfcprofile, etc. are shortcuts to build
    single instances of libraries for development.  They duplicate
    some knowledge in build.xml, and unfortunately, were not brought
    up to date when SWF9 libraries were created.

Tests:
    Ran buildlfcdebug to make sure it now works.  The other scripts don't
    really apply yet, but are ready to be used with SWF9 if/when we need
    profile/backtrace versions.



Modified: openlaszlo/trunk/WEB-INF/lps/lfc/buildlfc
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/buildlfc	2008-08-23 08:30:07 UTC (rev 10745)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/buildlfc	2008-08-23 12:51:59 UTC (rev 10746)
@@ -1,6 +1,6 @@
 #! /bin/bash -f
 # * P_LZ_COPYRIGHT_BEGIN ******************************************************
-# * Copyright 2001-2006, 2008 Laszlo Systems, Inc.  All Rights Reserved.            *
+# * Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.            *
 # * Use is subject to license terms.                                          *
 # * P_LZ_COPYRIGHT_END ********************************************************
 
@@ -16,13 +16,10 @@
 if [ "$runtime" == "dhtml" ]; then
     suffix="js"
 fi
-
 if [ "$runtime" == "swf9" ]; then
     options="${options} --option buildSharedLibrary=true"
     suffix="swc"
 fi
-
-
 ant -Dlfc.output=${output:-LFC${runtime#swf}.${suffix:-"lzl"}} -Dlfc.runtime=${runtime} -Dlfc.source=LaszloLibrary.lzs \
     -Dlfc.options="${options}" lfc
 

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcbacktrace
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcbacktrace	2008-08-23 08:30:07 UTC (rev 10745)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcbacktrace	2008-08-23 12:51:59 UTC (rev 10746)
@@ -22,6 +22,11 @@
 if [ "$runtime" == "dhtml" ]; then
     suffix="js"
 fi
+if [ "$runtime" == "swf9" ]; then
+    options="${options} --option buildSharedLibrary=true"
+    suffix="swc"
+fi
+
 ant -Dlfc.output=${output:-LFC${runtime#swf}-backtrace.${suffix:-"lzl"}} -Dlfc.runtime=${runtime} -Dlfc.source=LaszloLibrary.lzs \
     -Dlfc.options="--option debugBacktrace  --option nameFunctions --option warnGlobalAssignments \"-D\\\$debug=true\" ${options}" lfc
 

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcdebug
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcdebug	2008-08-23 08:30:07 UTC (rev 10745)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcdebug	2008-08-23 12:51:59 UTC (rev 10746)
@@ -6,7 +6,7 @@
 # will conditionally compile in the debug aspects of LaszloLibrary
 
 # * P_LZ_COPYRIGHT_BEGIN ******************************************************
-# * Copyright 2001-2006 Laszlo Systems, Inc.  All Rights Reserved.            *
+# * Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.            *
 # * Use is subject to license terms.                                          *
 # * P_LZ_COPYRIGHT_END ********************************************************
 
@@ -22,6 +22,11 @@
 if [ "$runtime" == "dhtml" ]; then
     suffix="js"
 fi
+if [ "$runtime" == "swf9" ]; then
+    options="${options} --option buildSharedLibrary=true"
+    suffix="swc"
+fi
+
 ant -Dlfc.output=${output:-LFC${runtime#swf}-debug.${suffix:-"lzl"}} -Dlfc.runtime=${runtime} -Dlfc.source=LaszloLibrary.lzs \
     -Dlfc.options="--option nameFunctions --option warnGlobalAssignments \"-D\\\$debug=true\" ${options}" lfc
 

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcprofile
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcprofile	2008-08-23 08:30:07 UTC (rev 10745)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcprofile	2008-08-23 12:51:59 UTC (rev 10746)
@@ -1,7 +1,6 @@
 #! /bin/bash -f
-
 # * P_LZ_COPYRIGHT_BEGIN ******************************************************
-# * Copyright 2001-2006 Laszlo Systems, Inc.  All Rights Reserved.            *
+# * Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.            *
 # * Use is subject to license terms.                                          *
 # * P_LZ_COPYRIGHT_END ********************************************************
 
@@ -17,7 +16,10 @@
 if [ "$runtime" == "dhtml" ]; then
     suffix="js"
 fi
+if [ "$runtime" == "swf9" ]; then
+    options="${options} --option buildSharedLibrary=true"
+    suffix="swc"
+fi
 ant -Dlfc.output=${output:-LFC${runtime#swf}-profile.${suffix:-"lzl"}} -Dlfc.runtime=${runtime} -Dlfc.source=LaszloLibrary.lzs \
     -Dlfc.options="--profile ${options}" lfc
 
-

Modified: openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcprofiledebug
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcprofiledebug	2008-08-23 08:30:07 UTC (rev 10745)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/buildlfcprofiledebug	2008-08-23 12:51:59 UTC (rev 10746)
@@ -1,7 +1,7 @@
 #! /bin/bash -f
 
 # * P_LZ_COPYRIGHT_BEGIN ******************************************************
-# * Copyright 2001-2006 Laszlo Systems, Inc.  All Rights Reserved.            *
+# * Copyright 2001-2008 Laszlo Systems, Inc.  All Rights Reserved.            *
 # * Use is subject to license terms.                                          *
 # * P_LZ_COPYRIGHT_END ********************************************************
 
@@ -17,6 +17,10 @@
 if [ "$runtime" == "dhtml" ]; then
     suffix="js"
 fi
+if [ "$runtime" == "swf9" ]; then
+    options="${options} --option buildSharedLibrary=true"
+    suffix="swc"
+fi
 ant -Dlfc.output=${output:-LFC${runtime#swf}-profile-debug.${suffix:-"lzl"}} -Dlfc.runtime=${runtime} -Dlfc.source=LaszloLibrary.lzs \
     -Dlfc.options="--profile --option nameFunctions --option warnGlobalAssignments \"-D\\\$debug=true\" ${options}" lfc
 



More information about the Laszlo-checkins mailing list