From the wiki-page:
Short how-to for incremental compilation under Windows:1. open command line interpreter, for example Win+R and enter cmd 2. set FLEX_HOME environment variable: set FLEX_HOME=C:\apache-tomcat\webapps\openlaszlo-4.8.1\WEB-INF 3. change %FLEX_HOME%\bin\jvm.config file to include lps-4.8.1.jar to java classpath: java.class.path={application.home}/lib/lps-4.8.1.jar (thanks to forum user AxelP) 4. change %FLEX_HOME%\bin\jvm.config file to set LPS_HOME environment variable for java: java.args=-Xmx384m -Dsun.io.useCanonCaches=false -DLPS_HOME={application.home}/.. 5. go to the application source directory, e.g. cd C:\apache-tomcat\webapps\openlaszlo-4.8.1\my-apps 6. start fcsh with %FLEX_HOME%\bin\fcsh.exe 1. create initial compilation: lzc --runtime=swf10 app.lzx 2. edit source files and recompile application with lcompile TARGET_ID where TARGET_ID is the compile target id assigned by fcsh
On 8/12/2010 5:03 PM, Henry Minsky wrote:
Can you post the setup you needed for Windows? I'll check on a clean unix shell that doesn't have my .bashrc running. On Thu, Aug 12, 2010 at 10:08 AM, André Bargull <[email protected] <mailto:[email protected]>> wrote: There seem to be some environment variables required for incremental compilation, but this isn't covered in the release notes [1]. After downloading 4.8.1 (dev-kit release), I needed to perform a few more steps before incremental compilation worked under Windows [2]. I guess someone should try out incremental compilation on Unix-based systems, to make sure it's working there, too. This should happen in a clean environment, so without the various environment variables which are needed to build from source. [1] http://download.openlaszlo.org/4.8.1/release-notes.html [2] http://wiki.openlaszlo.org/Incremental_Compilation -- Henry Minsky Software Architect [email protected] <mailto:[email protected]>
