Old Interactive Build Process for Frontend UI Application
THIS IS OBSOLETE FOR PRODUCTION BUILDS AS OF 5JAN2008. --amb
1.
Wiki Markup |
---|
\[Note that pathnames are a bit dodgy after the source reorganization, so poke around a bit at the obvious if things don't work. Also, having this all run as a maven task is in the works.\] |
1. You must have an installation of the OpenLaszlo server to build the UI. See OL info page if you need more direction.
2. Checkout Check out most recent code from svn+ssh://svn.mit.edu/zest/thalia/ui/trunk/src. The resulting folder src directory should be placed in the (or just checked out in) <OL-Directory>/Server/lps-4.0.2/my-apps/ folder.
3. Make any code changes required. Once done, change Change the version number in the thalia.lzx file. Search for: <text name="version">VERSION: and , increment the number, and change the date found there.
4. Assuming that the port for the OpenLaszlo installation is : 8081, and the version of OL is 4.0.2, go to the following URL: http://127.0.0.1:8081/lps-4.0.2/my-apps/thalia/thalia.jsp; (Change port and lps-4.0.2 path as needed). This causes the OpenLaszlo server to compile the application. Note that you will only be logged in as a guest, so will not have full functionality looking at it locally - this is not a problem, the only goal here is to compile the application. You will upload to the server to fully test it.5. When you go to the above URL, the OL Server will create a file called Similarly, point a web browser at slideshow_player.lzx and contact_sheet.lzx in the same directory. This should result in dynamic compilation of the corresponding lzx files, and this directory will newly contain thalia.lzx.lzr=swf8.swf, slideshow_player.lzx.lzr=swf8.swf, and contact_sheet.lzx.lzr=swf8.swf.
5.Copy these three newly-built swf files onto thalia-dev.mit.edu (or any other Thalia environment available for testing) in in the <OL-Directory>/Server/lps/my-apps/thalia/ directory. This file needs to be ftp'd up to isda-thalia-1, into the tomcat/webapps/thalia-ime/ directory for testing.
6 . Test by going to https://ap.isda-thalia-1dev.mit.edu/ (or whatever other test site you deployed to). Once you are satisfied that the UI is working as it should, check in the new .swf file into the /zest/thalia/ime/web/ Trunk/thalia/src/main/webapp directory, and checkin check in any changed open laszlo source files into the /zest/thalia/laszlo/thalia/ directory.
7N.B. : End users need to refresh their browsers to get the updated UI.